accounts not included in backups
Hi, i've been using the new backup system.
Today I discovered that the accounts are not being backed up.
/backups/cpbackup/weekly and /backups/cpbackup/monthly both contain backups of everything from June which I surmise is when I switched over the new backup system. however the newer backups such as /backup/2013-11-03 contain the following
/backups/2013-11-03/accounts is empty /backups/2013-11-03/system is populated with /dirs and /files but neither of them contains the account files.
root@vps [/backup]# ls -la
total 32
drwx--x--x 8 root root 4096 Nov 3 02:07 ./
drwxr-xr-x 24 root root 4096 Oct 30 01:44 ../
drwx--x--x 4 root root 4096 Oct 6 02:00 2013-10-06/
drwx--x--x 4 root root 4096 Oct 13 02:00 2013-10-13/
drwx--x--x 4 root root 4096 Oct 20 02:00 2013-10-20/
drwx--x--x 4 root root 4096 Oct 27 02:00 2013-10-27/
drwx--x--x 4 root root 4096 Nov 3 02:00 2013-11-03/
drwx--x--x 4 root root 4096 Jan 21 2013 cpbackup//backups/cpbackup/weekly and /backups/cpbackup/monthly both contain backups of everything from June which I surmise is when I switched over the new backup system. however the newer backups such as /backup/2013-11-03 contain the following
root@vps [/backup]# ls -la 2013-11-03/
total 16
drwx--x--x 4 root root 4096 Nov 3 02:00 ./
drwx--x--x 8 root root 4096 Nov 3 02:07 ../
drwx--x--x 2 root root 4096 Nov 3 02:07 accounts/
drwx--x--x 4 root root 4096 Nov 3 02:00 system//backups/2013-11-03/accounts is empty /backups/2013-11-03/system is populated with /dirs and /files but neither of them contains the account files.
-
Wait a minute. I just reviewed the settings in WHM>Backup. I'd never checked the "Select Users" button. I see all accounts were set to Legacy ON - Backups OFF. Is that the problem? If so that's very misleading, I would think that choosing Backup Enable would enable them all unless you specifically wanted it otherwise. 0 -
Make sure you have checked Backup Accounts in WHM Main >> Backup >> Backup Configuration And in Select users page, you have enabled backups for all users. [COLOR="silver">- - - Updated - - - After saving configuration run following command in SSH to run backup /usr/local/cpanel/bin/backup --force
After backup is completed you can see log in/usr/local/cpanel/logs/cpbackup0 -
Thanks for that answer. I ran the backup and it all got backed up now. I must say that the WHM interface is not very straightforward in this instance. I mean why would one have selected the new backup system, but have the users on legacy. I suppose you could be using both, but at least a note or warning would help here. 0 -
Hello :) The new backup system (/usr/local/cpanel/bin/backup) behaves differently than the previous one (/scripts/cpbackup) due to the availability of two backup systems. The new backup system does not backup any accounts by default. Instead, administrators have to explicitly enable accounts for backup. This is to avoid cases where both backup systems are enabled at the same time. Thank you. 0 -
I found this helpful, but agree there should be a notice about this within the Backups > Backup Configuration screen to make things clearer. 0 -
I found this helpful, but agree there should be a notice about this within the Backups > Backup Configuration screen to make things clearer.
Feel free to open a feature request for this via: Submit A Feature Request Thank you.0
Please sign in to leave a comment.
Comments
6 comments