You are not logged in.
Hi,
I'm trying to back up one computer (named archtop) to another (named archbox) using rdiff-backup. I'm running rdiff-backup as root because a lot of system files can't be accessed as any other user. I'm getting an error when I run rdiff-backup because root can't write to the NFS share:
OSError: [Errno 13] Permission denied: '/data/backups/devices/laptops/archtop/rdiff-backup-data/increments'I'm not sure why this is - shouldn't root be able to write anywhere? In any case, I modified /etc/group to add root to the nobody group (all the files on the share are nobody:nobody and 755), but that didn't help either. I can write to NFS just fine as my user, but then I can't access a lot of the system files. Both machines are running Arch x64.
Here's the relevant line in /etc/exports on archbox:
/data archtop(rw,sync,fsid=0,subtree_check)Here's the relevant line in /etc/fstab on archtop:
archbox:/ /data/ nfs4 rw,nfsvers=4,noauto,user 0 0Here's my rdiff-backup command:
rdiff-backup --exclude-special-files --exclude-globbing-filelist /etc/rdiff-exclude-list / /data/backups/devices/archtopHere's the contents of my rdiff-exclude-list:
- /mnt/*
- /data/*
- /media/*
- /dev/*
- /proc/*
- /sys/*
- /tmp/*
- /lost+found
- /home/lost+found
- /boot/lost+foundAny ideas?
Thanks!
Last edited by w1ntermute (2011-04-01 04:23:59)
Offline
Add the 'no_root_squash' option to the others in /etc/exports
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Add the 'no_root_squash' option to the others in /etc/exports
I'd tried that before, but it only worked after I restarted archtop. Things seem to be working now.
Offline