Files
pms/root/root/bin/backup-pms
2019-11-05 20:45:45 +01:00

8 lines
237 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# Creates a backup of Plex configuration library and pushes it to the backup repo
#
cd /config
tar -cvzf /pms.tar.gz Library
rclone move /pms.tar.gz $BACKUP --verbose --transfers 4 --checkers 20 --stats 10s