-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NFS volume does not work (permission error?) #61
Comments
Sorry for the delayed reply. I don't have much prior experience trying to use NFS for the backend. Some online searches show that using The other possibility is that some of the |
Hi @mbentley! Thank you for your help. Unfortunately, I wasn't able to use a NFS backend successfully. However, I've decided to setup a timemachine service without NFS as a backend in first place and change that later on. If somebody else is using NFS as a backend for this container, please let me know :-). My actual
|
Recently, I added a few options that you can tweak via #70. I am not sure if there are settings like changing the value of |
Thank you again for your help! Unfortunately, the new version of the container image did not solve the problem for me. I've also tried This is the error (taken from
|
I have the same error. I did some digging and found that Finder is unable to copy files to the SMB share created by this container, but if I opened up terminal I could Next step is to figure out how to get that support... |
If that would be the case, it would be more that the given backing filesystem that you're using for the time machine share doesn't support It might be worth testing to see if the backing filesystem you're using has
On my system, I see:
|
My setup is probably more complicated than it needs to be: Proxmox host -> Ubuntu 20.04 VM / Docker -> Timemachine I have a ZFS pool on the Proxmox host that is shared via NFS and mounted as a volume in the Timemachine container (that's why I was thinking the ubuntu support would be required, but I still have a lot to learn about Docker).
I ran your handy xattr test commands on the Proxmox server in the backup directory:
This is probably beyond the scope of your work, but I appreciate the pointers! |
Well, I would think that the issue might be that |
Yep, sure looks like it. I abandoned the Ubuntu VM and moved to docker directly on proxmox. It's not "ideal," but it sure works well now. Thanks for the slick image, it works really well! |
Thanks @dansherman. I'm glad that you've found it useful! |
Added xattrs test to see if the persistent ds supports xattrs; fixes #61
OK, I have added a test at startup that will see if we can set xattrs. If not, it will just print a warning message. |
As a follow up question to this issue, has anyone had success in using a network mount (other than nfs) for the backing filesystem that does support xattr? I was thinking of mounting a cifs network share (which supports xattr) and using that for the backing filesystem. I would be curious if anyone has gotten this working and has an example configuration. I might be interesting in trying out this docker image if this were a possibility. |
First of all: Backup works fine with this "basic" configuration and a normal docker volume for datastore:
My dockerhost is a virtual machine and I want to mount a nfs volume for the TimeMachine backups. Therefore, I add the following part to the
docker-compose.yml
:Unfortunately, TimeMachine now refuses to start the backup and the log of the container lists this:
User
maxkratz
exists on both the vm and the NFS server and both accounts have id 1000 and group with id 1000.I've also tried
- SET_PERMISSIONS=true
as parameter, but this did not fix it.The container is able to create the folder on my NFS share with correct user and group:
This is my NFS share configuration:
Am I forgetting anything? I don't get it ... It would be very nice if someone could give me and idea!
The text was updated successfully, but these errors were encountered: