Sync Repo

This commit is contained in:
mali
2022-10-26 15:47:07 -07:00
commit e8258e87fb
17 changed files with 1615 additions and 0 deletions
Executable
+25
View File
@@ -0,0 +1,25 @@
#!/bin/bash
set -e
SCRIPT_DIR=$(dirname "$0")
source "${SCRIPT_DIR}/utils.sh"
# source "${SCRIPT_DIR}/common.sh"
source "${SCRIPT_DIR}/vars.sh"
source "${SCRIPT_DIR}/lvm.sh"
source "${SCRIPT_DIR}/dbase.sh"
readonly DB_BACKUP_JOB_NAME="Database backup"
readonly DISK_BACKUP_JOB_NAME="Disk backup"
# Started background jobs
declare -A BG_JOBS
# Successfully completed background jobs
declare -a COMPLETED_BG_JOBS
# Failed background jobs
declare -A FAILED_BG_JOBS
info "Preparing for backup"
prepare_backup_db
prepare_backup_disk
backup_start