Fix rclone command in backup.sh
This commit is contained in:
parent
bb2059e697
commit
17f766da29
@ -4,4 +4,4 @@ mkdir -p backups
|
|||||||
zip -r -9 backups/plugins.zip plugins -DF --out backups/plugins-update.zip
|
zip -r -9 backups/plugins.zip plugins -DF --out backups/plugins-update.zip
|
||||||
pg_dump -h localhost -U modmapper -Fc modmapper > backups/modmapper-$(date +'%Y-%m-%d').dump
|
pg_dump -h localhost -U modmapper -Fc modmapper > backups/modmapper-$(date +'%Y-%m-%d').dump
|
||||||
find backups/modmapper-*.dump -mtime +30 -type f -delete
|
find backups/modmapper-*.dump -mtime +30 -type f -delete
|
||||||
rclone sync backups/* dropbox:modmapper
|
rclone sync backups dropbox:modmapper
|
Loading…
Reference in New Issue
Block a user