Skip to main content

Backup to remote sftp

Comments

7 comments

  • User Avatar
    keat63
    You could try to uncheck 'Retain Backups in the Default Backup Directory ' Retain backups in the default local backup directory, even after the system transfers the backups to another destination. If you disable this option, the system will delete the backups after they move to another destination.
    0
  • User Avatar
    cPanelLauren
    @keat63 is correct, you would just want to uncheck the local retention - this is discussed in the documentation as well here: Backup Configuration | cPanel & WHM Documentation
    0
  • User Avatar
    chaosm
    Thanks for your reply. 2 more questions please. How could i delete manually old backup files from the server and how could i see the log that transferred ok? Thanks for all.
    0
  • User Avatar
    keat63
    In the WHM backup config, take a look at Backup Staging Directory You must enter an absolute path. The backup staging directory temporarily stores a remote backup"s files and directories during a backup restoration. The directory empties once the system restores the backup. The via SFT connect to this folder and delete from within.
    0
  • User Avatar
    chaosm
    Thanks for your reply. At my remote disk, i get the backups. but also i see inside a file which called "backup_incomplete". Entering on it i see only the date of the backup "2020-10-11" . Is this a problem?
    0
  • User Avatar
    keat63
    I've never seen that myself, but I'd guess it's possibly a failed backup from the weekend. If you are confident that your most recent backups worked, then personally i'd be inclined not to worry about it.
    0
  • User Avatar
    kodeslogic
    There could be a number of reasons backup being flagged as "backup_incomplete ". One simple example of this is exporting of a MySQL database was failed during the backup process. You can know the exact reason by checking the cpanel backup log files found at /usr/local/cpanel/logs/cpbackup
    of that particular date.
    0

Please sign in to leave a comment.