Skip to content

Instantly share code, notes, and snippets.

Jungsoo Kim urlicht

  • Earth
Block or report user

Report or block urlicht

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@urlicht
urlicht / ghost_upgrade.sh
Created Jun 29, 2016
Bash script to upgrade Ghost blog
View ghost_upgrade.sh
#!/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'
@urlicht
urlicht / ghost_backup.sh
Last active Sep 5, 2016
Bash script to locally backup (copy and tar) Ghost
View ghost_backup.sh
#!/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
You can’t perform that action at this time.