Created
January 19, 2017 01:25
-
-
Save solarmicrobe/a5006cb233d551385e6a8e6678aa3ec5 to your computer and use it in GitHub Desktop.
Backup remote /etc/letsencrypt to local
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
#!/bin/sh | |
# $1 - [user@]server | |
rsync -O -e 'ssh -p 22' -rltgoDvz $1:/etc/letsencrypt/ /etc/letsencrypt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment