rsnapshot exclusion (and /etc/rsnapshot.conf)

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • rsnapshot exclusion (and /etc/rsnapshot.conf)

      Hi,

      In the raw rsnapshot, one can define specific exclusion and inclusion rules. How can/should we achieve this using the OMV plugin?

      Beside, is /etc/rsnapshot.conf used at all when using the OMV plugin? If so, how? E.g do OMV settings override /etc/rsnapshot.conf ?

      I'm using OMV 4.1.4-1 (and knows well debian).

      Thank you for your help, and of course a big thank to all OMV contributors!
    • Nas-turally wrote:

      In the raw rsnapshot, one can define specific exclusion and inclusion rules. How can/should we achieve this using the OMV plugin?
      Did you look at the "Rsync long arguments" and the link under it when creating a job?

      Nas-turally wrote:

      is /etc/rsnapshot.conf used at all when using the OMV plugin?
      No.

      Nas-turally wrote:

      If so, how? E.g do OMV settings override /etc/rsnapshot.conf ?
      This is not simple to explain. You can look at the code here. Why? I will warn you that editing config files controlled by OMV is a bad idea. Your changes will most likely be overwritten next time you change something in the web interface because OMV completely re-writes most config files.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Thank you. I had a look in the meantime to the scripts, cron, etc. All clear. I would have wished to find something a little more user-friendly than the generic extra option box. Maybe something like two textboxes, one for include, the other to exclude.

      Typically, temp folders, cache folders, compilations folders are good candidates for exclusion.
    • I guess it might make it slightly more user friendly but you are the first to ask for it. I use this plugin extensively and have never worried about a little bit extra being backed up.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!