Skip to content

Instantly share code, notes, and snippets.

#!/bin/zsh
DB_NAME=$1
SSH_USER=''
SSH_SERVER=''
BACKUPS_DIR='/backup/full_backups'
DATE=`date +"%Y-%m-%d"`
DIR_NAME="${DATE}_daily"
FULL_BACKUP_PATH="$BACKUPS_DIR/$DIR_NAME"
BACKUP_FILES=( "DUMP_SAPEC_$DATE.sql.gz" "SHARED_SAPEC_$DATE.tar.gz" )
#!/bin/sh
echo "What should the Application be called (no spaces allowed e.g. GCal)?"
read inputline
name=$inputline
echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url=$inputline