diff --git a/nextcloud-backup-to-backblaze.sh b/nextcloud-backup-to-backblaze.sh index 7e79f7e..1cd1946 100755 --- a/nextcloud-backup-to-backblaze.sh +++ b/nextcloud-backup-to-backblaze.sh @@ -17,8 +17,10 @@ BACKUP_DIR="/opt/nextcloud-backup/.backups" LOG_DIR="${BACKUP_DIR}/logs" TIMESTAMP=$(date +%Y%m%d_%H%M%S) LOG_FILE="${LOG_DIR}/backup_${TIMESTAMP}.log" -# Use staging directory on disk with sufficient space (not tmpfs /tmp) -STAGING_DIR="/mnt/nextcloud-data/.backup-staging" +# Use warm-storage NFS mount for staging (900GB available, separate from data disk) +# /mnt/nextcloud-data is 2TB total with 1.4TB data = can't fit 587GB backup +# /mnt/warm-storage is 900GB NFS with 0% used = sufficient space +STAGING_DIR="/mnt/warm-storage/.backup-staging" TEMP_DIR="${STAGING_DIR}/nextcloud-backup-${TIMESTAMP}" # Create directories