manual backup of one cPanel account from command line
I'm trying to find a way to backup a single cpanel account using the new backup system.
"/scripts/pkgacct" - creates the compressed file I need but just puts it in the local /home folder. I need to to export to my webdav additional location as defined in the backup configuration.
I found a command to force a backup of all accounts using the new backup system:
/usr/local/cpanel/bin/backup --force
But how do I force a backup of just one account using the new backup system?
-
Hello, You would have to manually copy the archived backup file to the remote destination after backing it up through "/scripts/pkgacct", or you would have to temporarily exclude all users except for the one you want copied before running the "/usr/local/cpanel/bin/backup --force". You can do this via: "WHM >> Backup >> Backup User Selection" Thank you. 0
Please sign in to leave a comment.
Comments
1 comment