Skip to main content

whm whole server backups

Comments

14 comments

  • cPanelMichael
    Hello :) I suggest using only the new backup system and disabling the legacy backup system unless you have some particular reason to use legacy backups. As far as your firewall, check to ensure the passive FTP port range is allowed if you are using FTP to transfer backups to a remote destination. Thank you.
    0
  • crshep
    [quote="cPanelMichael, post: 1708671">Hello :) I suggest using only the new backup system and disabling the legacy backup system unless you have some particular reason to use legacy backups. As far as your firewall, check to ensure the passive FTP port range is allowed if you are using FTP to transfer backups to a remote destination. Thank you.
    Ok so I should have backup on and legacy off? How would I do this for all account or do I need to do this for each account becasue it looks like legacy is default setting. oh I was able to turn on the firewall of the receiving VPS to get the backups but the sending vps the firewall has to be off to send for some reason now. And yes passive FTP is enabled. Sorry I do not understand "passive FTP port range" where would I find this? And thanks for the reply
    0
  • cPanelMichael
    You can select which users are backed up via: "WHM Home " Backup " Backup User Selection" You can disable legacy backups via: "WHM Home " Backup " Legacy Backup Configuration" Thank you.
    0
  • crshep
    Ok I did like you said --------------- You can select which users are backed up via: "WHM Home " Backup " Backup User Selection" You can disable legacy backups via: "WHM Home " Backup " Legacy Backup Configuration" ---------------------------------------------- Then I ran /scripts/cpbackup --force and it failed see below root@server1 [~]# /scripts/cpbackup --force [cpbackup] Backup Not Enabled (This can be adjusted in WHM => Backup => Legacy B ackup Configuration) root@server1 [~]# Thanks
    0
  • cPanelMichael
    You ran the wrong command to force a generation of backups. The command for the new backup system is: /usr/local/cpanel/bin/backup --force
    Thank you.
    0
  • crshep
    [quote="cPanelMichael, post: 1709391">You ran the wrong command to force a generation of backups. The command for the new backup system is: /usr/local/cpanel/bin/backup --force
    Thank you.
    Oh ok thanks I did a search and everything still showed /scripts/cpbackup --force anyway thanks and now what is the command to kill (or stop the backups) in SSH. Thanks
    0
  • crshep
    ok now to add to my last post when I click on Backup Restoration in WHM I see no files so how would I see the files and be able to pick which one I need to restore or even how to click all and restore all if need be?
    0
  • cPanelMichael
    Please see the following document on restoring backups from remote destinations if your backups are not stored locally: Remote Restoration Thank you.
    0
  • crshep
    thanks if this starts backup /usr/local/cpanel/bin/backup --force What stops it? Thanks
    0
  • cPanelMichael
    The backup process continues until all accounts have been backed up. You should allow the process to end on it's own, but if you do need to stop the process, you must kill the process ID using the "kill" command. Thank you.
    0
  • crshep
    so like this /usr/local/cpanel/bin/backup --kill
    0
  • cPanelMichael
    No, you would have to use a command such as "ps auxf" to find the process ID of /usr/local/cpanel/bin/backup and then kill that process and any of it's sub-processes with a command such as: kill -9 12345
    May I ask why you need to stop the process? Thank you.
    0
  • crshep
    Thanks just in case server loads get high during backup or if I'm testing the backup and want to start and stop and restart.
    0
  • cPanelPeter cPanel Staff
    Hello, Backups should automatically halt if the server load gets too high. You'll then see lines similar to this in your /usr/local/cpanel/logs/cpbackup/xxxxxxxx.log file. Waiting for load to go down When the load drops again the backup should then continue.
    0

Please sign in to leave a comment.