System Backup Plugin - Anacon Script

    • Offizieller Beitrag

    Just enter the command: omv-mkconf backup backup

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • Volker should think about this: Discussion: "Jobs" + "Scheduled Jobs" separated


  • OK. so i am using the below script in anacron to perform a weekly backup of the system.



    I have a bunch of directories i.e. home defined in the USB Backup plugin, how can i trigger by USB Backups via anacron to perform daily backups if the external drive hasn't been disconnected?

  • I have files named
    nas_omvbackup-23-Oct-2014.tar.gz


    i renamed to nas_omvbackup-23-Jan-2014.tar.gz to test the below cleanup function but it doesn't delete them.
    find $backup_store/* -mtime +30 -exec rm {} \;


    what is wrong with the above line pls?


    also, the user home directories and a couple of others, i have configured via the USB Backup plugin, but i would like to trigger a daily backup on the basis the USB drive has not been unplugged. What is the command line for trigger the USB Backups pls?

  • I have files named
    nas_omvbackup-23-Oct-2014.tar.gz


    i renamed to nas_omvbackup-23-Jan-2014.tar.gz to test the below cleanup function but it doesn't delete them.
    find $backup_store/* -mtime +30 -exec rm {} \;


    what is wrong with the above line pls?


    "find" checks for the file creation date, not the filename. Your filecreation date doesn't change ;) so no deletion

Jetzt mitmachen!

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