Backup plugin: error: WARNING! Ignoring special 'socket' file

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

    • Backup plugin: error: WARNING! Ignoring special 'socket' file

      I made a backup of OpenMediaVault with backup plugin.

      But now I get the following errors in email:


      Source Code

      1. stdin: is not a ttyWARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR1D1/Backup/OMV/omvbackup/var/agentx/master'
      2. WARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR1D1/Backup/OMV/omvbackup/var/cache/samba/msg/3250'
      3. WARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR1D1/Backup/OMV/omvbackup/var/cache/samba/msg/3283'
      4. WARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR1D1/Backup/OMV/omvbackup/var/cache/samba/msg/3315'
      5. WARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR1D1/Backup/OMV/omvbackup/var/lib/openmediavault/engined.sock'
      6. WARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR4D4/Backup/OMV/omvbackup/var/spool/postfix/dev/log'
      7. WARNING! Ignoring special 'character' file '/srv/dev-disk-by-label-SR4D4/Backup/OMV/omvbackup/var/spool/postfix/dev/random'
      8. WARNING! Ignoring special 'character' file '/srv/dev-disk-by-label-SR4D4/Backup/OMV/omvbackup/var/spool/postfix/dev/urandom'
      9. WARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR4D4/Backup/OMV/omvbackup/var/spool/postfix/private/anvil'
      10. WARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR4D4/Backup/OMV/omvbackup/var/spool/postfix/private/bounce'
      11. WARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR4D4/Backup/OMV/omvbackup/var/spool/postfix/private/ifmail'
      12. WARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR4D4/Backup/OMV/omvbackup/var/spool/postfix/private/omvnotificationfilter'
      13. WARNING! Ignoring special 'socket' file '/srv/dev-disk-by-label-SR4D4/Backup/OMV/omvbackup/var/spool/postfix/public/qmgr'
      14. ...
      Display All



      Could be possible to fix the backup plugin to avoid socket files, while doing backup?
      Can it cause problem, if these socket files are missing?


      Thanks!

      The post was edited 6 times, last by klorinczi ().

    • What version of OMV? What version of the backup plugin? What filesystem is the data drive?

      klorinczi wrote:

      Could be possible to fix the backup plugin to avoid socket files, while doing backup?
      The plugin doesn't need to be fixed. You could exclude these files with extra options field. I don't have these errors on any of my systems. If you are using OMV 4.x, I recommend using the newer version of the plugin that allows you to use fsarchiver. It is a better option and easier to restore than the rsync method.

      klorinczi wrote:

      Can it cause probl em, if these socket files are missing?
      It shouldn't cause any problems. These files are recreated on every startup.
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Sorry for the multiple posts.
      It seems Tapatalk have some problems with this forum.


      Using
      - OpenMediaVault v3.0.99 (Erasmus)
      - OpenMediaVault-Backup plugin v3.11
      - using EXT4 fs everywhere.


      ryecoaaron wrote:

      You could exclude these files with extra options field.
      Extra options field is not the right way to exclude 50+ files...

      ryecoaaron wrote:

      The plugin doesn't need to be fixed.
      The plugin should have option to ignore making backup of socket files...
    • klorinczi wrote:

      Extra options field is not the right way to exclude 50+ files...
      So, it is ok to add 50 files to the plugin that would be doing the exact same thing as the extra options box that don't seem to cause anyone else problems? The rsync arguments have barely changed since I wrote this plugin and no one has ever had problems with socket files. I also don't want to have every little exclusion in the plugin. That is why I added the extra options box.

      And it wouldn't be 50 excludes. You would probably only have to add --no-specials --no-devices to the extra options box. I would add those options to the plugin but years worth of no problems tells me that could introduce other problems.
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      klorinczi wrote:

      Extra options field is not the right way to exclude 50+ files...
      So, it is ok to add 50 files to the plugin that would be doing the exact same thing as the extra options box that don't seem to cause anyone else problems? The rsync arguments have barely changed since I wrote this plugin and no one has ever had problems with socket files. I also don't want to have every little exclusion in the plugin. That is why I added the extra options box.
      And it wouldn't be 50 excludes. You would probably only have to add --no-specials --no-devices to the extra options box. I would add those options to the plugin but years worth of no problems tells me that could introduce other problems.

      See this:
      unix.stackexchange.com/questio…les-during-rsync-transfer
    • klorinczi wrote:

      See this:
      unix.stackexchange.com/questio…les-during-rsync-transfer
      Did you see that the options recommended in that link as the same ones I recommended adding to the extra options box? And I think I also justified why I am hesitant to add those to the mandatory options in the plugin.
      omv 4.1.11 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Users Online 1

      1 Guest