Rsnapshot Failure

  • Hi Everyone,


    A while ago I setup a rsnapshot to be done every hour of a certain folder and and email alert if the rsnapshot fails.


    The rsnapshot was no longer required and deleted using the OMV GUI.


    However know I'm finding that I get the following error message hourly.


    bin/sh: /var/lib/openmediavault/cron.d/rsnapshot: not found


    I've search the forum for a number of days without finding a solution.


    Anyone get any ideas?

  • Create the file if it is not there.


    It is chown root:root
    and chmod 644


    cd /var/lib/openmediavault/cron.d
    touch rsnapshot
    chmod 644 rsnapshot


    The chown should be root:root if you did above in root session.

    • Offizieller Beitrag

    What is the output of:


    cat /etc/cron.d/rsnapshot

    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!

  • # This is a sample cron file for rsnapshot.
    # The values used correspond to the examples in /etc/rsnapshot.conf.
    # There you can also set the backup points and many other things.
    #
    # To activate this cron file you have to uncomment the lines below.
    # Feel free to adapt it to your needs.


    # 0 */4 * * * root /usr/bin/rsnapshot hourly
    # 30 3 * * * root /usr/bin/rsnapshot daily
    # 0 3 * * 1 root /usr/bin/rsnapshot weekly
    # 30 2 1 * * root /usr/bin/rsnapshot monthly

    • Offizieller Beitrag

    How about:


    cat /etc/cron.d/openmediavault-rsnapshot

    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!

  • # This is the cron file for openmediavault-rsnapshot.
    # The file /var/lib/openmediavault/cron.d/rsnapshot will mirror
    # the jobs that are configured in the plugin.
    # m h dom mon dow user command
    5 * * * * root /var/lib/openmediavault/cron.d/rsnapshot hourly
    30 3 * * * root /var/lib/openmediavault/cron.d/rsnapshot daily
    0 3 * * 1 root /var/lib/openmediavault/cron.d/rsnapshot weekly
    30 2 1 * * root /var/lib/openmediavault/cron.d/rsnapshot monthly
    30 2 1 1 * root /var/lib/openmediavault/cron.d/rsnapshot yearly

    • Offizieller Beitrag

    If you don't use the plugin anymore, you could delete that file.

    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!

Jetzt mitmachen!

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