Skip to content

Latest commit

 

History

History
60 lines (53 loc) · 2.25 KB

README.md

File metadata and controls

60 lines (53 loc) · 2.25 KB

IDrive Backup Docker image with v3.2

IDrive services persist, so no need to relogin after each restart of the container.
It also works in TrueNAS SCALE. Configuration example is below.

Requirements

  • Docker installed
  • IDrive account

docker-compose example

services:
  idrive:
    container_name: idrive
    image: ghcr.io/lunksnee/idrive-persist:release
    restart: unless-stopped
    volumes:
      - config:/opt/IDriveForLinux/idriveIt
      - dependencies:/opt/IDriveForLinux/bin/Idrivelib/dependencies
      - files:/mnt/files
      - $BACKUPDIR:/mnt/backup:ro
    environment:
      - TZ=$TZ
      
volumes:
  config:
  dependencies:
  files:
  • volumes config, dependencies and files are necessary for persisting account settings and IDrive services.
  • $BACKUPDIR points to the local path you need to backup
  • Optional timezone environment variable, default is set to Europe/Vienna in dockerfile

TrueNAS SCALE example

click on Apps -> Launch Docker image

  • Image repository: ghcr.io/lunksnee/idrive-persist image
  • Optional timezone environment variable image
  • Storage:
    • configure your local path you need to backup as a Host Path Volume:
      You have to mount each Dataset you want to back up in a seperate directory
      image
    • configure volumes for persisting files:
      config:/work/IDriveForLinux/idriveIt
      dependencies:/work/IDriveForLinux/scripts/Idrivelib/dependencies
      files:/mnt/files
      
      image
  • Update Strategy: Kill existing pods before creating new ones

leave everything else on default

Configuration after first start

Configure your IDrive account after first start.

  • Exec into container
  • Run ./idrive -a
  • Login with your account details and configure other basic settings. Important is your Backup location.
  • Now you should see your container in your IDrive dashboard.