User Tools

Site Tools


backups:backup_using_tar_and_ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

backups:backup_using_tar_and_ssh [2017/04/03 14:58] – created peterbackups:backup_using_tar_and_ssh [2019/11/26 20:29] (current) – removed peter
Line 1: Line 1:
-====== 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 
- 
-<code bash> 
-tar -cvjf - /path/to/backup | ssh user@backupmachine "cat > /home/backup.tar.bz2" 
-</code> 
  
backups/backup_using_tar_and_ssh.1491231536.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki