Ubuntu - Backups - Backup using tar and ssh

Go to the folder where you want to backup.

Use tar to archive and send it though network to backup machine.

tar -cvjf - /path/to/backup | ssh user@backupmachine "cat > /home/backup.tar.bz2"