Users accounts not moving to additional local backup directory
AnsweredHi,
I'm trying to use an additional local backup directory but only system files are moving there.
In main backup settings, user accounts are selected but in additional local backup settings, I can't see such an option.
Can you help?
-
Hey there! Inside the backup log (likely the most recent filename in /usr/local/cpanel/logs/cpbackup/) you should see a line similar to this that references the additional local destination for the cPanel accounts:
[2024-03-04 11:09:19 -0500] info [backup] Queuing daily backup copy of “username” for transport of “/backup/2024-03-04/accounts/username.tar.gz” to “other/local/destination/2024-03-04/accounts/amps.tar.gz”
Do you see that entry in the log file? If not, does it show anything else after the initial local backup is complete?
0 -
Hi,
yes I see accounts are backed up:
[2024-03-03 02:22:59 +0200] Storing Addon Domains....
[2024-03-03 02:22:59 +0200] Performing “Password” component....
[2024-03-03 02:22:59 +0200] Completed “Password” component.
[2024-03-03 02:22:59 +0200] Performing “DigestShadow” component....
[2024-03-03 02:22:59 +0200] Completed “DigestShadow” component.
[2024-03-03 02:22:59 +0200] Copying shell.......[2024-03-03 02:22:59 +0200] Done
[2024-03-03 02:22:59 +0200] Performing “WebCalls” component....
[2024-03-03 02:22:59 +0200] Completed “WebCalls” component.
[2024-03-03 02:22:59 +0200] Performing “BrandCustomizations” component....
[2024-03-03 02:22:59 +0200] Completed “BrandCustomizations” component.
[2024-03-03 02:22:59 +0200] Performing “PublicContact” component....
[2024-03-03 02:22:59 +0200] Completed “PublicContact” component.
[2024-03-03 02:22:59 +0200] Performing “MailLimits” component....
[2024-03-03 02:22:59 +0200] Completed “MailLimits” component.
[2024-03-03 02:22:59 +0200] Performing “LinkedNodes” component....
[2024-03-03 02:22:59 +0200] Completed “LinkedNodes” component.
[2024-03-03 02:22:59 +0200] Creating Archive ....[2024-03-03 02:22:59 +0200] Done
[2024-03-03 02:22:59 +0200] pkgacct target is: /backup/2024-03-03/accounts/gsmnext
[2024-03-03 02:22:59 +0200]
[2024-03-03 02:22:59 +0200] homesize is: 4811431936
[2024-03-03 02:22:59 +0200]
[2024-03-03 02:22:59 +0200] homefiles is: 97984
[2024-03-03 02:22:59 +0200]
[2024-03-03 02:22:59 +0200] mysqlsize is: 77947578
[2024-03-03 02:22:59 +0200] pkgacct completed
[2024-03-03 02:23:00 +0200] info [backup] Successfully backed up account “gsmnext” to “/backup/2024-03-03/accounts”
[2024-03-03 02:23:00 +0200] info [backup] Adding metadata information for gsmnext to backup at /backup/2024-03-03
[2024-03-03 02:23:00 +0200] info [backup] Processing an incremental type backup for gsmnext..
[2024-03-03 02:23:00 +0200] info [backup] Queuing daily backup copy of “gsmnext” for transport of “/backup/2024-03-03/accounts/gsmnext” to “2024-03-03/accounts/gsmnext”
[2024-03-03 02:23:00 +0200] 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.
[2024-03-03 02:23:00 +0200] info [backup] Queuing transport of file: /backup/2024-03-03/accounts/gsmnext
[2024-03-03 02:23:00 +0200] info [backup] no_transport = 0 .. and queueid = TQ:TaskQueue:569
[2024-03-03 02:23:00 +0200] info [backup] leaving queue_backup_transport_item
[2024-03-03 02:23:00 +0200] info [backup] Queuing transport of meta file: /backup/2024-03-03/accounts/.master.meta
[2024-03-03 02:23:00 +0200] info [backup] no_transport = 0 .. and queueid = TQ:TaskQueue:570
[2024-03-03 02:23:00 +0200] info [backup] leaving queue_backup_transport_item
[2024-03-03 02:23:00 +0200] info [backup] Queuing prune operation for remote destination daily backups
[2024-03-03 02:23:00 +0200] info [backup] no_transport = 0 .. and queueid = TQ:TaskQueue:571
[2024-03-03 02:23:00 +0200] info [backup] leaving queue_backup_transport_item
[2024-03-03 02:23:00 +0200] info [backup] Queuing removal of staging directories since KEEPLOCAL is disabled.
[2024-03-03 02:23:00 +0200] info [backup] no_transport = 0 .. and queueid = TQ:TaskQueue:572
[2024-03-03 02:23:00 +0200] info [backup] leaving queue_backup_transport_item
[2024-03-03 02:23:00 +0200] info [backup] Queuing transport reporter
[2024-03-03 02:23:00 +0200] info [backup] no_transport = 0 .. and queueid = TQ:TaskQueue:573
[2024-03-03 02:23:00 +0200] info [backup] leaving queue_backup_transport_item
[2024-03-03 02:23:00 +0200] info [backup] Completed at Sun Mar 3 02:23:00 2024
[2024-03-03 02:23:00 +0200] info [backup] Final state is Backup::Success (0)
[2024-03-03 02:23:00 +0200] info [backup] Sent Backup::Success notification.But in transporter logs I cant see them:
[2024-03-03 02:01:07 +0200] info [cpbackup_transporter] Instantiating Object
[2024-03-03 02:01:07 +0200] info [cpbackup_transporter] Not configured to mount local directory
[2024-03-03 02:01:07 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:01:07 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:01:35 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
[2024-03-03 02:01:35 +0200] info [cpbackup_transporter] Instantiating Object
[2024-03-03 02:01:35 +0200] info [cpbackup_transporter] Not configured to mount local directory
[2024-03-03 02:01:35 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:01:35 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:02:04 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 270s for new tasks
[2024-03-03 02:02:05 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
[2024-03-03 02:02:05 +0200] info [cpbackup_transporter] Instantiating Object
[2024-03-03 02:02:05 +0200] info [cpbackup_transporter] Not configured to mount local directory
[2024-03-03 02:02:05 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:02:05 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:02:21 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
[2024-03-03 02:02:21 +0200] info [cpbackup_transporter] Instantiating Object
[2024-03-03 02:02:21 +0200] info [cpbackup_transporter] Not configured to mount local directory
[2024-03-03 02:02:21 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:02:21 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:02:50 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 270s for new tasks
[2024-03-03 02:03:20 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
[2024-03-03 02:03:20 +0200] info [cpbackup_transporter] Instantiating Object
[2024-03-03 02:03:20 +0200] info [cpbackup_transporter] Not configured to mount local directory
[2024-03-03 02:03:20 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:03:20 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:03:26 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
[2024-03-03 02:03:26 +0200] info [cpbackup_transporter] Instantiating Object
[2024-03-03 02:03:26 +0200] info [cpbackup_transporter] Not configured to mount local directory
[2024-03-03 02:03:26 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:03:26 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:03:32 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
[2024-03-03 02:03:32 +0200] info [cpbackup_transporter] Instantiating Object
[2024-03-03 02:03:32 +0200] info [cpbackup_transporter] Not configured to mount local directory
[2024-03-03 02:03:32 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:03:32 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:04:00 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
[2024-03-03 02:04:00 +0200] info [cpbackup_transporter] Instantiating Object
[2024-03-03 02:04:00 +0200] info [cpbackup_transporter] Not configured to mount local directory
[2024-03-03 02:04:00 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:04:00 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:04:00 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
[2024-03-03 02:04:00 +0200] info [cpbackup_transporter] Instantiating Object
[2024-03-03 02:04:00 +0200] info [cpbackup_transporter] Not configured to mount local directory
[2024-03-03 02:04:00 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:04:00 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:04:13 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
[2024-03-03 02:04:13 +0200] info [cpbackup_transporter] Instantiating Object
[2024-03-03 02:04:13 +0200] info [cpbackup_transporter] Not configured to mount local directory
[2024-03-03 02:04:13 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:04:13 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:04:42 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 270s for new tasks
[2024-03-03 02:05:12 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 240s for new tasks
[2024-03-03 02:05:42 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 210s for new tasks
[2024-03-03 02:06:12 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 180s for new tasks
[2024-03-03 02:06:42 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 150s for new tasks
[2024-03-03 02:07:12 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 120s for new tasks
[2024-03-03 02:07:42 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 90s for new tasks
[2024-03-03 02:08:12 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 60s for new tasks
[2024-03-03 02:08:42 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 30s for new tasks
[2024-03-03 02:09:12 +0200] info [cpbackup_transporter] cpbackup_transporter - Waiting up to 0s for new tasks
[2024-03-03 02:09:13 +0200] info [cpbackup_transporter] cpbackup_transporter - Exiting - the queue has been emptied; no more work to do after waiting for 300s
[2024-03-03 02:09:13 +0200] info [cpbackup_transporter] cPanel Backup Transporter Queue Daemon is being stopped.Backup Type: Incremental
0 -
I don't think the cpbackup_transporter log gets used when the transfer is local - at least it did not on my test I did earlier today.
We may need to see a ticket on this to determine why this isn't working properly since the logs don't seem to be telling us much.
0 -
Hi,
They are used. I can see system files are backed up:
[2024-03-03 02:00:11 +0200] info [cpbackup_transporter] Starting a "copy_system_backup" operation on the "additional backup" destination ID "sn5M6Tdv42bE6ZUN2Ik9hb0E".
[2024-03-03 02:00:11 +0200] info [cpbackup_transporter] Base path for destination is /storage
[2024-03-03 02:00:11 +0200] info [cpbackup_transporter] Uploading system backup file /backup/2024-03-03/system_files.tar to additional backup
[2024-03-03 02:00:11 +0200] info [cpbackup_transporter] Validating destination path 2024-03-03/system/
[2024-03-03 02:00:11 +0200] info [cpbackup_transporter] Making Path 2024-03-03/system/
[2024-03-03 02:00:11 +0200] info [cpbackup_transporter] Path creation successful
[2024-03-03 02:00:11 +0200] info [cpbackup_transporter] Uploading system backup /backup/2024-03-03/system_files.tar to 2024-03-03/system/system_files.tar (from 2024-03-03/system/system_files.tar)
[2024-03-03 02:00:11 +0200] info [cpbackup_transporter] Attempting to upload /backup/2024-03-03/system_files.tar to 2024-03-03/system/system_files.tar for destination: additional backup
[2024-03-03 02:00:11 +0200] info [cpbackup_transporter] Upload attempt #1 starting for /backup/2024-03-03/system_files.tar to 2024-03-03/system/system_files.tar for destination: additional backup
[2024-03-03 02:00:12 +0200] info [cpbackup_transporter] Successful transfer of /backup/2024-03-03/system_files.tar to 2024-03-03/system/system_files.tar for destination additional backup
[2024-03-03 02:00:13 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
[2024-03-03 02:00:13 +0200] info [cpbackup_transporter] Deleting system backup tar file: /backup/2024-03-03/system_files.tar
[2024-03-03 02:00:23 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next taskAnyways, I open ticked in Leaseweb support, since I cant directly open ticked in cPanel.
Will let you know.
0 -
Sounds good!
0 -
I do see that LeaseWeb contacted us and we were able to identify an issue where the local disk also has to be compatible with rsync, so network partitions will not work properly. We opened case CPANEL-43905 for our developers to work on this, although the fix will likely not be to get the backups working but to make the error more human-friendly for users so they are aware of what the ultimate issue is.
0 -
Thanks for the update!
0 -
Sure thing!
0
Please sign in to leave a comment.
Comments
8 comments