8000 GitHub - danielk117/idrive: Docker image for IDrive Backup Scripts
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

danielk117/idrive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

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:      
      - $DOCKERDIR/idrive/config:/work/IDriveForLinux/idriveIt
      - $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 (or docker exec -it "container" "command").
  • Execute ./account_setting.pl Enter user and password and other stuff.
  • Execute ./edit_supported_files.pl Add to file paths to backup (one path per line and relative to container tree -> /home/backup/xxx)

BACKUP

  • Execute ./Backup_Script.pl
  • 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 ./account_setting.pl (no need to reconfigure, only restart services).

About

Docker image for IDrive Backup Scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 91.6%
  • Shell 8.4%
0