Squashkiwi backup and restore fully working.
This commit is contained in:
@ -31,7 +31,7 @@ mkdir -p "$LOCAL_DATA_FOLDER"
|
||||
|
||||
# Restore data folder from backup
|
||||
# --strip-components=1 removes the parent folder in the tgz from the restore paths.
|
||||
if ! tar xzvf --strip-components=1 "$BACKUP_FILE" -C "$LOCAL_DATA_FOLDER"; then
|
||||
if ! tar xzvf "$BACKUP_FILE" -C "$LOCAL_DATA_FOLDER" --strip-components=1; then
|
||||
die "Failed to restore data folder from backup"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user