Code Monkey home page Code Monkey logo

idrive-docker's Introduction

Docker image for IDrive.

PREREQUISITES

  • Docker installed
  • Own an account on IDrive.

INSTALLATION

  • Docker compose example:

idrive: container_name: idrive image: idrive:latest restart: unless-stopped
networks: - t2_proxy volumes: - $BACKUPDIR:/home/backup:ro environment: - TZ=$TZ - PGID=$PGID - PUID=$PUID

  • $DOCKERDIR points to your local path for idrive config files. Necessary for persist account settings.
  • $BACKUPDIR points to the local path you need to backup.

FIRST RUN -> CONFIGURATION

  • Open a bash console into the container.
  • Execute ./idrive --account-setting Enter user and password and other stuff.
  • Execute ./idrive --edit-job-sets Add to file paths to backup (one path per line and relative to container tree -> /home/backup/xxx)

BACKUP

  • Execute ./idrive --backup
  • For more commands and help open readme.txt file into container

SECOND RUN AND SUCCESSIVES

  • IDrive CRON and dashboard daemon don't persist when you stop and run again the container. It's necessary to execute again ./idrive --account-setting (no need to reconfigure, only restart services).

TODO

  • Redirect IDrive logs to Docker logs.
  • Persist cron and dashboard IDrive daemon. I tried with expect commando but no luck.

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.