Feedback on immutability
-
@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.
-
@john-c @olivierlambert i have installed nodejs on the synology box, i installed the application
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?
-
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 }
-
@rtjdamen said in Feedback on immutability:
@john-c @olivierlambert i have installed nodejs on the synology box, i installed the application
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.
-
@john-c ok, @olivierlambert any chance we can get someone to look into this?
-
@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.
-
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)
-
@olivierlambert i understand, i will let u know the results on our end as well.
-
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.
-
@olivierlambert any update on this item?
-
@olivierlambert Hi Olivier, it is pretty quite on this subject for a while now, any news or updates to expect?
-
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.
-
@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.
-
The question is: what's the exact target to get immutability on?
-
@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.
-
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
-
@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. -
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.
-
@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.
-
@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?