Created
February 16, 2018 16:17
-
-
Save amorino/8934aee48d89143ad3f78084745f8766 to your computer and use it in GitHub Desktop.
Backup Let's Encrypt folder
This file contains hidden or 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
| # Backup | |
| tar zcvf /tmp/letsencrypt_backup_$(date +'%Y-%m-%d_%H%M').tar.gz /etc/letsencrypt | |
| # Check content | |
| tar tvf /tmp/letsencrypt_backup_2016-10-23_0114.tar.gz | |
| # In case of disaster | |
| tar zxvf /tmp/letsencrypt_backup_2016-10-23_0114.tar.gz -C / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment