Sam's Tech Blog

'You can check out any time you like, But you can never leave!'

2019-08-21

Remote Backup Linux

How to: Remote Backup Linux using terminal command

Remote Backup Linux

You can use GNU tar (as root!) to back up a Linux system complete with important metadata.

ssh root@vps 'tar -cJf - --acls --selinux --one-file-system /' >vps.tar.xz