mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-04-17 06:22:58 -04:00
split cloud archive admin user
This commit is contained in:
parent
dd7d016204
commit
f107d75a6f
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
/backup-public-key.txt
|
||||
/backup/
|
||||
/cloud-archive.sh
|
||||
/cloud-archive-admin.sh
|
||||
/lock
|
||||
/nginx-tmp/
|
||||
/static-production/
|
||||
|
@ -14,6 +14,6 @@ cp -r /var/lib/mjolnir remote-backup/$timestamp/mjolnir
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user