mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-16 02:46:45 +00:00
add rclone:arem
This commit is contained in:
16
rclone/arm/sync.sh
Executable file
16
rclone/arm/sync.sh
Executable 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
|
||||
Reference in New Issue
Block a user