Giter VIP home page Giter VIP logo

docker-rclone's Introduction

docker-rclone

[Docker Pulls][hub] [Docker Stars][hub] [Docker Build][hub] [Docker Layers][hub] [Docker Version][hub] [hub]: https://hub.docker.com/r/tynor88/rclone/ Docker for Rclone - a command line program to sync files and directories to and from various cloud services.

Cloud Services

  • Google Drive
  • Amazon S3
  • Openstack Swift / Rackspace cloud files / Memset Memstore
  • Dropbox
  • Google Cloud Storage
  • Amazon Drive
  • Microsoft One Drive
  • Hubic
  • Backblaze B2
  • Yandex Disk
  • The local filesystem

Features

  • MD5/SHA1 hashes checked at all times for file integrity
  • Timestamps preserved on files
  • Partial syncs supported on a whole file basis
  • Copy mode to just copy new/changed files
  • Sync (one way) mode to make a directory identical
  • Check mode to check for file hash equality
  • Can sync to and from network, eg two different cloud accounts
  • Optional encryption (Crypt)
  • Optional FUSE mount (rclone mount)

Usage

docker create \
  --name=Rclone \
  -e SYNC_DESTINATION=<sync destination from .rclone.conf> \
  -v </path for rclone.conf>:/config \
  -v </path for backup>:/data \
  tynor88/rclone

Parameters

  • -v /config The path where the .rclone.conf file is
  • -v /data The path to the data which should be backed up by Rclone
  • -e SYNC_DESTINATION The destination that the data should be backed up to (must be the same name as specified in .rclone.conf)
  • -e RCLONE_CONFIG_PASS If the rclone.conf is encrypted, specify the password here
  • -e SYNC_DESTINATION_SUBPATH If the data should be backed up to a subpath on the destionation (will automaticly be created if it does not exist)
  • -e CRON_SCHEDULE A custom cron schedule which will override the default value of: 0 * * * * (hourly)
  • -e SYNC_COMMAND A custom rclone command which will override the default value of: rclone sync /data $SYNC_DESTINATION:/$SYNC_DESTINATION_SUBPATH

Info

  • Shell access whilst the container is running: docker exec -it Rclone /bin/ash
  • Upgrade to the latest version: docker restart Rclone
  • To monitor the logs of the container in realtime: docker logs -f Rclone

Versions

  • 2017/01/25:
    • Initial release

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.