where must I type cat? After the d#?
Rsnapshot problem
-
- OMV 3.x
- Ralph79
-
-
where must I type cat? After the d#?
just type cat rsnapshot*
-
-
-
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*
-
-
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 -
-
Code
/dev/root / ext4 rw,noatime,data=ordered 0 0 tmpfs /tmp tmpfs rw,relatime 0 0 /dev/mmcblk0p1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro 0 0 /dev/sdb1 /srv/dev-disk-by-label-NASschijf ext4 rw,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0 /dev/sda1 /srv/dev-disk-by-label-NASschijf2 ext4 rw,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0 /dev/root /var/folder2ram/var/log ext4 rw,noatime,data=ordered 0 0
and -
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.
-
THX
-
-
and? Is there a solution?
-
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.
-
Ok, thx.
I'm going to give the folder a different name or do you want me to test your update?
-
-
The fix has been pushed out for OMV 3.x.
-
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.
Code
Alles anzeigen---------------------------------------------------------------------------- rsnapshot encountered an error! The program was invoked with these options: /usr/bin/rsnapshot -c \ /var/lib/openmediavault/rsnapshot.d/rsnapshot-468a9609-bccf-4586-8364-fe68a364273f.conf \ hourly ---------------------------------------------------------------------------- ERROR: /var/lib/openmediavault/rsnapshot.d/rsnapshot-468a9609-bccf-4586-8364-fe68a364273f.conf on line 6: ERROR: MainArray - could not find second word on this line ERROR: /var/lib/openmediavault/rsnapshot.d/rsnapshot-468a9609-bccf-4586-8364-fe68a364273f.conf on line 7: ERROR: MainArray/Documents// - could not find second word on this line ERROR: --------------------------------------------------------------------- ERROR: Errors were found in /var/lib/openmediavault/rsnapshot.d/rsnapshot-468a9609-bccf-4586-8364-fe68a364273f.conf, ERROR: rsnapshot can not continue. If you think an entry looks right, make ERROR: sure you don't have spaces where only tabs should be. ---------------------------------------------------------------------------- rsnapshot encountered an error! The program was invoked with these options: /usr/bin/rsnapshot -c \ /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf \ hourly ---------------------------------------------------------------------------- ERROR: /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf on line 6: ERROR: MainArray - could not find second word on this line ERROR: /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf on line 7: ERROR: MainArray/gitlab// - could not find second word on this line ERROR: --------------------------------------------------------------------- ERROR: Errors were found in /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf, ERROR: rsnapshot can not continue. If you think an entry looks right, make ERROR: sure you don't have spaces where only tabs should be.
-
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 -
-
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 -nCode
Alles anzeigencat /var/lib/openmediavault/rsnapshot.d/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf # rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.conf # This configuration file is auto-generated. # WARNING: Do not edit this file, your changes will be lost. config_version 1.2 snapshot_root /srv/dev-disk-by-label-Backup/gitlab_backup//MainArray MainArray MainArray/gitlab// no_create_root 1 # target root will be created before rsnapshot is running retain hourly 3 retain daily 5 retain weekly 3 retain monthly 3 retain yearly 2 verbose 2 loglevel 2 cmd_cp /bin/cp cmd_rm /bin/rm cmd_rsync /usr/bin/rsync cmd_logger /usr/bin/logger logfile /var/log/rsnapshot.log rsync_long_args --delete --numeric-ids --delete-excluded one_fs 1 # no extra destination dir backup /srv/dev-disk-by-id-md-name-openmediavault-0/gitlab/ rsync_numtries 1 lockfile /var/run/rsnapshot-0dade27a-52d2-4676-8a4e-3b9d5ef8fde9.pid
Code
Alles anzeigencat /etc/mtab sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=252854,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,relatime,size=410484k,mode=755 0 0 /dev/sda1 / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0 securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0 tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0 tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0 cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd 0 0 pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0 cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0 cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0 cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0 cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0 cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0 cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0 cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0 cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0 tmpfs /etc/machine-id tmpfs ro,relatime,size=410484k,mode=755 0 0 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 hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0 debugfs /sys/kernel/debug debugfs rw,relatime 0 0 fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0 mqueue /dev/mqueue mqueue rw,relatime 0 0 tmpfs /tmp tmpfs rw,relatime 0 0 /dev/sdf1 /srv/dev-disk-by-label-Backup ext4 rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0 /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 rpc_pipefs /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
Code
Alles anzeigenlsblk -o mountpoint,label -n /srv/dev-disk-by-label-Backup Backup openmediavault:0 /srv/dev-disk-by-id-md-name-openmediavault-0 MainArray openmediavault:0 openmediavault:0 /srv/dev-disk-by-id-md-name-openmediavault-0 MainArray openmediavault:0 /srv/dev-disk-by-id-md-name-openmediavault-0 MainArray [SWAP] /
-
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// -
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'.
-
-
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.
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.
-
Hi.
Is this the same error? My rsnapshot also does not work anymore starting today.
HTML
Alles anzeigenmkdir: cannot create directory '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq': File name too long chmod: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq/Martin/': No such file or directory chgrp: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq/Martin/': No such file or directory chmod: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq/Martin': No such file or directory chgrp: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq/Martin': No such file or directory chmod: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq': No such file or directory chgrp: cannot access '/srv/2488b3fa-744f-4f68-a67f-56cdd35e57f1/Benutzer-Backups//datenspeicher\ndatenspeicher | uniq': No such file or directory ---------------------------------------------------------------------------- rsnapshot encountered an error! The program was invoked with these options: /usr/bin/rsnapshot -c \ /var/lib/openmediavault/rsnapshot.d/rsnapshot-5061aa2f-00a5-420f-921b-73d9767a7068.conf \ daily ---------------------------------------------------------------------------- ERROR: /var/lib/openmediavault/rsnapshot.d/rsnapshot-5061aa2f-00a5-420f-921b-73d9767a7068.conf on line 6: ERROR: datenspeicher | uniq/Martin// - missing tabs to separate words - \ change spaces to tabs. ERROR: --------------------------------------------------------------------- ERROR: Errors were found in /var/lib/openmediavault/rsnapshot.d/rsnapshot-5061aa2f-00a5-420f-921b-73d9767a7068.conf, ERROR: rsnapshot can not continue. If you think an entry looks right, make ERROR: sure you don't have spaces where only tabs should be.
Thanks a lot for help!
Regards
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!