|
|
@@ -39,7 +39,7 @@
|
|
|
#
|
|
|
# BACKUP_DIR - verify the location is accessible. The mount point is named by the login user so it may look different
|
|
|
# VOLUMES - are all the volumes to backup include in the list?
|
|
|
-# <volume>_nc8_files: stores the core admin account and binaries, config of next cloud
|
|
|
+# <volume>_nc9_files: stores the core admin account and binaries, config of next cloud
|
|
|
# <volume>_oo_data: document server
|
|
|
# <volume>_es_index: elastic search index files
|
|
|
# <volume>_db: mariadb - nextcloud db
|
|
|
@@ -47,19 +47,16 @@
|
|
|
#
|
|
|
#
|
|
|
# Variables
|
|
|
-# 2025-12-7
|
|
|
+# 2026-2-14
|
|
|
#
|
|
|
# comment out the below line - original location
|
|
|
-BACKUP_DIR="/media/yazoo/qnap_vol3/backups/nextcloud/" # Change this to your desired backup directory
|
|
|
+BACKUP_DIR="/media/yaye/qnap_vol3/backups/nextcloud/" # Change this to your desired backup directory
|
|
|
#BACKUP_DIR="/media/yazoo/Crucial-1T/restore_test_duplicati/backup_nc7" # backup nextcloud core files here for transfer to ryzen/rx7900 afterwards
|
|
|
-#
|
|
|
-#
|
|
|
-#BACKUP_DIR="/media/yazoo/nextcloud_files/backup/nc2/docker_volumes" # Change this to your desired backup directory
|
|
|
TIMESTAMP=$(date +"%Y%m%d_%H%M%S")
|
|
|
|
|
|
# List of volumes to backup
|
|
|
-VOLUMES=("nc8_files" "nc8_oo_data" "nc8_es_index" "nc8_db" "nc8_clamav") # Replace with your volume names
|
|
|
-#VOLUMES=("nc8_redis" "nc8_oo_data" "nc8_es_index" "nc8_clamav") # Replace with your volume names
|
|
|
+VOLUMES=("nc9_files" "nc9_oo_data" "nc9_es_index" "nc9_db" "nc9_clamav") # Replace with your volume names
|
|
|
+#VOLUMES=("nc9_redis" "nc9_oo_data" "nc9_es_index" "nc9_clamav") # Replace with your volume names
|
|
|
|
|
|
# Ensure backup directory exists
|
|
|
mkdir -p "$BACKUP_DIR"
|