Code Monkey home page Code Monkey logo

arch-rclone's Introduction

Application

Rclone

Description

Rclone is a command line program to manage files on cloud storage. It is a feature rich alternative to cloud vendors' web storage interfaces. Over 40 cloud storage products support rclone including S3 object stores, business & consumer file storage services, as well as standard transfer protocols.

Rclone has powerful cloud equivalents to the unix commands rsync, cp, mv, mount, ls, ncdu, tree, rm, and cat. Rclone's familiar syntax includes shell pipeline support, and --dry-run protection. It is used at the command line, in scripts or via its API.

Users call rclone "The Swiss army knife of cloud storage", and "Technology indistinguishable from magic".

Build notes

Latest stable Rclone release from Arch Repository.

Usage

docker run -d \
    -p 53682:53682 \
    -p 5572:5572 \
    --name=<container name> \
    -v <path for media files>:/media \
    -v <path for config files>:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e RCLONE_CONFIG_PATH=<path to rclone config file> \
    -e RCLONE_MEDIA_SHARES=<media share names to copy|sync> \
    -e RCLONE_REMOTE_NAME=<rclone remote name in config file> \
    -e RCLONE_SLEEP_PERIOD=<period to sleep between rclone copy|sync> \
    -e RCLONE_USER_FLAGS=<user defined rclone flags> \
    -e RCLONE_OPERATION=copy|sync \
    -e RCLONE_DIRECTION=localtoremote|remotetolocal|both \
    -e RCLONE_POST_CHECK=yes|no \
    -e RCLONE_POST_REPORT=combined|differ|error|match|missing-on-dst|missing-on-src \
    -e ENABLE_WEBUI=yes|no \
    -e WEBUI_USER=<rclone web ui username> \
    -e WEBUI_PASS=<rclone web ui password> \
    -e UMASK=<umask for created files> \
    -e PUID=<uid for user> \
    -e PGID=<gid for user> \
    binhex/arch-rclone

Please replace all user variables in the above command defined by <> with the correct values.

Access application

Requires -e ENABLE_WEBUI=yes

http://<host ip>:5572

Example

docker run -d \
    -p 53682:53682 \
    -p 5572:5572 \
    --name=binhex-rclone \
    -v /media/movies:/media \
    -v /apps/docker/radarr:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e RCLONE_CONFIG_PATH=/config/rclone/config/rclone.conf \
    -e RCLONE_MEDIA_SHARES=/Media/Music,/Media/Pictures,/Media/Videos \
    -e RCLONE_REMOTE_NAME=onedrive-business-encrypt \
    -e RCLONE_SLEEP_PERIOD=24h \
    -e RCLONE_USER_FLAGS='-- transfers 5' \
    -e RCLONE_OPERATION=copy \
    -e RCLONE_DIRECTION=localtoremote \
    -e RCLONE_POST_CHECK=yes \
    -e RCLONE_POST_REPORT=combined \
    -e ENABLE_WEBUI=yes \
    -e WEBUI_USER=admin \
    -e WEBUI_PASS=rclone \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-rclone

Notes

If your cloud storage provider requires a 'bucket' defining (for instance Backblaze B2 does) then please specify this by appending :<bucket name> to the value for RCLONE_REMOTE_NAME e.g. -e RCLONE_REMOTE_NAME=backblaze-encrypt:bucket

User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-

id <username>

If you appreciate my work, then please consider buying me a beer :D

PayPal donation

Documentation | Support forum

arch-rclone's People

Contributors

binhex avatar

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.