diff --git a/.gitignore b/.gitignore index d0f51899..e3fcb80d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /backup/ /build/ /cloud-archive.sh +/cloud-archive-admin.sh /lock /lock-server /nginx-tmp/ diff --git a/remote-backup b/remote-backup index 7027b56b..7d6590b5 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 --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 --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