File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -288,15 +288,15 @@ create_s3_config() {
288288}
289289
290290create_atomic_backup () {
291- info " Starting atomic backup process for $SERVICE_NAME "
291+ debug " Starting atomic backup process for $SERVICE_NAME "
292292
293293 # To make the backup atomic we first create a copy of the data directory.
294294 TEMP_DIR=$( mktemp -d -t " backup-${SERVICE_NAME} -XXXXXXXX" )
295295 TEMP_DATA_DIR=" $TEMP_DIR /data"
296296 debug " Creating atomic copy of $DATA_DIR to $TEMP_DATA_DIR "
297297
298298 # Use rsync for reliable copying with proper handling of permissions, symlinks, etc.
299- rsync -av --delete " $DATA_DIR /" " $TEMP_DATA_DIR /" || die " Failed to create atomic copy of data directory"
299+ rsync -qav --delete " $DATA_DIR /" " $TEMP_DATA_DIR /" || die " Failed to create atomic copy of data directory"
300300 debug " Atomic copy completed successfully to $TEMP_DATA_DIR "
301301
302302 # Create tar with temporary name first
@@ -309,7 +309,7 @@ create_atomic_backup() {
309309 tar -tzf " $TEMP_BACKUP_FILE " > /dev/null 2>&1 || die " Failed to verify tar archive"
310310 mv " $TEMP_BACKUP_FILE " " $BACKUP_FILE " || die " Failed to move temporary backup file"
311311
312- info " Atomic backup created successfully: $BACKUP_FILE "
312+ debug " Atomic backup created successfully: $BACKUP_FILE "
313313 return 0
314314}
315315
You can’t perform that action at this time.
0 commit comments