🔐 Simple docker image that backups your tresorit account via rsync
1.3K
A simple docker image containing the Tresorit command line interface. Can be run on servers and NAS devices to back up the contents of your Tresorit account.
Run the following command to jump into a running Tresorit container:
docker run --rm -ti \
-v $(pwd)/Profiles:/home/tresorit/Profiles \
kriskbx/tresorit-backup \
bash
Log into Tresorit by running the following command inside the container. A Profiles folder in the current directory on your host will be created:`
tresorit-cli login --email [email protected] --password-on-stdin
If you want to sync directories from your current machine to Tresorit, use the sync command to setup sync. If you just want to backup things, you don't need to do that. Check out the Tresorit Linux CLI documentation on how to use it:
tresorit-cli sync --start tresor-name --path /home/tresorit/external/tresor-name
Start your Container (with some additional privileges for fuse) and mount the Profile directory that has been created in the Configure step into the container as well as the path where you want to store your backups:
docker run \
-v /path/to/formerly/generated/Profiles:/home/tresorit/Profiles \
-v /path/to/backup/files:/home/tresorit/external \
--device /dev/fuse \
--cap-add SYS_ADMIN \
kriskbx/tresorit-backup
Cron will run your backup once a day at 3am. If you want to change the cron schedule, you can add a SCHEDULE environment variable:
docker run \
-e "SCHEDULE=0 8 * * *" \
# …
To skip the automatic backup via rsync and Tresorit drive, use SYNC_ONLY:
docker run \
-e "SYNC_ONLY=true" \
# …
MIT
Content type
Image
Digest
sha256:644c4ced3…
Size
107.4 MB
Last updated
about 4 years ago
docker pull kriskbx/tresorit-backup