Skip to main content

legacy backups restore on new vps

Comments

6 comments

  • 24x7server
    Hello, Yes, You can restore your all these backups through WHH. Login your new VPS and enable your legacy backup. Once you enable it you can restore your all backup through WHM >> Backup >> Legacy Restore Multiple Backups Also you can restore your backup through command line using "/scripts/restorepkg /backup/cpbackup/daily/FILE-NAME.tar.gz" command.
    0
  • enxdtw
    Hello, Yes, You can restore your all these backups through WHH. Login your new VPS and enable your legacy backup. Once you enable it you can restore your all backup through WHM >> Backup >> Legacy Restore Multiple Backups Also you can restore your backup through command line using "/scripts/restorepkg /backup/cpbackup/daily/FILE-NAME.tar.gz" command.

    The thing is that there is no single FILE-NAME.tar.gz in the directory backup/cpbackup/daily, there are compressed files for all the individual accounts and also a dir and file directory. Can you explain how this technique would work? I am hoping that the 'Legacy Restore Multiple Backups' is able to find and use the /backup/cpbackup/daily directory. So my plan is to ftp the /backup directory to the new VPS and then perform the backup using the Legacy Restore Multiple Backups technique. However I would like an alternative in the case that whm is unable to find the backup or complains about restoring from it. Cheers Dacve
    0
  • 24x7server
    Hello :), Using for loop in your command you can restore your all backup files.You can save a list of full paths of each backup in a text file. For example at "/root/list_of_backups.txt" and then try with below command
    for i in `cat /root/list_of_backups.txt`; do echo /scripts/restorepkg $i; done;
    0
  • cPanelMichael
    Hello :) Yes, you could restore the backups through a command like the one in the previous response if you prefer to not use Web Host Manager. Thank you
    0
  • enxdtw
    it seems that the whm backup process does not restore certain linux system files, for instance the sudoers file was reset, is this correct?
    0
  • cPanelMichael
    New it seems that the whm backup process does not restore certain linux system files, for instance the sudoers file was reset, is this correct?

    The backups generated through the options in "WHM >> Backup Configuration" are designed to restore the accounts. Only certain system files are backed up, and those are only restored manually:
    0

Please sign in to leave a comment.