How long does it take to backup your VPS?
I just backed up a tiny LXC VPS which runs an email Message Transfer Agent (MTA). I imagined at least a couple of you guys might be interested in how long the backup job took.
The VPS was stopped and offline during the backup, which isn't so good, but at least being stopped prevents files on the VPS from changing into a possibly inconsistent state during the time the VPS is being copied.
When I checked the log, I thought, "Whoa! Only six seconds to shut down the VPS, make the backup, and restart the VPS!! ? It's not a big VPS, but, still, that's fast!"
The six seconds includes just shutdown, backup on the node, and reboot. The time to copy the backup to a remote location wasn't counted.
Here's the log:
INFO: starting new backup job: vzdump XXX --mode stop --node Proxmox-VE --storage local --remove 0 --compress zstd INFO: Starting Backup of VM XXX (lxc) INFO: Backup started at 2021-04-02 02:21:35 INFO: status = running INFO: backup mode: stop INFO: ionice priority: 7 INFO: CT Name: xxx.example.com INFO: including mount point rootfs ('/') in backup INFO: stopping vm INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-lxc-XXX-XX_XX_XX.tar.zst' INFO: Total bytes written: 871854080 (832MiB, 208MiB/s) INFO: archive file size: 299MB INFO: restarting vm INFO: guest is online again after 6 seconds INFO: Finished Backup of VM XXX (00:00:06) INFO: Backup finished at 2021-04-02 02:21:41 INFO: Backup job finished successfully TASK OK
Maybe now might be a great time to backup your VPS? ? Please let me know how long your backup takes. . . .
Best wishes and friendly greetings from Mexico! ??????️
Tom, not Oles. Happy New York City guy visiting in Mexico!
Purveyor of Fast-as-Metal LXC and KVM VPSes!