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

    Feedback on immutability

    Scheduled Pinned Locked Moved Backup
    51 Posts 9 Posters 9.5k Views 11 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.
    • florentF Offline
      florent Vates 🪐 XO Team @Tristis Oris
      last edited by

      @Tristis-Oris in the toml , the string should be between quotes

      so liftEvery = "1h"

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

        We need to correct the blog post then 🙂

        1 Reply Last reply Reply Quote 0
        • R Offline
          rtjdamen @olivierlambert
          last edited by

          @olivierlambert we are using synology nas as backup repositories, do u have any experience with them on this subject?

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

            Not specifically with them, but if we can run a program inside this, we could have immutability (maybe you can even configure it at Syno level?)

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              john.c @olivierlambert
              last edited by john.c

              @olivierlambert said in Feedback on immutability:

              Not specifically with them, but if we can run a program inside this, we could have immutability (maybe you can even configure it at Syno level?)

              Synology has a developers program, which people can join, through this it's possible for a version of the immutability service developed for Xen Orchestra, to be deployed as a packaged program on one of their NAS products.

              https://www.synology.com/en-us/support/developer

              Check out the above link for more information.

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rtjdamen @john.c
                last edited by

                @john-c @olivierlambert i have installed nodejs on the synology box, i installed the application

                c8af96b3-2fab-4186-86f0-65bb2d403516-image.png

                i am not shure if it actually is installing, i tried to go to /etc/xo-immutable-remote/ but the directory is not there, do i need to create it or should this have been installed?

                R J 2 Replies Last reply Reply Quote 0
                • R Offline
                  rtjdamen @rtjdamen
                  last edited by

                  I created the directory and config file and tried to start the application but it get the follwoing error

                  xo-immutable-remote
                  /usr/local/lib/node_modules/@xen-orchestra/immutable-backups/node_modules/@iarna                                              /toml/lib/toml-parser.js:311
                         throw this.error(new TomlError('Unexpected character, expected only whit                                              espace or comments till end of line'))
                                          ^
                  
                  TomlError: Unexpected character, expected only whitespace or comments till end o                                              f line at row 4, col 15, pos 122:
                  3: # some files need to be made mutable
                  4> liftEvery =  1h
                                  ^
                  5:
                  
                  
                     at TOMLParser.parseWhitespaceToEOL (/usr/local/lib/node_modules/@xen-orchest                                              ra/immutable-backups/node_modules/@iarna/toml/lib/toml-parser.js:311:26)
                     at TOMLParser.runOne (/usr/local/lib/node_modules/@xen-orchestra/immutable-b                                              ackups/node_modules/@iarna/toml/lib/parser.js:64:30)
                     at TOMLParser.goto (/usr/local/lib/node_modules/@xen-orchestra/immutable-bac                                              kups/node_modules/@iarna/toml/lib/parser.js:87:17)
                     at TOMLParser.recordAssignStatement (/usr/local/lib/node_modules/@xen-orches                                              tra/immutable-backups/node_modules/@iarna/toml/lib/toml-parser.js:337:19)
                     at TOMLParser.runOne (/usr/local/lib/node_modules/@xen-orchestra/immutable-b                                              ackups/node_modules/@iarna/toml/lib/parser.js:64:30)
                     at TOMLParser.returnNow (/usr/local/lib/node_modules/@xen-orchestra/immutabl                                              e-backups/node_modules/@iarna/toml/lib/parser.js:107:17)
                     at TOMLParser.recordAssignValue (/usr/local/lib/node_modules/@xen-orchestra/                                              immutable-backups/node_modules/@iarna/toml/lib/toml-parser.js:380:19)
                     at TOMLParser.runOne (/usr/local/lib/node_modules/@xen-orchestra/immutable-b                                              ackups/node_modules/@iarna/toml/lib/parser.js:64:30)
                     at TOMLParser.returnNow (/usr/local/lib/node_modules/@xen-orchestra/immutabl                                              e-backups/node_modules/@iarna/toml/lib/parser.js:107:17)
                     at TOMLParser.parseNumberOrDateTimeOnly (/usr/local/lib/node_modules/@xen-or                                              chestra/immutable-backups/node_modules/@iarna/toml/lib/toml-parser.js:934:21) {
                   fromTOML: true,
                   wrapped: null,
                   line: 3,
                   col: 14,
                   pos: 122
                  }
                  
                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    john.c @rtjdamen
                    last edited by john.c

                    @rtjdamen said in Feedback on immutability:

                    @john-c @olivierlambert i have installed nodejs on the synology box, i installed the application

                    c8af96b3-2fab-4186-86f0-65bb2d403516-image.png

                    i am not shure if it actually is installing, i tried to go to /etc/xo-immutable-remote/ but the directory is not there, do i need to create it or should this have been installed?

                    Things on a NAS especially Synology NAS is different, as its not a normal Linux. It's been customised and developed by Synology so the structure is different, also packages may be missing that are expected as well as different versions.

                    So may be worth working with Vates on a Synology developer account and then having a GitHub repository with a port for the Synology.

                    R 2 Replies Last reply Reply Quote 0
                    • R Offline
                      rtjdamen @john.c
                      last edited by

                      @john-c ok, @olivierlambert any chance we can get someone to look into this?

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        rtjdamen @john.c
                        last edited by

                        @john-c @olivierlambert i will check out with our own developers what we can do on this subject, maybe we can help develop a draft application/package here. keep u posted on the results.

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

                          We are pretty busy right now (release week), but we'll try to take a look later 🙂 (@marcungeschikts will try to find someone available later on)

                          R 3 Replies Last reply Reply Quote 0
                          • R Offline
                            rtjdamen @olivierlambert
                            last edited by

                            @olivierlambert i understand, i will let u know the results on our end as well.

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              john.c
                              last edited by

                              When working on this later on it maybe worth checking out lru-cache to see if inflight can be replaced. Due to inflight not being supported and leaks memory.

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rtjdamen @olivierlambert
                                last edited by

                                @olivierlambert any update on this item?

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rtjdamen @olivierlambert
                                  last edited by

                                  @olivierlambert Hi Olivier, it is pretty quite on this subject for a while now, any news or updates to expect?

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

                                    Hi,

                                    Immutability is still possible via your S3 provider or via the Linux script we provided. It's still in the backlog to see how to get it integrated with 3rd party providers.

                                    R 1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rtjdamen @olivierlambert
                                      last edited by

                                      @olivierlambert is this something we can help develop? what language is it currenlty being written? maybe i can ask our developer to have a look an contribute.

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

                                        The question is: what's the exact target to get immutability on?

                                        R 1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          rtjdamen @olivierlambert
                                          last edited by

                                          @olivierlambert in general i believe creating it inside synology would be good for us but i can imagine an universal kind of solution would be the best.

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

                                            It's not possible to have an universal solution, I mean we did a Linux solution, but as you can see each system is different (TrueNAS and such). So we should start with what people need/ask first 🙂

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