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.

How to maintain /etc/rsnapshot.conf through reboot

Featured Replies

Hi there, I’ve been using unraid for about a month and love it. I had installed rsnapshot and configured it to backup a VPS I have. However at the weekend I rebooted unraid and it appears the rsnapshot config file in /etc/rsnapshot.conf was not maintained.  This is not a docker or plugin, it’s software installed directly into the unraid system.  
 

How can I maintain /etc/rsnapshot.conf through a reboot please.

  • Community Expert

You do understand that Unraid is installed to a RAM disk.   Thus, /etc/rsnapshot.conf is (actually) being stored in memory.  You have basically two choices:

 

First, copy the file to a location on a hard disk or to the flash drive before shutdown.  You would then restore it during the rsnapshot install process. (It could well be that you will have restore it and stop-and-restart rsnapshot so that it re-reads the file.)

 

Second, change the location of where the program saves its setup parameters and configuration files so that they are on a physical device.

Edited by Frank1940

  • Author

Thanks this is useful. I was aware that the system ran in ram, but I was/am unsure what the extent was. Is it basically like a ‘live DVD” distro?

I installed rsnapshot with the Nerd Pack plugin, maybe I need to investigate how that works, it must effectively install rsnapshot on every boot.  I thought it might have edited the image file, but maybe not.

Sounds like I need to create a script to copy the .conf file off the array and restart rsnapshot in every boot.

  • Community Expert
2 minutes ago, Keith Ellis said:

I installed rsnapshot with the Nerd Pack plugin, maybe I need to investigate how that works, it must effectively install rsnapshot on every boot.

Yes, this is exactly what the NerdPack does.

 

3 minutes ago, Keith Ellis said:

Sounds like I need to create a script to copy the .conf file off the array and restart rsnapshot in every boot.

It is normally better to store such files on the USB stick.  Storing them on the array means they will not be available until after the array is started.

 

In terms of copying the file into its runtime position you can either add appropriate commands to the config/go file on the USB stick, or do it via the User Scripts plugin.

7 hours ago, Keith Ellis said:

Hi there, I’ve been using unraid for about a month and love it. I had installed rsnapshot and configured it to backup a VPS I have. However at the weekend I rebooted unraid and it appears the rsnapshot config file in /etc/rsnapshot.conf was not maintained.  This is not a docker or plugin, it’s software installed directly into the unraid system.  
 

How can I maintain /etc/rsnapshot.conf through a reboot please.

You can move it to /boot/rsnapshot.conf and always invoke rsnapshot using "rsnapshot -c /boot/rsnapshot.conf" command.

Edited by gfjardim

  • Author
2 hours ago, itimpi said:

Yes, this is exactly what the NerdPack does.

 

It is normally better to store such files on the USB stick.  Storing them on the array means they will not be available until after the array is started.

 

In terms of copying the file into its runtime position you can either add appropriate commands to the config/go file on the USB stick, or do it via the User Scripts plugin.

This is excellent information, thank you.

  • Author
1 hour ago, gfjardim said:

You can move it to /boot/rsnapshot.conf and always invoke rsnapshot using "rsnapshot -c /boot/rsnapshot.conf" command.

This is also excellent information, I think this is what I need to do, I can just edit my script in User Scripts to call rsnapshot linking to the .conf file in /boot.

thank you.

Archived

This topic is now archived and is closed to further replies.

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.