Created
July 7, 2015 23:10
-
-
Save jdbrice/751bd5c3f7cd384aed12 to your computer and use it in GitHub Desktop.
script to backup my rcf website
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
| #!/bin/bash | |
| # backup the website on the server | |
| bnlMountHome | |
| now=$(date +"%m_%d_%Y") | |
| #/Users/danielbrandenburg/bnl/local/www/backup | |
| tar -cvf "bnl_site_${now}.tar" /star/u/jdb/WWW/site | |
| gzip -9 "bnl_site_${now}.tar" | |
| mv "bnl_site_${now}.tar.gz" ../backup/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment