Enhance help for /scripts/restorepkg for restoring incremental backups
Completed
Currently information is not documented for restoring an incremental backup in the /scripts/restorepkg script.
I found I can rename the incremental backup folder to cpmove-$user and restore it from the full path, ie /scripts/restorepkg /backup/cpbackup/daily/cpmove-$user , however this isn't documented at all.
More options for restorepkg would be nice, like option to overwrite mysql databases or not. --force may do this but that isn't documented well either.
In 11.44 and later restorepkg allows you to specify the path to in incremental backup without having to rename the directory:
/usr/local/cpanel/bin/restorepkg [--force] [--newuser <username>] [--allow_reseller] [--skipaccount] [--ip=(y|n|custom IP)] -- [cpuser|/path/to/cpuser-file|/path/to/extracted-cpuser-file|/path/to/incremental_backup]
In 11.44 and later restorepkg allows you to specify the path to in incremental backup without having to rename the directory:
/usr/local/cpanel/bin/restorepkg [--force] [--newuser <username>] [--allow_reseller] [--skipaccount] [--ip=(y|n|custom IP)] -- [cpuser|/path/to/cpuser-file|/path/to/extracted-cpuser-file|/path/to/incremental_backup]
It would be nice if you didn't have to rename the folder, and also nice if pkgacct could backup in incremental format.
It would be nice if you didn't have to rename the folder, and also nice if pkgacct could backup in incremental format.
In 11.44 and later restorepkg allows you to specify the path to in incremental backup without having to rename the directory:
/usr/local/cpanel/bin/restorepkg [--force] [--newuser <username>] [--allow_reseller] [--skipaccount] [--ip=(y|n|custom IP)] -- [cpuser|/path/to/cpuser-file|/path/to/extracted-cpuser-file|/path/to/incremental_backup]
In 11.44 and later restorepkg allows you to specify the path to in incremental backup without having to rename the directory:
/usr/local/cpanel/bin/restorepkg [--force] [--newuser <username>] [--allow_reseller] [--skipaccount] [--ip=(y|n|custom IP)] -- [cpuser|/path/to/cpuser-file|/path/to/extracted-cpuser-file|/path/to/incremental_backup]
Replies have been locked on this page!