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

    daily Continuous Replication backup in XO

    Scheduled Pinned Locked Moved Xen Orchestra
    37 Posts 7 Posters 4.5k Views 4 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.
    • V Offline
      vapaa
      last edited by

      Hi,

      I've set up a daily "continuous replication" backup, and for some reason, XO launches the job twice. Can somebody tell me why?

      78eb27b2-b8b4-4713-9543-b669c969fee6-grafik.png

      c0603787-5b20-4c18-8fd9-4c332fbb088a-grafik.png

      1 Reply Last reply Reply Quote 0
      • K Offline
        karlisi
        last edited by karlisi

        I don't know why, but this is happening only on first schedule after each XO restart. Next schedules are working without issues. Every time this happens, first launch is exactly 1 minute before scheduled time, next launch is in time. I am using XO from sources. This started after I upgraded to xo-server 5.50.1, xo-web 5.50.2.

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

          Ping @julien-f

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

            This is strange, are you sure you are up to date?

            You should be using at least xo-server 5.50.1 and its dependency @xen-orchestra/cron 1.0.4.

            V 1 Reply Last reply Reply Quote 0
            • V Offline
              vapaa @julien-f
              last edited by

              @julien-f said in daily Continuous Replication backup in XO:

              This is strange, are you sure you are up to date?

              You should be using at least xo-server 5.50.1 and its dependency @xen-orchestra/cron 1.0.4.

              both xo-server 5.50.1 and @xen-orchestra/cron 1.0.4 are in use

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

                @vapaa Can you show me the scheduling config of your job please?

                V 1 Reply Last reply Reply Quote 0
                • V Offline
                  vapaa @julien-f
                  last edited by

                  @julien-f is that enough for you or do you need further details?

                  f2014967-b36a-4022-b97d-acb0aca139ba-grafik.png

                  1 Reply Last reply Reply Quote 0
                  • rizaemet 0R Offline
                    rizaemet 0
                    last edited by

                    Hello,
                    Same problem here. Job start 2 seconds before scheduled time. And start again 2 seconds later exact scheduled time. First run finish successfully. Second run fail with this error: "the job (...) is already running"

                    XO 5.50.1 from source.

                    1 Reply Last reply Reply Quote 0
                    • rizaemet 0R Offline
                      rizaemet 0 @karlisi
                      last edited by

                      @karlisi said in daily Continuous Replication backup in XO:

                      ... this is happening only on first schedule after each XO restart. Next schedules are working without issues.

                      Hello again,
                      My CR jobs are same. This is happening only first schedule after each XO restart as @karlisi said.

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

                        @julien-f can we reproduce?

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

                          I've setup some tests, we should know more in a couple of hours.

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

                            Cannot reproduce.

                            K 1 Reply Last reply Reply Quote 0
                            • K Offline
                              karlisi @julien-f
                              last edited by

                              @julien-f What is needed from me to understand what's happening? Today restarted my xo after os updates.

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

                                It would help if you could reproduce the issue with the official XOA, because we know the environment and how it was built.

                                Or give me a step by step process (with all the backup config) to reproduce the issue.

                                K DanpD 2 Replies Last reply Reply Quote 0
                                • julien-fJ Offline
                                  julien-f Vates 🪐 Co-Founder XO Team
                                  last edited by

                                  Also, can you go into the directory of xo-server and show me the output of this command please:

                                  > node -p '[require("./package").version, require("@xen-orchestra/cron/package").version]'
                                  
                                  K 1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    karlisi @julien-f
                                    last edited by

                                    @julien-f said in daily Continuous Replication backup in XO:

                                    node -p '[require("./package").version, require("@xen-orchestra/cron/package").version]'

                                    [ '5.50.1', '1.0.4' ]
                                    

                                    The best (or worst), last night after XO restart all backups went without problems. Yesterday I upgraded Ubuntu kernel. And expanded XO disk, because initially it was set too small and there was almost no free space left.

                                    DanpD 1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      karlisi @julien-f
                                      last edited by

                                      @julien-f I have no XOA. I installed XO on top of Ubuntu 18.04 using this script:
                                      https://github.com/Jarli01/xenorchestra_installer
                                      Upgrades are made using another script:
                                      https://github.com/Jarli01/xenorchestra_updater
                                      How to send config to You?

                                      1 Reply Last reply Reply Quote 0
                                      • DanpD Offline
                                        Danp Pro Support Team @karlisi
                                        last edited by

                                        @karlisi said in daily Continuous Replication backup in XO:

                                        Yesterday I upgraded Ubuntu kernel. And expanded XO disk, because initially it was set too small and there was almost no free space left.

                                        Funny.... I did the exact same thing yesterday in order to upgrade to Ubuntu 19.10. Now my Delta backup job has exhibited this same behavior of running twice after restarting XO.

                                        1 Reply Last reply Reply Quote 0
                                        • DanpD Offline
                                          Danp Pro Support Team @julien-f
                                          last edited by

                                          @julien-f said in daily Continuous Replication backup in XO:

                                          It would help if you could reproduce the issue with the official XOA, because we know the environment and how it was built.

                                          I've just replicated it on the latest release channel of XOA. Let me know if you want me to also test it on the stable channel or if you want to remote into the VM to examine the setup.

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

                                            @Danp Thank you, latest is fine, do you have by any chance a sure process to replicate the issue?

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