cPanel backup script modification
Hello,
I trust you are well.
I am trying to figure out how to change the standard cPanel backup script slightly.
At present, the script seems to:
1 - Creates compressed backups of each account.
2 - Temporarily stores the backups in the defined backup directory.
while
3 - Copies the backup to a defined remote destination.
then
4 - Removes all the backups from the predefined backup directory.
The slight modification I would like is:
1 - Create a compressed backup file for the first account.
2 - Temporarily store that backup in the defined backup directory.
3 - Transport the backup file to the predefined remote directory.
4 - Delete the backup for the first account.
Then
repeat steps 1-3 for each account.
The benefit of this is that the backup destination only needs to be as big as the largest account on the server as opposed to being as big as the sum of all accounts on the server.
Is this possible?
Please sign in to leave a comment.
Comments
0 comments