GithubHelp home page GithubHelp logo

codinandhaulin / idrive-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from snorre-k/idrive-docker

0.0 0.0 0.0 46 KB

Run IDrive Linux Client in a docker container

License: GNU General Public License v3.0

Shell 22.45% Dockerfile 77.55%

idrive-docker's Introduction

idrive-docker

Run IDrive Linux Client in a docker container

GitHub: https://github.com/snorre-k/idrive-docker

Requirements

  • Docker installed
  • optional: docker-compose
  • IDrive account

Build image

docker build -t idrive-docker:latest .

Image is tagged idrive-docker:latest. The image is also available on Dockerhub and GHCR

  • snorre0815/idrive-docker:latest
  • ghcr.io/snorre-k/idrive-docker:latest

Run container with docker

docker volume create idrive
docker run --rm -d --name idrive -v idrive:/IDriveForLinux/idriveIt -v /path/to/backup:/source/1:ro idrive-docker:latest

Data to be backuped should be located in /path/to/backup. It is mapped to /sources/1 inside the container. You can specify more mappings like this to backup different folders (e.g.: -v /path/to/anotherbackup:/source/2). In the IDrive backup configuration you then only have to specify /source as backup source.

Run with docker-compose - docker-compose.yml

docker-compose build idrive
docker-compose up -d idrive

Tasks after first start

You have to login to your IDrive account after first start.

docker exec -it idrive bash
./account_setting.pl

Now you login and specify the basic settings. For me this worked best:

  • Create new Backup Location
  • Enter your Backup Location - enter a name - do no keep empty
  • Do you want to login as ...: y - otherwise you have to login again afterwords with ./login.pl or ./account_setting.pl

For more information have a look at the IDrive documentation. The login and settings are stored persistent in the volume.

Backup configuration

The configuration and operation of backup and restore can be done in the IDrive GUI. Help can be found on the IDrive FAQs for Linux.

Be advised, that the containers timezone is UTC and so are the backup times and the log entries. Maybe this will be altered and made configurable in a furure change.

idrive-docker's People

Contributors

snorre-k 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.