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

    mirror backup to S3

    Scheduled Pinned Locked Moved Backup
    13 Posts 4 Posters 232 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.
    • A Offline
      acebmxer @robyt
      last edited by

      @robyt

      Create a backup sequence.

      Screenshot 2025-06-23 112013.png

      It will ignore the time set in the initial schedules so if the previous job is still running when the next schedule job is set to start. This will hold the next job until the first job completes.

      robytR 1 Reply Last reply Reply Quote 0
      • robytR Offline
        robyt @acebmxer
        last edited by

        @acebmxer ok, i don't use (for full + delta) the old schedulng (one job but two scheduling, one full and one delta), but i must separate the two jobs?

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          acebmxer @robyt
          last edited by acebmxer

          @robyt

          Unless im am not truly understanding what your asking.

          I have 1 backup job. That job has 2 schedules. One for daily incremental backups and one that has the force full backup checked. The full backup only runs on Sunday. The incremental does not run on Sunday.

          When creating the sequence job it uses the schedules from that job to create the sequence job.

          Screenshot 2025-06-23 142518.png

          Screenshot 2025-06-23 142238.png

          D robytR 2 Replies Last reply Reply Quote 0
          • D Offline
            DustinB @acebmxer
            last edited by

            @acebmxer Not a backup job, a backup sequence.

            89e58b60-caf6-4a0a-9902-da92c88b2776-image.png

            Jobs are for creating separate backups on (usually different schedules).

            Sequences are Backup and then do XYZ.

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              acebmxer @DustinB
              last edited by

              @DustinB

              Yes but you cant create the sequence with out the schedules from a regular backup.

              Screenshot 2025-06-23 154634.png

              1 Reply Last reply Reply Quote 0
              • robytR Offline
                robyt @acebmxer
                last edited by robyt

                @acebmxer [excuse for the poor english!]
                i've now this situation:
                1 backup job with two disables schedules, one full and one delta, to a nas
                1 mirror full backup to wasabi (S3)
                1 mirror incremental backup

                i've insert two sequences:
                one starting at sunday for full backup (the sequence is full backup and then full mirror)
                one every 3 hours with delta backup and then mirror incremental

                the job start at the correct hour but the mirror incremental send every time the same data size..
                backup to nas:

                dns_interno1 (ctx1.tosnet.it)
                Transfer data using NBD
                    Clean VM directory
                    cleanVm: incorrect backup size in metadata
                    Start: 2025-06-24 16:00
                    End: 2025-06-24 16:00
                    Snapshot
                    Start: 2025-06-24 16:00
                    End: 2025-06-24 16:00
                    Backup XEN OLD
                        transfer
                        Start: 2025-06-24 16:00
                        End: 2025-06-24 16:01
                        Duration: a few seconds
                        Size: 132 MiB
                        Speed: 11.86 MiB/s
                    Start: 2025-06-24 16:00
                    End: 2025-06-24 16:01
                    Duration: a minute
                
                Start: 2025-06-24 16:00
                End: 2025-06-24 16:01
                Duration: a minute
                Type: delta
                
                 dns_interno1 (ctx1.tosnet.it)
                    Wasabi
                        transfer
                        Start: 2025-06-24 16:02
                        End: 2025-06-24 16:15
                        Duration: 13 minutes
                        Size: 25.03 GiB
                        Speed: 34.14 MiB/s
                        transfer
                        Start: 2025-06-24 16:15
                        End: 2025-06-24 16:15
                        Duration: a few seconds
                        Size: 394 MiB
                        Speed: 22.49 MiB/s
                    Start: 2025-06-24 16:02
                    End: 2025-06-24 16:17
                    Duration: 15 minutes
                    Wasabi
                    Start: 2025-06-24 16:15
                    End: 2025-06-24 16:17
                    Duration: 2 minutes
                
                Start: 2025-06-24 16:02
                End: 2025-06-24 16:17
                Duration: 15 minutes
                

                the job send every time 25gb to wasabi, not the incremental data.

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  acebmxer @robyt
                  last edited by

                  @robyt

                  What i posted was just examples of how i have my backups configured. You dont have to call the backup jobs the same as mine. Maybe someone else with more experience can step in. Double check your schedules make sure you did set incorrect settings in one of the schedules/jobs.

                  robytR 1 Reply Last reply Reply Quote 0
                  • robytR Offline
                    robyt @acebmxer
                    last edited by

                    @acebmxer of course, this is only a test.
                    the problem is not the schedulng but why incremental send every time all data.

                    1 Reply Last reply Reply Quote 0
                    • florentF Offline
                      florent Vates 🪐 XO Team
                      last edited by

                      @robyt said in mirror backup to S3:

                      1 backup job with two disables schedules, one full and one delta, to a nas

                      Hi robyt

                      i the mirror settings : full mirror if when mirroring full backup ( called backup ) , as one file per VM
                      The incremental mirror will take care on all the files created by a delta backup

                      Can you show me what retention you have on both side ? you have more explanation on the syncrohnization algorithm here https://docs.xen-orchestra.com/mirror_backup , to be short a delta mirror can only be done if part of the disks chains are common to both remotes

                      robytR 2 Replies Last reply Reply Quote 0
                      • robytR Offline
                        robyt @florent
                        last edited by

                        @florent hi, i've adjusted the retention parameters and i'm waiting for some days of backup/mirror for checking

                        1 Reply Last reply Reply Quote 1
                        • robytR Offline
                          robyt @florent
                          last edited by

                          Hi @florent, i've clean backup data, add the correct retention and now
                          it's fine
                          591a0ded-9ab4-40f4-803e-81ea50270e87-immagine.png
                          i'm lowering nbd connection (from 4 to 1), the speed of "test backup con mirror" is too low

                          florentF 1 Reply Last reply Reply Quote 0
                          • florentF Offline
                            florent Vates 🪐 XO Team @robyt
                            last edited by

                            @robyt 2 is generally a sweet spot

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