Skip to main content

Switch to rsync backup

Comments

5 comments

  • cPanelMichael
    Hello @iddqd_x,
    . Is it safe to switch from "Compressed Backup Type" to "Incremental Backup Type"? Simply disable FTP destination, enable and validate new rsync destination with the same path on remote host?

    Yes, this is an acceptable action.
    . We already have the following structure. Wouldn't that be a problem? rsync will overwrite (and delete old) directories and files?

    The existing backup directories should not prevent the transfer of new backups to the remote destination. However, you can manually remove the older directories stemming from the previous FTP destination type once you've confirmed new backups are successfully generated and transported through the Rsync destination type.
    Sometimes the following error messages comes up: Unable to send "/backup/2018-05-23/accounts/user.tar.gz" to destination "1.2.3.4" Unable to send "/backup/2018-05-23/accounts/.master.meta" to destination "1.2.3.4"

    While this may no longer matter since you are removing the FTP destination, note the log file to check when this happens is /usr/local/cpanel/logs/cpbackup_transporter.log. Thank you.
    0
  • iddqd_x
    Thanks for reply Michael! Seems everything is clear. I know there's command for manual backup /usr/local/cpanel/bin/backup --force Is it possible to run specific backup type manually? I mean if I have both types enabled (FTP and rsync) can I run rsync backup type with some additional command line key?
    0
  • cPanelMichael
    I know there's command for manual backup /usr/local/cpanel/bin/backup --force Is it possible to run specific backup type manually? I mean if I have both types enabled (FTP and rsync) can I run rsync backup type with some additional command line key?

    Hello, It's not possible to do that. You'd have to manually disable one of the backup destinations using WHM >> Backup Configuration before forcing the backup generation, and then enable it again after the backup process completes. Thank you.
    0
  • iddqd_x
    I didn't find how to mark topic as [solved] Thanks for help.
    0
  • cPanelMichael
    Hello, You're very welcome. I've marked this thread as solved.
    0

Please sign in to leave a comment.