How to Generate-Split-Transfer-Restore a Backup
From ReduxWiki
Contents |
[edit] cPanel
cPanel => Backups
The Generate a Full Backup feature will create an archive of all your accounts data (files) and configurations of your website to keep a local copy for safe keeping.
Restoration of these backups will require root access of a server making use of cPanel.
[edit] Home Directory
Selecting Generate Backup with default settings in place Home Directory will do exactly that. The full (complete) cPanel account backup will then reside within your home directory (/home/username/)
[edit] Remote Location (FTP)
[edit] Command Line
Generating a Backup (cPanel)
/scripts/pkgacct username
Split for Transfer (optional)
split -b1024M cpmove-user.tar.gz cpmove-username.tar.gz.
Re-join Split Files
cat file01 file02 file03 cpmove-username.tar.gz
[edit] Transferring your Backups
Locally
mv cpmove-user.tar.gz /home/directory/
Remote location
scp cpmove-user.tar.gz user@host.com:/home/username/
Remotely (multiple files)
scp cpmove-* user@host.com:/home/username/
[edit] Restoration
backup/cpmove (backups) will need to be located within the /home/ directory for restoration.
/scripts/restorepkg username



