Im trying to mount a remote nfs share from my backup server and then
rsnapshot a backup to that ( and then unmount it )
ive added a user and home directory on the server, added it to
/etc/exports and can mount it
on the server
root < at > server2:/home/backup/mars/hourly.0/mars# ls -la /home/backup/ | grep ma
drwxrwxrwx 4 mars users 4096 2011-09-01 14:27 mars
root < at > server2:/home/backup/mars/hourly.0/mars#
on the client
mars < at > mars-desktop:/mnt$ mount | grep nfs
192.168.2.20:/home/backup/mars on /mnt/marsbackup type nfs
(rw,vers=4,addr=192.168.2.20,clientaddr=192.168.2.3)
and i get this
mars < at > mars-desktop:/mnt$ sudo rsnapshot -c /etc/rsnapshot.conf hourly
require Lchown
Lchown module loaded successfully
Setting locale to POSIX "C"
echo 6806 > /var/run/rsnapshot.pid
mkdir -m 0755 -p /mnt/marsbackup/hourly.0/
/usr/bin/rsync -avx --delete --numeric-ids --relative --delete-excluded \
--temp-dir=/tmp --exclude=*iso --exclude=Dropbox/* --exclude=Ubuntu* \
--exclude=.* --exclude=Downloads/* /home/mars \
/mnt/marsbackup/hourly.0/mars/
sending incremental file list
created directory /mnt/marsbackup/hourly.0/mars
/home/
rsync: chown "/mnt/marsbackup/hourly.0/mars/home" failed: Remote I/O
error (121)
/home/mars/
rsync: chown "/mnt/marsbackup/hourly.0/mars/home/mars" failed: Remote
I/O error (121)
/home/mars/A4L Flyer (2up, 2x A5).ott
/home/mars/Agenda_Committee Net Meeting_17_July_2011.pdf
/home/mars/CTX.DAT
etc
on the server its this
root < at > server2:/home/backup/mars/hourly.0/mars/home/mars# ls -la
total 1956
drwx------ 21 nobody nogroup 4096 2011-09-01 14:38 .
drwx------ 3 nobody nogroup 4096 2011-06-04 15:27 ..
-rw------- 1 nobody nogroup 113146 2011-08-26 13:40 a4flyer.jpg
-rw------- 1 nobody nogroup 9955 2011-08-26 12:16 A4L Flyer (2up, 2x
A5).ott
-rw------- 1 nobody nogroup 71243 2011-07-17 20:10 Agenda_Committee
Net Meeting_17_July_2011.pdf
I can access the backed up stuff from the server , as root .
but when i come to run the backup again
it fails
mars < at > mars-desktop:/mnt$ sudo rsnapshot -c /etc/rsnapshot.conf hourly
require Lchown
Lchown module loaded successfully
Setting locale to POSIX "C"
echo 6918 > /var/run/rsnapshot.pid
native_cp_al("/mnt/marsbackup/hourly.0", "/mnt/marsbackup/hourly.1")
mkdir("/mnt/marsbackup/hourly.1", 0755)
safe_chown(4294967294, 4294967294, "/mnt/marsbackup/hourly.1")
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot -c /etc/rsnapshot.conf hourly
----------------------------------------------------------------------------
ERROR: Warning! Could not safe_chown(4294967294, 4294967294,
"/mnt/marsbackup/hourly.1");
ERROR: Error! cp_al("/mnt/marsbackup/hourly.0/",
"/mnt/marsbackup/hourly.1/")
/usr/bin/logger -i -p user.err -t rsnapshot /usr/bin/rsnapshot -c \
/etc/rsnapshot.conf hourly: ERROR: Error! \
cp_al("/mnt/marsbackup/hourly.0/", "/mnt/marsbackup/hourly.1/")
rm -f /var/run/rsnapshot.pid
mars < at > mars-desktop:/mnt$
is it something ive missed.configured that stops rsync changing the
permissions on the nfs -mounted filesystem ?
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
