I have a VPS on Digitalocean. They do provide 2 ways of backup (snapshots and "regular backups"), but neither of them can be downloaded from them.
My goal is to find a reasonably universal way to back up everything at once. (including system files/settings, etc.)
I have 1 idea currently — to download everything via rsync. With a command like this:
rsync -aHz --exclude=swapfile root@MY_HOST_ADDRESS:/ SOME_LOCAL_FOLDER
root should have read access to all stuff, right?
Am I missing something critical with this approach? And what could be a better way?
NB: The server is running Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-62-generic x86_64)
My home computer is running OS X, although it's not a problem to use a VM with whatever OS and software, as long as it's free.
the idea does not work in practice, even if I exclude folders like
/proc, /boot, /mnt, /sys, /dev — after restoring the backup to new droplet it's no longer able to correctly boot.