Configuring borgbackup schedule

  • Hello,


    I have set up borgbackup repo and archive, but: how do I set backup schedule now?

    Am I supposed to create jobs in Scheduled jobs with borgackup command line invocations? Or is there any UI for this?

  • how do I set backup schedule now?

    When you create the archive, it creates a job that runs every hour. The archive parameters tell it how many hour, day, etc copies to keep. What are you trying to schedule? If you only want to run it at certain times, then you will have to do that manually. It is designed to run hourly.


    m I supposed to create jobs in Scheduled jobs with borgackup command line invocations?

    No.

    omv 5.5.17-2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Hello,


    Oh, I get it now - it wasn't clear to me that just creating a job makes it run hourly.


    I want to maintain a backup of 150+ GB body if images/videos, that are rarely edited/deleted over a span of few days, and from time to time new are added.

    The backup is supposed to enable recovery in case some deletions or edits should be reverted.

    Currently it is set to 0 hourly, 3 daily, 2 weekly, 3 monthly and 0 yearly backups.

  • I want to maintain a backup of 150+ GB body if images/videos, that are rarely edited/deleted over a span of few days, and from time to time new are added.

    I use it for the exact case as well. Borg is very good with this situation because of checksums and dedupe. So, running every hour shouldn't be a problem

    omv 5.5.17-2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Oh that's great!


    Just one more thing that comes to my mind now - does borgbackup wake disks, provided there has been no update to source directory since the last check? I have them spin down after 30 mins of inactivity, and it does not make much sense if they are to be waken every hour.

  • does borgbackup wake disks, provided there has been no update to source directory since the last check?

    Probably. I don't spin down my disks. But since it has to read files, that is hard to do without waking them.

    omv 5.5.17-2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!