Rsnapshot monthly doesnt work, any hint appreciated

    • Offizieller Beitrag

    I maintain and use the plugin and I have no idea. Your output is cutoff but not sure it would help anyway. Try running the job from the command line to test. UUID of the jobs are in /var/lib/openmediavault/cron.d/ but remove rsync- from beginning


    /var/lib/openmediavault/cron.d/rsnapshot UUID monthly

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • sorry, I´m still quite unexperienced, so maybe my question is stupid .... but what do you mean with "UUID of the jobs are in /var/lib/openmediavault/cron.d/"? In that folder I can not see UUIDs directly.
    And what means "remove rsync- from beginning"?


    I attached the complete rsnapshot logfile, maybe you can see more then.


    Then I checked all UUIDs in my system with blkid - sda1 is the drive with the backup folder


    /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="7D5C-A285" TYPE="vfat" PARTUUID="000b5098-01"
    /dev/mmcblk0p2: LABEL="omv" UUID="5d18be51-3217-4679-9c72-a54e0fc53d6b" TYPE="ext4" PARTUUID="000b5098-02"
    /dev/mmcblk0p3: UUID="fa36508a-b3c4-4499-b30a-711dd5994225" TYPE="ext4" PARTUUID="000b5098-03"
    /dev/sda1: LABEL="OMV_HD1" UUID="cd9a2063-ab1e-403b-8b9c-129c19072080" TYPE="ext4" PARTUUID="cb776acb-01"
    /dev/mmcblk0: PTUUID="000b5098" PTTYPE="dos"


    My OMV is supposed to do a rsnapshot from three remote directories into the above mentioned backup folder on a local hdd, the system runs on a Raspi II.


    The UUIDs of the remote shares are attached in the "Unbenannt.PNG".


    AS mentioned the weekly job seems to run well.



    Thank you for your support!!

    • Offizieller Beitrag

    If you do a listing of the directory I mentioned, you will see a bunch of files that represent each rsnapshot job. The files are name with the format: rsync-LONG_UUID. If you just use the LONG_UUID part, that is what you use in the command I told you.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • o.k., when I list the content of the folder I just get:


    root@raspberrypi:/var/lib/openmediavault/cron.d# ls -a
    . .. rsnapshot
    root@raspberrypi:/var/lib/openmediavault/cron.d# ls --all
    . .. rsnapshot
    root@raspberrypi:/var/lib/openmediavault/cron.d# ls -la
    total 12
    drwxr-xr-x 2 root root 4096 Oct 20 22:29 .
    drwxr-xr-x 7 root root 4096 Nov 9 02:37 ..
    -rwxr-xr-x 1 root root 2765 Oct 20 22:29 rsnapshot
    root@raspberrypi:/var/lib/openmediavault/cron.d#


    There is inly one file in the folder ...

    • Offizieller Beitrag

    copy & paste error. I meant


    ls -al /var/lib/openmediavault/rsnapshot.d/

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I tried it, but there is nothing happening, no error, nothing ...


    What are those UUIDs anyway, the devices I´m backing up have different UUIDS, the target HD, too ...


    I haven´t seen those UUIDS on my system before ...

  • root@raspberrypi:/etc/cron.d# ls -al /var/lib/openmediavault/rsnapshot.d/
    total 20
    drwxr-xr-x 2 root root 4096 Oct 20 22:29 .
    drwxr-xr-x 7 root root 4096 Nov 9 02:37 ..
    -rwxr-xr-x 1 root root 774 Oct 20 22:29 rsnapshot-6deb9525-7636-4e9a-a834-f4d5eca431b7.conf
    -rwxr-xr-x 1 root root 790 Oct 20 22:29 rsnapshot-a4910808-496c-45dc-b22a-e675c0898937.conf
    -rwxr-xr-x 1 root root 790 Oct 20 22:29 rsnapshot-c4a16271-b560-449c-9b8f-2a3faa742633.conf
    root@raspberrypi:/etc/cron.d# /var/lib/openmediavault/cron.d/rsnapshot c4a16271-b560-449c-9b8f-2a3faa742633 monthly
    root@raspberrypi:/etc/cron.d# /var/lib/openmediavault/cron.d/rsnapshot a4910808-496c-45dc-b22a-e675c0898937 monthly
    root@raspberrypi:/etc/cron.d# /var/lib/openmediavault/cron.d/rsnapshot 6deb9525-7636-4e9a-a834-f4d5eca431b7 monthly

    • Offizieller Beitrag

    What are those UUIDs anyway, the devices I´m backing up have different UUIDS, the target HD, too ...

    Each rsnapshot job has its own uuid. There are lot of uuids in the OMV database.


    If you are getting no output, that generally means it is working. Do you have output on error only enabled for the jobs?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Yesterday I changed the retention rate of the different jobs from 4 weeks to 8 weeks. After that I started the monthly job manually, now it seems to be working. Let me test it a couple of days, maybe the issue is solved now...


    Thanks for your support!!!! Its really great how much time you guys spend to support people using your system!!

  • Now it seems to work ... BUT, the time stamp of the monthly snapshot is not correct, what does that mean?


    The time stamp of the weekly snapshot is equal to the date and time when it is carried out. The time stamp of the monthly snapshot is a couple of weeks older. When I look into the OMV systemprotocolls it shows to me that the monthly snapshot is carried out correctly yesterday, but again the time stamp is three weeks old.


    If this is correct, how would I know the correct date of a monthly snapshot when I need it one day?


    Thank you for your help in advance!!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!