https://github.com/mpepping/docker-imaptar
https://github.com/mpepping/docker-imaptar
backup docker imap imaps tar
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mpepping/docker-imaptar
- Owner: mpepping
- Created: 2018-01-14T18:01:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-18T19:45:51.000Z (almost 7 years ago)
- Last Synced: 2025-01-27T06:35:48.539Z (over 1 year ago)
- Topics: backup, docker, imap, imaps, tar
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# imaptar
[imaptar](https://github.com/XS4ALL/imaptar/) is a utility to dump an entire IMAP-mailbox, INBOX and all folders, in maildir format to a tar file.
## Usage
```bash
Usage: imaptar
Flags:
-s, --server IMAPS server name
-u, --user username
-t, --tar tar output filename
Optional flags:
-p, --port IMAPS server port (default 993)
-P, --pass password
-E, --envpass VAR get password from environment var $VAR
-z, --gzip compress the output
```
If you do not supply the -P or -E option, you will be prompted
for the password.
## Example
To run `imaptar` and write a `.tgz` file to a local backup directory:
```bash
export IMAPPASS="foo"
docker run -ti --rm -e IMAPPASS -v $PWD/backup:/backup mpepping/imaptar \
-s imap.xs4all.nl -u myuser -E IMAPPASS -z -t /backup/maildir.tar.gz
```
## BUGS
Only works on IMAP servers where "/" is the folder seperator.
## References
*
*
*