Skip to content

📩 Simple Docker image that runs imap-backup with crontab

License

Notifications You must be signed in to change notification settings

ReubenBTalbott/docker-imap-backup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker imap backup

Simple Docker image that runs imap-backup with crontab.

How to use

Checkout the documentation at joeyates/imap-backup and create a config.json configuration file.

Pass the configuration into the container via a environment variable:

docker run \
    -e 'CONFIG={"accounts":[]}' \
    kriskbx/docker-imap-backup

… or via volume:

docker run \
    -v /host/path/to/config.json:/root/.imap-backup/config.json:ro \
    kriskbx/docker-imap-backup

Make sure you mount the directories your emails will be backuped to as volumes as well.

If you want to change the default hourly interval, pass an environment variable:

docker run \
    -e 'SCHEDULE=* * * * *' \
    kriskbx/docker-imap-backup

License

MIT

About

📩 Simple Docker image that runs imap-backup with crontab

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 54.7%
  • Dockerfile 45.3%