Created
February 16, 2018 16:17
-
-
Save amorino/8934aee48d89143ad3f78084745f8766 to your computer and use it in GitHub Desktop.
Revisions
-
Erick Bazán created this gist
Feb 16, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ # 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 /