Added quick-backup and -restore

This commit is contained in:
2020-08-01 08:31:57 +02:00
parent 2b142a2260
commit b9a22cf2be
3 changed files with 20 additions and 7 deletions

View File

@@ -2,5 +2,6 @@
# Remove crontab
crontab -r
echo "Creating backup of plex database"
tar -cvzf /pms-db.tar.gz "/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases" "/config/Library/Application Support/Plex Media Server/Preferences.xml"
rclone move /pms-db.tar.gz $BACKUP --verbose --transfers 4 --checkers 20 --stats 10s