update bash scripts

This commit is contained in:
2024-11-10 13:06:40 -06:00
parent b91ad276f4
commit 9c3bb890c7
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
source ~/awscli-env/bin/activate
# Usage: ./backup_script.sh -l true or ./backup_script.sh -l false
# Parse command-line argument for local_db flag
@@ -26,7 +27,7 @@ if [ "$LOCAL_DB" = true ]; then
DB_PATH="/Users/donov/databases/nkode.db"
BACKUP_DIR="/var/tmp"
else
DB_PATH="/home/dkelly/databases/nkode.db"
DB_PATH="/home/dkelly/database/nkode.db"
BACKUP_DIR="/var/tmp"
fi