IDrive Backup Docker image
Docker Hub: https://hub.docker.com/r/renofischa/idrive
IDrive services persist, so no need to relogin after each restart of the container.\ It also works in TrueNAS SCALE and on unRAID. Configuration examples are below.
services:
idrive:
container_name: idrive
image: renofischa/idrive:latest
restart: unless-stopped
volumes:
- config:/work/IDriveForLinux/idriveIt
- dependencies:/work/IDriveForLinux/scripts/Idrivelib/dependencies
- files:/mnt/files
- $BACKUPDIR:/mnt/backup:ro
environment:
- TZ=$TZ
volumes:
config:
dependencies:
files:
click on Apps -> Launch Docker image
renofischa/idrive
config:/work/IDriveForLinux/idriveIt
dependencies:/work/IDriveForLinux/scripts/Idrivelib/dependencies
files:/mnt/files
leave everything else on default
Save the following template as My-iDrive.xml under your boot usb drive in /Config/Plugins/dockerMan/templates-user/
<?xml version="1.0"?><Container version="2">
<Name>iDrive</Name>
<Repository>renofischa/idrive</Repository>
<Registry>https://hub.docker.com/r/renofischa/idrive</Registry>
<Network>host</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support/>
<Project/>
<Overview/>
<Category/>
<WebUI/>
<TemplateURL/>
<Icon>https://static.idriveonlinebackup.com/source/images/favicon.ico</Icon>
<ExtraParams/>
<PostArgs/>
<CPUset/>
<DateInstalled>1676085032</DateInstalled>
<DonateText/> <DonateLink/>
<Requires>/work/IDriveForLinux/scripts/Idrivelib/dependencies</Requires>
<Config Name="Host Path 1" Target="/work/IDriveForLinux/idriveIt" Default="" Mode="rw" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/idrive/idriveIt</Config>
<Config Name="Host Path 2" Target="/home/backup" Default="" Mode="ro" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/backups/</Config>
<Config Name="Host Key 1" Target="TZ" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">America/New_York</Config>
<Config Name="Host Path 3" Target="/work/IDriveForLinux/scripts/Idrivelib/dependencies" Default="" Mode="rw" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/idrive/dependencies</Config>
<Config Name="Host Path 4" Target="/mnt/files" Default="" Mode="rw" Description="" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/idrive/files</Config>
</Container>
Configure your IDrive account after first start.
./account_setting.pl
In Version 3 idrive for Linux switched to a Bin package-based Installer.
steps to update a container to the new Version:
config
to /opt/IDriveForLinux/idriveIt
dependencies
services:
idrive:
container_name: idrive
image: renofischa/idrive:3.2
restart: unless-stopped
volumes:
- config:/opt/IDriveForLinux/idriveIt
- files:/mnt/files
- $BACKUPDIR:/mnt/backup:ro
environment:
- TZ=$TZ
volumes: config: files:
+ Exec into container
+ Run ````./idrive --account-setting````
+ Login again with your account details.
+ At this question, you can enter 3 to exit:
Do you want to:
1) Reconfigure your account freshly 2) Edit your account details 3) Exit
+ Settings from v2 should still be there. Scheduled Jobs must be configured again.