|
|
@@ -34,7 +34,18 @@
|
|
|
# Outputs Status:
|
|
|
# The script provides status messages for each step, including skipped volumes, successful backups, and any errors encountered.
|
|
|
#
|
|
|
-
|
|
|
+# WARNING:
|
|
|
+# verify assigned values for these variables before proceeding:
|
|
|
+#
|
|
|
+# 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>_nc4_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
|
|
|
+# <volume>_clamav: antivirus defintions
|
|
|
+#
|
|
|
+#
|
|
|
# Variables
|
|
|
BACKUP_DIR="/media/yaye/nextcloud_files/backup/nc2/docker_volumes" # Change this to your desired backup directory
|
|
|
TIMESTAMP=$(date +"%Y%m%d_%H%M%S")
|