On 8/11/06, Craig Barratt <[EMAIL PROTECTED]> wrote:
> What doesn't make sense is that the two fulls have a lot less files
> than the incremental. I suspect you setup a small test for backups
> #0 and #1, then set it to backup a lot more prior to incremental #2.
> Therefore each incremental is backing up a lot of files not in the
> full. You should start a full backup and then see what happens
> with the next incrementals.
Ahh, now it all makes sense. I had considered this, but I was under
the impression that incremental meant files changed since the last
backup (incremental or full). Now I see that it means files changed
since the last full only. Manually scheduling a full backup caused all
future incrementals to be smaller. Thanks for setting me straight.
> My original claim still stands: on the dual boot system I
> suspect the uid/gid or mtime is not returned consistently
> when your machine is booted on windows vs linux. Therefore,
> if the last full was from windows, then a linux incremental
> will backup every file again (and vica versa). With rsync
> not a lot of data will be transferred, but it will take a
> lot more time. I suggested you manually run rsync in each
> case to see.
It looks like this is the case. Looking at the Xferlog files, the
initial full backup on Windows has entries like this:
create 644 18/544 13824 Filename
Whereas the incrementals in linux had entries like this for the same file:
same 555 0/0 13824 Filename
Is there any way to make rsync disregard the permissions just for the
dual-boot backup? I have the following in my config.pl file:
#
# Arguments to rsync for backup. Do not edit the first set unless you
# have a thorough understanding of how File::RsyncP works.
#
# Examples of additional arguments that should work are --exclude/--include,
# eg:
#
# $Conf{RsyncArgs} = [
# # original arguments here
# '-v',
# '--exclude', '/proc',
# '--exclude', '*.tmp',
# ];
#
$Conf{RsyncArgs} = [
#
# Do not edit these!
#
'--numeric-ids',
'--perms',
'--owner',
'--group',
'--devices',
'--links',
'--times',
'--block-size=2048',
'--recursive',
#
# If you are using a patched client rsync that supports the
# --checksum-seed option (see http://backuppc.sourceforge.net),
# then uncomment this to enabled rsync checksum cachcing
#
'--checksum-seed=32761',
#
# Add additional arguments here
#
'-D',
];
I'm thinking of changing perms, owner, group, and maybe times all to
no-OPTIONs. However, I'm concerned about how this will affect the
program as I don't understand how File::RsyncP works, as it says in
the comments. Can I go ahead and do this? Do I need times off or just
the owner/group/perms off?
Thanks again for all your help,
Cameron
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/