Hi Salvador,
My question is, is possible to add FileB to the last backup?
I mean, is possible some like rdiff-backup --update --include
~myFolder/FileB --exclude-regexp '.' myFolder backup
Then, If i list buckup content at last backup time, It should show:
myFolder
FilaA
FileB (added)
FileC
Well, one thing to remember is that if you do several backups of the
same directory to the same rdiff-backup repository, then the backup
repository always shows the state of the source directory at the time
of the most recent backup. So in your example, all you would need to
do to add in FileB is not to exclude it, i.e. to run rdiff-backup
with no --exclude options at all. Then FileA and FileC would stay
there (since they are still in the source directory), and FileB would
be added (since this time you haven't told rdiff-backup to exclude
it). So all you would need to do is
rdiff-backup myFolder backup
No explicit includes or excludes are needed, if all you want is for
the backup repository to exactly mirror the source filesystem. This
doesn't cause rdiff-backup to do any extra work to keep FileA or
FileC, since they were already there. (It will check their
modification times to make sure they haven't changed, but if they are
the same, it won't re-copy those files.)
Hope this helps,
Eric
_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki