fix: live sync script

This commit is contained in:
Ben Allfree 2023-12-11 06:19:54 -08:00
parent 435035663f
commit 8c98dec2a1

View File

@ -1,4 +1,4 @@
#!/bin/bash
# Used to back up to an encrypted drive
rsync -avz --progress --exclude 'logs.db' --exclude 'instance_logs.db' --exclude '*.db-shm' --exclude '*.db-wal' --exclude 'pb_data/types.d.ts' pockethost.io:/home/pockethost/data/ live-data
rsync -avz --progress --exclude 'logs.db' --exclude 'instance_logs.db' --exclude '*.db-shm' --exclude '*.db-wal' --exclude 'pb_data/types.d.ts' pockethost.io:/home/pockethost/data/ .pockethost/live-data