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/bash | |
########## Change variables ########## | |
BACKUP_LOC='/home/spooky/ghost_backup/' # where to store backup | |
GHOST_LOC='/var/www/ghost/' # where Ghost lives | |
###################################### | |
echo $(date)': backup ghost script begin' | |
# create backup folder |
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/bash | |
########## Change variables ########## | |
USER_NAME='spooky' | |
BACKUP_SCRIPT_LOC='/home/'$USER_NAME'/scripts/ghost_backup.sh' # Ghost backup script location | |
GHOST_LOC='/var/www/ghost/' # where Ghost lives | |
TEMP_LOC='/home/'$USER_NAME'/' # temporary file location | |
####################################### | |
echo $(date)': ghost upgrade script start' |