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.
    • 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
                                  • R Offline
                                    rtjdamen @olivierlambert
                                    last edited by

                                    @olivierlambert agree on that, nas in general is a good solution for backup repos, we work with synology for years but i can imagine others have different solutions. We worked with nakivo prior to XOA and they supported several nas based versions, all app based, i can check with them on this if u like.
                                    First goal for me would be to get it working on synology.

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

                                      I'm fine to target Synology first, so we need a dedicated resource to know how to build Syno app, because we have no idea.

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

                                        @olivierlambert said in Feedback on immutability:

                                        I'm fine to target Synology first, so we need a dedicated resource to know how to build Syno app, because we have no idea.

                                        If you later target TrueNAS bear in mind that TrueNAS Enterprise has immutable Snapshots support.

                                        Also TrueNAS Scale is based on Debian Linux and with the most recent update it's using Docker containers for its apps functionality.

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

                                          @olivierlambert i will discuss with my 2 developers to see if this is something we can do internally or if we need to involve someone else. Who is doing this within vates? Can we discuss them directly?

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

                                            That's still @florent and you know he's pretty busy ATM 😛 However, you should have the immutability script available around to adapt it for Syno, it shouldn't be really hard and since it's fully self-contained, I don't see any risk to work on this 🙂 Happy to review any contribution!

                                            edit: source code is here: https://github.com/vatesfr/xen-orchestra/tree/master/%40xen-orchestra/immutable-backups

                                            R 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post