Skip to content

Instantly share code, notes, and snippets.

@solarmicrobe
Created January 19, 2017 01:25
Show Gist options
  • Save solarmicrobe/a5006cb233d551385e6a8e6678aa3ec5 to your computer and use it in GitHub Desktop.
Save solarmicrobe/a5006cb233d551385e6a8e6678aa3ec5 to your computer and use it in GitHub Desktop.
Backup remote /etc/letsencrypt to local
#!/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