Question
Will a backup process pause or be suspended when a backup is being moved by additional destinations?
Answer
If your server has multiple accounts and the backup configuration sends data to additional destinations, you may want to know whether the backup process pauses while another account's data is being transferred. The Backup process runs separately from Additional Destinations.
You can see in the backup logs that when a backup is created, it is added to a queue for additional destinations.
tail /usr/local/cpanel/logs/cpbackup/1612712974.log
[2021-02-07 09:49:56 -0600] info [backup] Queuing daily backup copy of “cptest5” for transport of “/bac
kup/2021-02-07/accounts/cptest5.tar.gz” to “2021-02-07/accounts/cptest5.tar.gz”
[2021-02-07 09:49:56 -0600] info [backup] This particular transport will be queued with keep_local = 0
, based on the need to copy weekly () and/or monthly () copies as well.
[2021-02-07 09:49:56 -0600] info [backup] Queuing transport of file: /backup/2021-02-07/accounts/cptest
5.tar.gz
[2021-02-07 09:49:56 -0600] info [backup] no_transport = 0 .. and queueid = TQ:TaskQueue:67
[2021-02-07 09:49:56 -0600] info [backup] leaving queue_backup_transport_item
Then, the backup process will continue to the next backup, without referencing the additional destinations.
/usr/local/cpanel/logs/cpbackup/1612712974.log
[2021-02-07 09:49:56 -0600] info [backup] Calling pkgacct under cpuwatch to backup user “cptest”
[2021-02-07 09:49:56 -0600] pkgacct started.
[2021-02-07 09:49:56 -0600] pkgacct version 10 - user : cptest - tarball: 1 - target mysql : default -
split: 0 - incremental: 0 - homedir: 1 - mailman: 1 - backup: 1 - archive version: 4 - running with uid
0
[2021-02-07 09:49:56 -0600] pkgacct using '/usr/local/cpanel/3rdparty/bin/pigz -6 --processes 1 --block
size 4096 --rsyncable' to compress archives
[2021-02-07 09:49:56 -0600] pkgacct working dir : /backup/2021-02-07/accounts/cptest
This allows the backup to proceed uninterrupted, even as data is being written to additional destinations.
If the server is low on disk space, this can allow backups to fill up the disk, even if the option "Retain Backups in the Default Backup Directory" in the backup configuration is turned off.
Comments
0 comments
Article is closed for comments.