I have VPS hosting with debian operating system.
I would like to backup whole system time by time.
Here is a lot of questions how to backup OS on local machine, but it's not what I need. I have just ssh and superuser account.
If you need to backup just the system configuration (which at the end of the day usually is about third of the content of a system), all you should need is a list of packages installed + their configuration. The list of installed packages you can get with your packaging utility, the system-wide configuration lives in
The other two thirds would be:
Regarding the system-wide back-up, apart from options mentioned in the other answers, if your installation (be it a virtualised guest or the VPS host) lives on a separate filesystem, you can either use the filesystem's native backup/snapshot capability (e.g. XFS has this feature) or mount it read-only and dump its containing device (which might be dangerous though). Plain ssh would be more enough to do this.
As with any other low-level system operation, running any the operation in terminal multiplexer, which protects the backup process from possible connection drops, and having a spare ssh connection (preferably served by a different process) is recommendable.
Of course you have to configure the
I personally use Dirvish.org It is a disk based file backup that uses
It is easy to configure, does incremental backups to disk, uses encryption to communicate accross the network, expiring old images is simple, only copies changed files, ...