Two weeks ago I realized that Legacy Backup does not work any more. I used a special configuration where I fetched the backup on a remote server via rsync from my CPanel server. I heard from attacks where attackers deleted the remote backups first, so I thought it's better if the Cpanel server has no access to the backup server - just the other way around.
With the new backup system I first used incremental backup. But I had two issues:
So yesterday I switched to uncompressed backup. But today I realized that uncompressed backup creates a .tar per account. Which is not ideal for remote rsync backup. With legacy backup my remote rsync transfer lasted for about 20 to 30 minutes. Last night with the .tar files it lasted almost two hours.
Do you have any suggestions for my problem:
Hint: The local backups are stored on a second pair of hard drives with more than enough space (1.2 TB available). On the remote backup site I have a retention logic with multiple daily, weekly and monthly backups.
With the new backup system I first used incremental backup. But I had two issues:
- The backups varied in size (on some days e.g. 40 instead of 44 GB). When I looked some user accounts where missing on these days. Yesterday was very strange - only one account was in the backup directory. I looked up the backup log file but there was no error - just the log entries for this one account
- I have a post backup script which I changed to use the hook system. It adds read rights to the backup files for the backup user I use for the remote rsync login. On some days it worked, on some days it did not.
So yesterday I switched to uncompressed backup. But today I realized that uncompressed backup creates a .tar per account. Which is not ideal for remote rsync backup. With legacy backup my remote rsync transfer lasted for about 20 to 30 minutes. Last night with the .tar files it lasted almost two hours.
Do you have any suggestions for my problem:
- Does anybody else have problems with incremental backups not finishing properly?
- I had set the retention for incremental backup to three per day, week and month. I now try it with one each.
- Is it possible to disable creation of the .tar files for uncompressed backup so that it just copies the files and keeps it in the file tree
- Or should I untar the files in a post backup script.
Hint: The local backups are stored on a second pair of hard drives with more than enough space (1.2 TB available). On the remote backup site I have a retention logic with multiple daily, weekly and monthly backups.
Last edited: