forked from Deuxfleurs/infrastructure
Add gzip compression
This commit is contained in:
parent
96f2978a7f
commit
a69efd9b31
1 changed files with 1 additions and 1 deletions
|
@ -22,6 +22,6 @@ pg_dump -v -Fc -U $MATRIX_PSQL_USER -h psql-proxy.service.2.cluster.deuxfleurs.f
|
|||
|
||||
MATRIX_MEDIA="/mnt/glusterfs/chat/matrix/synapse/media"
|
||||
echo "export local_content"
|
||||
tar -vcf - ${MATRIX_MEDIA} | \
|
||||
tar -vzcf - ${MATRIX_MEDIA} | \
|
||||
age -r "$(cat /root/.ssh/id_ed25519.pub)" | \
|
||||
ssh backuphost "cat > $TARGET_SSH_DIR/matrix/media-$(date --iso-8601=minute).gz.age"
|
||||
|
|
Loading…
Reference in a new issue