mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-07-09 16:09:35 -04:00
strip path prefix from backup tarballs
This commit is contained in:
parent
be7a6c9187
commit
84cfdcfe4d
1 changed files with 1 additions and 1 deletions
|
@ -9,5 +9,5 @@ mkdir remote-backup
|
|||
mkdir remote-backup/$timestamp
|
||||
pg_dumpall -U postgres > remote-backup/$timestamp/all_databases.sql
|
||||
cp -a /etc/synapse remote-backup/$timestamp/synapse
|
||||
tar -c remote-backup/$timestamp | zstd -9 | age -r $(cat backup-public-key.txt) -o remote-backup/$timestamp.tar.zst.age
|
||||
tar -cC remote-backup $timestamp | zstd -9 | age -r $(cat backup-public-key.txt) -o remote-backup/$timestamp.tar.zst.age
|
||||
sshpass -f cloud-archive-password.txt rsync -v ./remote-backup/$timestamp.tar.zst.age pca@gateways.storage.gra.cloud.ovh.net:backup/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue