Show periodic rclone progress and remote verification phases

This commit is contained in:
admin committed 2026-09-10 16:04:09 +02:00
1 parent ff152c7f0f
commit fe50bb42a1
8 files changed
+83

No files matched your search

+2
View File
@@ -45,7 +45,9 @@ mkdir -m 700 "$INPUT"
if [[ -n $REMOTE_RUN ]]; then
[[ $REMOTE_RUN =~ ^[a-zA-Z0-9][a-zA-Z0-9_-]+$ && $REMOTE_RUN == "$ARCHIVE_PREFIX"_* ]] || die 'Unsafe remote run name'
check_remote
echo "-- Downloading remote backup for restore verification: $REMOTE_RUN"
rc copy "${RCLONE_REMOTE_BASE%/}/$REMOTE_RUN" "$INPUT"
echo '-- Remote backup downloaded; validating manifest, hashes and archives'
else
[[ -d $LOCAL_RUN && ! -L $LOCAL_RUN ]] || die 'Local run must be an existing directory'
# Resolve overlap separately: archive sources are allowed under WORKDIR, but