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


Comments

Popular posts from this blog

Ports to allow for whatsapp call

Manually clean up zimbra zmcat/zmcpustat exploit

Keychron K2 in Linux