Rsnapshot problem

    • OMV 3.x

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

    • Ralph79 wrote:

      where must I type cat? After the d#?
      just type cat rsnapshot*
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • Forgive me, I thought you were going to use the same session as you were in previously where you changed the directory. The follow will work no matter what directory you are in:

      cat /var/lib/openmediavault/rsnapshot.d/rsnapshot*
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • You can cut and paste from putty... Just selecting text in the putty window will automatically copy. You just would need to paste in the browser.

      Your snapshot root is on two lines. I have fought this for a long time and I thought it worked on every system but evidently not your system. What is the output of the following two commands (please cut & paste):

      cat /etc/mtab
      lsblk -o mountpoint,label -n
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • Source Code

      1. /dev/root / ext4 rw,noatime,data=ordered 0 0
      2. tmpfs /tmp tmpfs rw,relatime 0 0
      3. /dev/mmcblk0p1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro 0 0
      4. /dev/sdb1 /srv/dev-disk-by-label-NASschijf ext4 rw,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
      5. /dev/sda1 /srv/dev-disk-by-label-NASschijf2 ext4 rw,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
      6. /dev/root /var/folder2ram/var/log ext4 rw,noatime,data=ordered 0 0

      and

      Source Code

      1. root@raspberrypi:~# lsblk -o mountpoint,label -n
      2. /srv/dev-disk-by-label-NASschijf NASschijf
      3. [SWAP]
      4. [SWAP]
      5. /srv/dev-disk-by-label-NASschijf2 NASschijf2
      6. [SWAP]
      7. [SWAP]
      8. /
      9. /boot boot
      10. root@raspberrypi:~#

      The post was edited 1 time, last by ryecoaaron ().

    • This is a bug in the 3.x version of the plugin caused by filesystem names that are very similar that I fixed in the 4.x version. I will see about backporting the fix.
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • Ralph79 wrote:

      and? Is there a solution?
      The easiest way is to not use shared folders with basically the same names. Upgrading to OMV 4.x is an option. Otherwise, be patient until I update the 3.x plugin.
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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:

      The fix has been pushed out for OMV 3.x.
      I am also having this issue, eve after updating the plugin to 3.10.

      I have three jobs set, all of the backup locations are the same as the source with _Backup added onto the end.

      Source Code

      1. ----------------------------------------------------------------------------
      2. rsnapshot encountered an error! The program was invoked with these options:
      3. /usr/bin/rsnapshot -c \
      4. /var/lib/openmediavault/rsnapshot.d/rsnapshot-468a9609-bccf-4586-8364-fe68a364273f.conf \
      5. hourly
      6. ----------------------------------------------------------------------------
      7. ERROR: /var/lib/openmediavault/rsnapshot.d/rsnapshot-468a9609-bccf-4586-8364-fe68a364273f.conf on line 6:
      8. ERROR: MainArray - could not find second word on this line
      9. ERROR: /var/lib/openmediavault/rsnapshot.d/rsnapshot-468a9609-bccf-4586-8364-fe68a364273f.conf on line 7:
      10. ERROR: MainArray/Documents// - could not find second word on this line
      11. ERROR: ---------------------------------------------------------------------
      12. ERROR: Errors were found in /var/lib/openmediavault/rsnapshot.d/rsnapshot-468a9609-bccf-4586-8364-fe68a364273f.conf,
      13. ERROR: rsnapshot can not continue. If you think an entry looks right, make
      14. ERROR: sure you don't have spaces where only tabs should be.
      15. ----------------------------------------------------------------------------
      16. rsnapshot encountered an error! The program was invoked with these options:
      17. /usr/bin/rsnapshot -c \
      18. /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf \
      19. hourly
      20. ----------------------------------------------------------------------------
      21. ERROR: /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf on line 6:
      22. ERROR: MainArray - could not find second word on this line
      23. ERROR: /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf on line 7:
      24. ERROR: MainArray/gitlab// - could not find second word on this line
      25. ERROR: ---------------------------------------------------------------------
      26. ERROR: Errors were found in /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf,
      27. ERROR: rsnapshot can not continue. If you think an entry looks right, make
      28. ERROR: sure you don't have spaces where only tabs should be.
      Display All
    • Samwell wrote:

      I am also having this issue, eve after updating the plugin to 3.10.
      What is the output of:
      cat /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf
      cat /etc/mtab
      lsblk -o mountpoint,label -n
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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:

      What is the output of:cat /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf
      cat /etc/mtab
      lsblk -o mountpoint,label -n

      Source Code

      1. cat /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf
      2. # rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf
      3. # This configuration file is auto-generated.
      4. # WARNING: Do not edit this file, your changes will be lost.
      5. config_version 1.2
      6. snapshot_root /srv/dev-disk-by-label-Backup/gitlab_backup//MainArray
      7. MainArray
      8. MainArray/gitlab//
      9. no_create_root 1 # target root will be created before rsnapshot is running
      10. retain hourly 3
      11. retain daily 5
      12. retain weekly 3
      13. retain monthly 3
      14. retain yearly 2
      15. verbose 2
      16. loglevel 2
      17. cmd_cp /bin/cp
      18. cmd_rm /bin/rm
      19. cmd_rsync /usr/bin/rsync
      20. cmd_logger /usr/bin/logger
      21. logfile /var/log/rsnapshot.log
      22. rsync_long_args --delete --numeric-ids --delete-excluded
      23. one_fs 1
      24. # no extra destination dir
      25. backup /srv/dev-disk-by-id-md-name-openmediavault-0/gitlab/
      26. rsync_numtries 1
      27. lockfile /var/run/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.pid
      Display All


      Source Code

      1. cat /etc/mtab
      2. sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
      3. proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
      4. udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=252854,mode=755 0 0
      5. devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
      6. tmpfs /run tmpfs rw,nosuid,relatime,size=410484k,mode=755 0 0
      7. /dev/sda1 / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
      8. securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
      9. tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
      10. tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
      11. tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
      12. cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
      13. pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
      14. cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
      15. cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
      16. cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
      17. cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
      18. cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
      19. cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
      20. cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
      21. cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
      22. cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
      23. tmpfs /etc/machine-id tmpfs ro,relatime,size=410484k,mode=755 0 0
      24. systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=10392 0 0
      25. hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
      26. debugfs /sys/kernel/debug debugfs rw,relatime 0 0
      27. fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
      28. mqueue /dev/mqueue mqueue rw,relatime 0 0
      29. tmpfs /tmp tmpfs rw,relatime 0 0
      30. /dev/sdf1 /srv/dev-disk-by-label-Backup ext4 rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
      31. /dev/md0 /srv/dev-disk-by-id-md-name-openmediavault-0 ext4 rw,noexec,relatime,stripe=256,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
      32. rpc_pipefs /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
      Display All

      Source Code

      1. lsblk -o mountpoint,label -n
      2. /srv/dev-disk-by-label-Backup Backup
      3. openmediavault:0
      4. /srv/dev-disk-by-id-md-name-openmediavault-0 MainArray
      5. openmediavault:0
      6. openmediavault:0
      7. /srv/dev-disk-by-id-md-name-openmediavault-0 MainArray
      8. openmediavault:0
      9. /srv/dev-disk-by-id-md-name-openmediavault-0 MainArray
      10. [SWAP]
      11. /
      Display All
    • I might have to rethink how it creates the path for people who use the same name in lots of places. It might be a while though since the fix can't break existing working systems.

      Until then, you can remove line 7 and 8 and manually change line 6 to be:
      snapshot_root /srv/dev-disk-by-label-Backup/gitlab_backup//MainArray/gitlab//
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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:

      I might have to rethink how it creates the path for people who use the same name in lots of places. It might be a while though since the fix can't break existing working systems.

      Until then, you can remove line 7 and 8 and manually change line 6 to be:
      snapshot_root /srv/dev-disk-by-label-Backup/gitlab_backup//MainArray/gitlab//
      Thanks, I have edited the three separate rsnapshot config files and have run them manually to test, they seem to be happy.

      I'm debating just upgrading to OMV4 when I get back over Easter but not sure if I should wait until it's 'officially stable'.
    • Samwell wrote:

      Thanks, I have edited the three separate rsnapshot config files and have run them manually to test, they seem to be happy
      The 3.10 version didn't fix anything because I forgot to save the change before pushing out the new version of the plugin. The 3.11 has the fix.

      Samwell wrote:

      I'm debating just upgrading to OMV4 when I get back over Easter but not sure if I should wait until it's 'officially stable'.
      Depending on what plugins you use, I wouldn't wait.
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • Hi.

      Is this the same error? My rsnapshot also does not work anymore starting today.


      HTML Source Code

      1. mkdir: cannot create directory '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq': File name too long
      2. chmod: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq/Martin/': No such file or directory
      3. chgrp: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq/Martin/': No such file or directory
      4. chmod: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq/Martin': No such file or directory
      5. chgrp: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq/Martin': No such file or directory
      6. chmod: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq': No such file or directory
      7. chgrp: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq': No such file or directory
      8. ----------------------------------------------------------------------------
      9. rsnapshot encountered an error! The program was invoked with these options:
      10. /usr/bin/rsnapshot -c \
      11. /var/lib/openmediavault/rsnapshot.d/rsnapshot-5061aa2f-00a5-420f-921b-73d9767a7068.conf \
      12. daily
      13. ----------------------------------------------------------------------------
      14. ERROR: /var/lib/openmediavault/rsnapshot.d/rsnapshot-5061aa2f-00a5-420f-921b-73d9767a7068.conf on line 6:
      15. ERROR: datenspeicher | uniq/Martin// - missing tabs to separate words - \
      16. change spaces to tabs.
      17. ERROR: ---------------------------------------------------------------------
      18. ERROR: Errors were found in /var/lib/openmediavault/rsnapshot.d/rsnapshot-5061aa2f-00a5-420f-921b-73d9767a7068.conf,
      19. ERROR: rsnapshot can not continue. If you think an entry looks right, make
      20. ERROR: sure you don't have spaces where only tabs should be.
      Display All
      Thanks a lot for help!

      Regards