Created
September 1, 2019 21:05
-
-
Save GitterDoneScott/eacf9aea3a9185c0cfa41150138e133f to your computer and use it in GitHub Desktop.
create and scp/ssh a gzipped tarball with no intermediary steps or files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar zcvf - MyBackups | ssh user@server "cat > /path/to/backup/foo.tgz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment