Skip to content

Instantly share code, notes, and snippets.

@show0k
Last active August 29, 2015 14:24
Show Gist options
  • Select an option

  • Save show0k/b67d73eff9ce9c508ab0 to your computer and use it in GitHub Desktop.

Select an option

Save show0k/b67d73eff9ce9c508ab0 to your computer and use it in GitHub Desktop.
backup to a remote shell with Rsync (keep rights and dates to files, can be rexecuted if trasnfer failed)
rsync -arzvvPh dir/to/backup user@host.local:/remote/dir
# you can use also -files-from=to_be_backuped.txt with a list of directories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment