XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XO Backup Advanced Backup Schedules

    Scheduled Pinned Locked Moved Backup
    cronschduler
    13 Posts 4 Posters 608 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • julien-fJ Offline
      julien-f Vates 🪐 Co-Founder XO Team @DustinB
      last edited by

      @DustinB

      1. yes, that should be possible
      2. No, this is unfortunately not possible with a CRON pattern
      D 1 Reply Last reply Reply Quote 0
      • D Offline
        DustinB @julien-f
        last edited by

        @julien-f said in XO Backup Advanced Backup Schedules:

        @DustinB

        1. yes, that should be possible
        2. No, this is unfortunately not possible with a CRON pattern

        Cool, it's one of those things that would be great for use on a health check, right? Like once a month (or week) perform a health check to ensure that the system posts.

        Datto does something similar to this, where they'll confirm if the system makes it past post.

        The challenge I'm dealing with at the moment appear to be with IOPS or network performance and long delays, so I'm trying to find a creative way to still have this functionality, while occurring less frequently.

        aqua-calcA 1 Reply Last reply Reply Quote 0
        • aqua-calcA Offline
          aqua-calc @DustinB
          last edited by

          @DustinB Can we have something like this, for instance:
          Run monthly backup on 1st Sunday of each month at 5:00AM

          0 5 * * 7 [ $(date +\%d) -le 07 ]
          
          julien-fJ 1 Reply Last reply Reply Quote 0
          • julien-fJ Offline
            julien-f Vates 🪐 Co-Founder XO Team @aqua-calc
            last edited by

            @aqua-calc No, XO currently only supports basic CRON patterns.

            aqua-calcA 1 Reply Last reply Reply Quote 0
            • aqua-calcA Offline
              aqua-calc @julien-f
              last edited by

              @julien-f Any plan to introduce an ability to schedule monthly backups on a specific day of the week?

              julien-fJ 1 Reply Last reply Reply Quote 0
              • julien-fJ Offline
                julien-f Vates 🪐 Co-Founder XO Team @aqua-calc
                last edited by

                @aqua-calc Not right now, this would not be a trivial change and we have other priorities at the moment 😕

                @olivierlambert Any opinions on this?

                1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  I don't really know how difficult it would be to have an "advanced mode" with specific cron requests, is it a limitation in our lib?

                  julien-fJ 1 Reply Last reply Reply Quote 0
                  • julien-fJ Offline
                    julien-f Vates 🪐 Co-Founder XO Team @olivierlambert
                    last edited by

                    @olivierlambert It's a limitation of CRON patterns, to support this we need to implement it separately and design a dedicated UI.

                    D 1 Reply Last reply Reply Quote 2
                    • olivierlambertO Offline
                      olivierlambert Vates 🪐 Co-Founder CEO
                      last edited by

                      Eg like an "advanced" dedicated field to replace the UI and put directly the cron pattern we want, that would work?

                      julien-fJ 1 Reply Last reply Reply Quote 1
                      • D Offline
                        DustinB @julien-f
                        last edited by

                        @julien-f said in XO Backup Advanced Backup Schedules:

                        @olivierlambert It's a limitation of CRON patterns, to support this we need to implement it separately and design a dedicated UI.

                        @olivierlambert said in XO Backup Advanced Backup Schedules:

                        Eg like an "advanced" dedicated field to replace the UI and put directly the cron pattern we want, that would work?

                        Sounds like it, but you would also need to ensure that if the "Advanced Schedule" is configured that the default option cannot be enabled and used.

                        Which in my case would be fine.

                        1 Reply Last reply Reply Quote 0
                        • julien-fJ Offline
                          julien-f Vates 🪐 Co-Founder XO Team @olivierlambert
                          last edited by

                          @olivierlambert No, CRON patterns does not support this kind of scheduling.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post