Skip to content

Commit

Permalink
split cloud archive admin user
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed May 28, 2024
1 parent 3698eac commit 9c07876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/backup/
/build/
/cloud-archive.sh
/cloud-archive-admin.sh
/lock
/lock-server
/nginx-tmp/
Expand Down
2 changes: 1 addition & 1 deletion remote-backup
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9c07876

Please sign in to comment.