June 6, 20251 yr A configuration profiles manager for restic backup, resticprofile is the missing link between a configuration file and restic backup.This image extends the official resticprofile image by:Overriding its entrypoint and command to allow for long-lived containers that run crond. A crontab configuration file can be mounted inside the container at /crontab to schedule tasks.Adding utilities such as database clients. Please refer to the repository for the full list of installed utilities.References:Dockerhub: https://hub.docker.com/r/alexycodes/resticprofileDockerfile GitHub: https://github.com/alexycodes/resticprofile-dockerfileTemplate GitHub: https://github.com/alexycodes/unraid-docker-templatesProject GitHub: https://github.com/creativeprojects/resticprofileProject docs: https://creativeprojects.github.io/resticprofile Edited October 5, 2025Oct 5 by alexycodes
October 5, 2025Oct 5 Do you have some examples on how to configure this? I have used resticprofile for a long time but always use its builtin scheduling. The dockerfile seems to override the normal entrypoint and just runs crond.I have resticprofile running fine inside the container with the passed in profiles.yaml and my key so no issues with restic / resticprofile. How do I schedule resticprofile to run daily? Edited October 5, 2025Oct 5 by ilium007
October 5, 2025Oct 5 Author You can create a crontab file and mount it at /crontab inside the container to schedule any commands. Example:0 0 * * * cd /resticprofile && resticprofile backupThis configuration would run resticprofile backup every day at midnight. It assumes that your resticprofile files are mounted under /resticprofile, as defined in the Unraid app template.Another approach is to use the User Scripts plugin to set up a scheduled script that runs a command inside the container using docker exec. Example:docker exec resticprofile resticprofile backupIf you have multiple containers performing scheduled tasks, this can be a convenient way to centralize all scheduling configurations in a single place. It also makes it easy to run your scripts at arbitrary times with the click of a button.Hope this helps.
October 5, 2025Oct 5 Is /mnt/user/appdata/resticprofile/crontab supposed to be a bind mounted directory with crontab files inside or is /mnt/user/appdata/resticprofile/crontab a crontab file mounted at /crontab inside the container? Edited October 5, 2025Oct 5 by ilium007
October 5, 2025Oct 5 Got it - thanks. I was having issue bind mounting the file in Unraid but after I removed and recreated the container it worked.
October 5, 2025Oct 5 How do we set the timezone? You Dockerfile installs tzdata but it does not seem to be installed in the docker container? I want to schedule using local time. Edited October 5, 2025Oct 5 by ilium007
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.