![]() Identify the groups to which the directories you want to backup belong.įreeNAS > Storage >. I went ahead and tried my proposal, and it works quite well. This makes it much less likely that the customizations will interfere with other plugins or FreeNAS/TrueNAS itself. In contrast, because a user can have multiple GIDs, leave the FreeNAS user list alone and modify the group list in the Duplicati jail.Īs a general rule, when customizing jailed plugins it’s best to do the customizations in the jail itself. Once you assign Duplicati’s UID to the FreeNAS Duplicati user, FreeNAS user FooBar would be out of luck. If instead you find the Duplicati user’s UID in the jail and then create a Duplicati user with the same UID in FreeNAS or TrueNAS, what happens when you run into the same problem with another plugin, call it FooBar, and it has a FooBar user with the exact same UID? An individual user can have only one UID but many GIDs. ![]() This approach works quite well and has some major advantages over NugentS’s suggestion of creating a user in FreeNAS with the same UID as Duplicati has in the jail.īy working only in the jail to assign the Duplicati user to the necessary groups, all customization remains in the jail and specific only to Duplicati. If not, create the group inside the jail and add Duplicati to it.ĭoes anyone with more experience see any reason why this wouldn’t work? If it works, it seems to be an easier, more elegant solution rather than running Duplicati as root or creating a separate user with the same uid as Duplicati.ĪDDED AFTER DEMONSTRATING THE PROOF OF CONCEPT (SEE BELOW).Check to see if the group id is assigned in the jail.So one would have to find the group IDs of the directories in FreeNAS, outside the jail, and then: The only fly in the ointment is that Duplicati is only a user in the jail it’s not in the base FreeNAS. ![]() What I propose is to look up the group for each of the three unseen directories and then add the Duplicati user to those groups. The key here is the middle (group) permission: 7. Two of the other three have 770, and one has 070. I created 5 directories, and Duplicati’s file browser only sees two. But I have a different suggestion for a possible solution. I’m also a newbee and have run into similar problems. See Giving Plugins Write Permissions to Your Data | iXsystems Community for useful information which I hadn’t spotted I think this is a different issue (currently), also permissions, but different Path ‘’, line 1, position 102397.īUT the specific file mentioned is back and readable. 21:15:17 +01 - : Failed to apply metadata to file: “/mnt/Music/Atomic Kitten/Right Now (2001)/12 - Strangers.mp3”, message: Unterminated string. caveat - I am getting some restore errors about failing to apply metadata to some files but the files are there and working. So we created a user in FreeNAs with a UID of 1001 to match the 1001 inside the Jail and gave that use all rights over the Dataset that we were trying to backup.Īnd it worked - the duplicati user can now see the files in the mountsĪnd restore them (even more important than backing them up). He suggested creating a user with the same UID as the UID that was in the Jail passwd file (1001) Given that the jail file structure is part of the FreeNAS file structure. Speaking to a freind of mine he came up with an a idea.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |