add rclone

This commit is contained in:
2019-05-10 13:47:39 +08:00
parent 9815c2a75c
commit 7f947af49e
4 changed files with 67 additions and 0 deletions

16
rclone/sync.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
# put your own backup strategy here.
# such as backup the whole data once a day,
# or sync at real time
while true; do
# rclone sync /data/ dropbox:/ --local-no-check-updated --ignore-size --ignore-checksum
# echo "synced at $(date)"
echo 'rewrite file /root/sync.sh to enable sync'
sleep 30
done