Posts

Showing posts from September, 2013

Backup whole system remotely

In console A:

$ ssh hostname -R 60000:localhost:60000
$ sudo su
# tar cjv -O --one-file-system --exclude=/backup2l* --exclude=/var/cache/* / | nc localhost 60000

In console B (your local desktop):

$ nc -l 60000 > backup-hostname.tar.bz2

Then verify your backup