How to restore Incremental backup over cPanel Machine


I know that many of you who running Servers in Hosting Buss, and using Linux OS and get caused a High Load when you going to run restore backup for an user who got over 500 Mb backup file or maybe 4 GB make the server CPU Load get high till is touch the sky

anyway i got an quick and very easy tutorial for restoring an backup with Limit CPU Load '4.0' you can change the value of 4.0 for Max CPU Load for lesser or higher depend on your server hardware

Most of you got the Incremental backup located at '/backup' so if you are not the one of those please modify the value of '/backup' path to the correct path

Step 1) Taring the backup folder

/usr/local/cpanel/bin/cpuwatch 4.0 tar -czf /home/user.tar.gz /backup/cpbackup/daily/user

Step 2) Restoring the backup

/usr/local/cpanel/bin/cpuwatch 4.0 /scripts/restorepkg user

** Modify 'user' to your correct user value
** This command run on Machines only who run WHM/cPanel

Tutorial Created By Ashraf Kaabi

hope it is helpful

  • 6 Users Found This Useful
Was this answer helpful?