From aaf8ca4b463e734ac9c3a6e9f91a67f4cb930014 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 28 May 2024 13:19:40 -0400 Subject: [PATCH] remote-backup: leave segments to avoid read permission --- remote-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote-backup b/remote-backup index 7d6590b5..50a3a600 100755 --- a/remote-backup +++ b/remote-backup @@ -12,6 +12,6 @@ sqlite3 samples.db ".backup remote-backup/$timestamp/samples.db" tar -cC remote-backup $timestamp | zstd -9 | age -r $(cat backup-public-key.txt) -o remote-backup/$timestamp.tar.zst.age source cloud-archive.sh -swift upload --skip-container-put --segment-size 5368709122 -H "X-Delete-After: 5184000" --object-name $timestamp.tar.zst.age backup remote-backup/$timestamp.tar.zst.age +swift upload --skip-container-put --leave-segments --segment-size 5368709122 -H "X-Delete-After: 5184000" --object-name $timestamp.tar.zst.age backup remote-backup/$timestamp.tar.zst.age rm -rf remote-backup