Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] resticprofile

Featured Replies

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:

Edited by alexycodes

  • 3 months later...

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 by ilium007

  • 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 backup

This 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 backup

If 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.

Perfect - thanks!

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 by ilium007

  • Author

Just a file named crontab.

Got it - thanks. I was having issue bind mounting the file in Unraid but after I removed and recreated the container it worked.

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 by ilium007

Disregard - setting an ENV variable TZ=Australia/Brisbane fixed it.

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.