BackupPC Server:
---------------
RHEL6.2
BackupPC-3.2.1-7.el6.x86_64 (EPEL)
rsync-3.0.6-5.el6_0.1.x86_64
/var/lib/BackupPC is an NFS mount point (i.e. the BackupPC server is
an NFS client)
mounted via /etc/fstab entry:
nfsserver.example.comoh :/mnt/backup/gs-444-e10285
/var/lib/BackupPC nfs exec,suid,rw,rsize=8192,wsize=8192 1 1
rsync --version
rsync version 3.0.6 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes
NFS server:
---------------
RHEL4.9
rsync-3.0.7-1.el4.rf (from dag repo):
rsync --version
rsync version 3.0.7 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, no symtimes
I'm trying to backup localhost. The first backup I ran was successful.
This was my localhost.pl config:
$Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '/usr/bin/sudo $rsyncPath $argList+';
$Conf{RsyncArgs} = [
'--numeric-ids',
'--perms',
'--owner',
'--group',
'-D',
'--links',
'--hard-links',
'--times',
'--block-size=2048',
'--recursive',
'--exclude',
'/var/lib/BackupPC'
];
Of course I have setup sudo for backuppc to run rsync with no password.
Then I decided that I wanted to make sure the metadata was backed up, so
after a little googling it seems that adding --acls and --xattrs to the
rsync options would do it:
$Conf{RsyncArgs} = [
'--numeric-ids',
'--perms',
'--owner',
'--group',
'-D',
'--links',
'--hard-links',
'--times',
'--block-size=2048',
'--recursive',
'--acls',
'--xattrs',
'--exclude',
'/var/lib/BackupPC'
];
However, now when a backup runs, it times out after 20 hours with signal
ALRM; e.g:
2012-05-19 11:00:12 incr backup started back to 2012-05-16 14:50:08 (backup #0)
for directory /
2012-05-20 07:00:12 Aborting backup up after signal ALRM
2012-05-20 07:00:13 Got fatal error during xfer (aborted by signal=ALRM)
I can see that when the backup is running that $TopDir/pc/localhost/new
is not growing -- it stays at 8K during the entire 20 hours.
I took out the two new options and ran another incr backup, it seems to
be working fine (it's running now, and "$TopDir/pc/localhost/new" is
growing in size)
Suggestions, please?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert Jacobson Robert.C.Jacobson AT nasa DOT gov
Lead System Admin Solar Dynamics Observatory (SDO)
Bldg 14, E222 (301) 286-1591
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|