How to Generate, Split, and Restore Backups

From ReduxWiki

Jump to: navigation, search

Image:Warning-small.png

  • Root Access to a cPanel Server Required!
  • Splitting and Rejoining the backup is optional.


Contents

Generate a Backup

/scripts/pkgacct username


Split the Backup

split -b1024M backup_etc_etc.tar.gz cpmove-username.tar.gz.

Image:Warning-small.png The . at the end of the filename is important.

Transfer the Split Backups

scp username* user@host.tld:/home


Rejoin the Split Backups

cat file01 file02 file03 cpmove-username.tar.gz


Restore Backup

/scripts/restorepkg <username>

NOTE: The backup/cpmove file must be located within the /home directory.


Image:Tip.png Back to How To Documents
Personal tools