update backup-synapse script and cleanup
change directory of backup files first run cleanup script then create backup start synapse service after db backup (do now wait for media files)
This commit is contained in:
+3
-2
@@ -3,9 +3,10 @@ set -euo pipefail
|
||||
|
||||
### CONFIG ###
|
||||
DATE=$(date +%F)
|
||||
BACKUPS_DIR="$HOME/backups/synapse"
|
||||
#BACKUPS_DIR="$HOME/backups/synapse"
|
||||
BACKUPS_DIR="/mnt/disk/backups/synapse"
|
||||
DRY_RUN=true
|
||||
KEEP_COUNT=4
|
||||
KEEP_COUNT=1
|
||||
|
||||
# Function to display usage information
|
||||
usage() {
|
||||
|
||||
Reference in New Issue
Block a user