Manual backup command is not triggering addional local backups?
Hi,
I've incremental backups configured in my server for different days and weekly with 1 backup retrain.
Last night i've mounted a USB Drive for additional local backup destionation, configured and validated so far so good.
After that i run manual backup command "/usr/local/cpanel/bin/backup --force" which also worked fine for default local backup but it did not generated backup for Additional Local Drive
Is this a normal behaviour when u run manual backup that i should wait for cron or is something wrong ?
-
Hey there! I would expect that to run the backup normally, just as it happens from cron. Do you see anything interesting in /usr/local/cpanel/logs/cpbackup or /usr/local/cpanel/logs/cpbackup_transporter that may indicate an issue? 0 -
@cPRex lastnight a weekly backup started as scheduled "system" backups are transfered to Additional Local Drive (A USB Drive) but "accounts" are not. I've checked the logs you mentioned. As i see after normal backup for system folder a tar file generated and copied to Usb; [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Starting a "copy_system_backup" operation on the "USBBackup" destination ID "fpAK19GjTcia2A1Oe5aFqqpM". [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Base path for destination is /usbBackup [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Uploading system backup file /extbackup/weekly/2023-01-09/system_files.tar to USBBackup [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Validating destination path weekly/2023-01-09/system/ [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Making Path weekly/2023-01-09/system/ [2023-01-09 02:02:29 +0300] info [cpbackup_transporter] Path creation successful [2023-01-09 02:02:29 +0300] info [cpbackup_transporter] Uploading system backup /extbackup/weekly/2023-01-09/system_files.tar to weekly/2023-01-09/system/system_files.tar (from weekly/2023-01-09/system/system_files.tar) [2023-01-09 02:02:29 +0300] info [cpbackup_transporter] Attempting to upload /extbackup/weekly/2023-01-09/system_files.tar to weekly/2023-01-09/system/system_files.tar for destination: USBBackup [2023-01-09 02:02:29 +0300] info [cpbackup_transporter] Upload attempt #1 starting for /extbackup/weekly/2023-01-09/system_files.tar to weekly/2023-01-09/system/system_files.tar for destination: USBBackup [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] Successful transfer of /extbackup/weekly/2023-01-09/system_files.tar to weekly/2023-01-09/system/system_files.tar for destination USBBackup [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] cpbackup_transporter - Processing next task [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] Deleting system backup tar file: /extbackup/weekly/2023-01-09/system_files.tar
but same thing not worked for accounts. No tar generated. Below is transporter log file[2023-01-09 02:02:28 +0300] info [cpbackup_transporter] cpbackup_transporter - parent starting [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] cpbackup_transporter - child starting [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] cPanel Backup Transporter Queue Daemon started. [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] cpbackup_transporter - started [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] cpbackup_transporter - Checking queue for tasks [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] cpbackup_transporter - Processing next task [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Instantiating Object [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Not configured to mount local directory [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Starting a "copy_system_backup" operation on the "USBBackup" destination ID "fpAK19GjTcia2A1Oe5aFqqpM". [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Base path for destination is /usbBackup [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Uploading system backup file /extbackup/weekly/2023-01-09/system_files.tar to USBBackup [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Validating destination path weekly/2023-01-09/system/ [2023-01-09 02:02:28 +0300] info [cpbackup_transporter] Making Path weekly/2023-01-09/system/ [2023-01-09 02:02:29 +0300] info [cpbackup_transporter] Path creation successful [2023-01-09 02:02:29 +0300] info [cpbackup_transporter] Uploading system backup /extbackup/weekly/2023-01-09/system_files.tar to weekly/2023-01-09/system/system_files.tar (from weekly/2023-01-09/system/system_files.tar) [2023-01-09 02:02:29 +0300] info [cpbackup_transporter] Attempting to upload /extbackup/weekly/2023-01-09/system_files.tar to weekly/2023-01-09/system/system_files.tar for destination: USBBackup [2023-01-09 02:02:29 +0300] info [cpbackup_transporter] Upload attempt #1 starting for /extbackup/weekly/2023-01-09/system_files.tar to weekly/2023-01-09/system/system_files.tar for destination: USBBackup [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] Successful transfer of /extbackup/weekly/2023-01-09/system_files.tar to weekly/2023-01-09/system/system_files.tar for destination USBBackup [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] cpbackup_transporter - Processing next task [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] Deleting system backup tar file: /extbackup/weekly/2023-01-09/system_files.tar [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] cpbackup_transporter - Processing next task [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] Instantiating Object [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] Not configured to mount local directory [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] Starting a "copy" operation on the "USBBackup" destination ID "fpAK19GjTcia2A1Oe5aFqqpM". [2023-01-09 02:02:32 +0300] info [cpbackup_transporter] Base path for destination is /usbBackup [2023-01-09 02:02:36 +0300] info [cpbackup_transporter] cpbackup_transporter - Processing next task [2023-01-09 02:02:36 +0300] info [cpbackup_transporter] Instantiating Object [2023-01-09 02:02:36 +0300] info [cpbackup_transporter] Not configured to mount local directory [2023-01-09 02:02:36 +0300] info [cpbackup_transporter] Starting a "copy" operation on the "USBBackup" destination ID "fpAK19GjTcia2A1Oe5aFqqpM". [2023-01-09 02:02:36 +0300] info [cpbackup_transporter] Base path for destination is /usbBackup [2023-01-09 02:02:41 +0300] info [cpbackup_transporter] cpbackup_transporter - Processing next task [2023-01-09 02:02:41 +0300] info [cpbackup_transporter] Instantiating Object [2023-01-09 02:02:41 +0300] info [cpbackup_transporter] Not configured to mount local directory [2023-01-09 02:02:41 +0300] info [cpbackup_transporter] Starting a "copy" operation on the "USBBackup" destination ID "fpAK19GjTcia2A1Oe5aFqqpM". [2023-01-09 02:02:41 +0300] info [cpbackup_transporter] Base path for destination is /usbBackup [2023-01-09 02:02:46 +0300] info [cpbackup_transporter] cpbackup_transporter - Processing next task [2023-01-09 02:02:46 +0300] info [cpbackup_transporter] Instantiating Object [2023-01-09 02:02:46 +0300] info [cpbackup_transporter] Not configured to mount local directory [2023-01-09 02:02:46 +0300] info [cpbackup_transporter] Starting a "copy" operation on the "USBBackup" destination ID "fpAK19GjTcia2A1Oe5aFqqpM". [2023-01-09 02:02:46 +0300] info [cpbackup_transporter] Base path for destination is /usbBackup [2023-01-09 02:02:49 +0300] info [cpbackup_transporter] cpbackup_transporter - Processing next task
system files uploaded but rest not.0 -
Is it possible that the account backup had been created too recently, so it didn't attempt to redo those? 0 -
Its "Additional Backup" whole idea is generating another backup that is recently backed up in another place :) Also system backup is generated recently but its working fine. I've another server using Addional Backup to GDrive, its working perfectly fine. I'm suspecting incremental backups but not sure. 0 -
You're always welcome to create a ticket with our team so we can check it out! 0 -
@cPRex I've opened a ticket #94519964 0 -
Thanks for that - I'm following along with this on my end now. 0 -
As i've suspected incremental backups are ths real issue here. Basicly "Additional Backup Local" is not suitable with "Incremental Backups" WORKAROUND 1. You can use compressed backups 2. If you want to stay "Incremental" use "Rsync Method" but login to your own local server. 0
Please sign in to leave a comment.
Comments
8 comments