Manually initiate backup with Amazon S3
Good day,
I installed the CURRENT release 11.42 which has the Amazon S3 destination feature for backups.
How can I manually initiate a backup to /backups and also to Amazon S3 instead of waiting?
I just want to test it to ensure it works to have peace of mind.
Thank you for your assistance.
-
I believe this command would force backups to run: /usr/local/cpanel/bin/backup --force0 -
[quote="Infopro, post: 1585872">I believe this command would force backups to run: /usr/local/cpanel/bin/backup --force
Thanks, I'll try it out. Is this for the new backup system or the legacy backup system? All commands I found in the documentation and online keep telling me that the legacy backup system is disabled. That's the idea... I want to use the new backup system with Amazon S3 destination in version 11.420 -
Yes, you can force a generation of backups with the new backup system via: /usr/local/cpanel/bin/backup --force The legacy backup system uses: /usr/local/cpanel/scripts/cpbackup Thank you. 0 -
[quote="cPanelMichael, post: 1587211">Yes, you can force a generation of backups with the new backup system via: /usr/local/cpanel/bin/backup --force The legacy backup system uses: /usr/local/cpanel/scripts/cpbackup Thank you.
Excellent, thank you very much! This was very useful and I'm sure that others will find it useful too.0 -
[quote="cPanelMichael, post: 1587211">Yes, you can force a generation of backups with the new backup system via: /usr/local/cpanel/bin/backup --force The legacy backup system uses: /usr/local/cpanel/scripts/cpbackup Thank you.
When I did this, I received the following error in the log file:/bin/gtar: /var/cpanel: file changed as we read it [backup] Failed to perform full backup of /var/cpanel/ to /backup/2014-11-10/system/dirs/_var_cpanel.tar.gz
Is this only because it was a forced backup? Will a regularly scheduled backup work?0 -
It failed due to the following message: [QUOTE]/bin/gtar: /var/cpanel: file changed as we read it
The /var/cpanel directory or it's contents changed as it was read. It's likely a rare occurrence for that to happen, but monitor your backup logs in /usr/local/cpanel/logs/cpbackup to see if it continues to occur. Thank you.0
Please sign in to leave a comment.
Comments
6 comments