gigascience / gigadb-website

Source code for running GigaDB
http://gigadb.org
GNU General Public License v3.0
9 stars 15 forks source link

Create a shell script wrapping rclone sync #2004

Closed rija closed 2 months ago

rija commented 3 months ago

the script will be at /usr/local/bin/sync_dropbox and will write logs at /var/logs/sync_dropbox/ and reads its config at /etc/sync_dropbox/rclone.conf and will execute:

/usr/local/bin/rclone --config /etc/sync_dropbox/rclone.conf -v  sync current-production:/share/dropbox/ /share/dropbox

usage should be:

sync_drobox [--dry-run]

where --dry-drun will cause adding the same option to the rclone command In the context of this ticket there is no need for any other options.

kencho51 commented 2 months ago

Close as done in PR https://github.com/gigascience/gigadb-website/pull/2025