Hi,
I am trying to write my own load sensitive backup script to basically replace the WHM one - which is great but I need to change the time of backups and spread them over a longer time period to reduce server load.
So - I have found that I can manually package a users account using pkgacct - this creates a cpmove-<username>.tar.gz file in home directory. Then I've found I can use restorepkg to restore it again. But I would also like to be able to use the Backup Restore section in WHM, but it fails. If I move the cpmove file to the /backup/cpbackup/daily/ directory and rename it <username>.tar.gz - if I then go to the WHM restore daily backup I get:
Extracting tarball...................
Done
Extracting Domain....Done
Sorry, the copy failed. Unable to find the cpanel user file
Account Restore Failed...
I've tried this method with 2 accounts but both give the same error - does anyone know why or how to fix this?
Thanks



LinkBack URL
About LinkBacks
Reply With Quote





