(2)Questions around Vertical Backup


#1

Hello,

Just a couple of questions I wanted to raise around Vertical Backup.

  1. Is there anyway to gauge/see the progress of a backup when it’s running from a Cron? We’ve got a offsite SFTP backup and would be good to know how long is left remaining when this sometimes over-runs.

  2. As stated above, we’ve got an offsite SFTP backup. What happens if it fails halfway through? Does it start from scratch or does it pick up where it failed from?

Could we basically set it to run every night but kill it again every morning to avoid performance issues on the connection?

Thanks
-Ash


#2
  1. Is there anyway to gauge/see the progress of a backup when it’s running from a Cron? We’ve got a offsite SFTP backup and would be good to know how long is left remaining when this sometimes over-runs.

You can instruct the cron command to output to a log file:

./vertical -v cron "15 16 * * *" vmname --email "&> /tmp/vertical.log"

Then you can just check the content of /tmp/vertical.log to know how far the backup has gone.

As stated above, we’ve got an offsite SFTP backup. What happens if it fails halfway through? Does it start from scratch or does it pick up where it failed from?

It will start from scratch but as it doesn’t need to re-upload chunks that have already been uploaded, the speed will be much faster. But, you’ll need to run a ./vertical prune -exclusive command after the backup is done, as some chunks uploaded by the failed backup may become unreferenced due to changes on the virtual machine.

Could we basically set it to run every night but kill it again every morning to avoid performance issues on the connection?

You can do that but remember the incomplete backup isn’t uploaded to the storage so you’ll get the virtual machine backed up only after a successful backup.