Skip to main content

Backups, include custom directory doesn't work

Comments

3 comments

  • cPanelMichael
    Hello :) I've been unable to reproduce the issue you have reported. Here are the steps I took: 1. Created the "/etc/csf" directory and created a few test files within this directory:
    [/]# ls /etc/csf ./ ../ 123 456 789
    2. Created a file in the "/var/cpanel/backups/extras/" directory:
    touch /var/cpanel/backups/extras/etc
    3. Edited this file and added a line for the "/etc/csf" directory:
    # cat /var/cpanel/backups/extras/etc /etc/csf
    4. Browsed to "WHM >> Backup Configuration" and ensured "Backup System Files" was enabled. 5. Forced a local backup generation via "/usr/local/cpanel/bin/backup --force" and browsed to the following directory:
    /backup/$date/system/dir/
    6. Extracted the /backup/$date/system/dir/_etc_csf.tar.gz archive and confirmed the individual files referenced in step one were included. Are you following these same steps? Thank you.
    0
  • ITGabs
    Hi, Checking the files today in system/dirs noticed that _etc_csf and _etc_csf_ were there and other tests also. well now it's working, i am not sure if i did something wrong or if is something related to --force with the incremental option on. Also the backups logs looks clean, not sure if this have something related to the problem nfo [backup] Setting I/O priority to reduce system load: best-effort: prio 6 lstat() on filehandle $_[...] at /usr/local/cpanel/Cpanel/Autodie.pm line 414. Thanks
    0
  • cPanelMichael
    I am happy to see the issue is now resolved. Note the use of the "--force" flag or incremental backups should not affect the behavior of system backup file generation. Thank you.
    0

Please sign in to leave a comment.