IgnoreFiles

From RdiffBackupWiki

Jump to: navigation, search

Let's say you want to mirror to a partition for easy booting. You don't want to overwrite /lost+found, and you don't want to delete it.

What you want is "--ignore '/lost+found'".

Thanks.

--Gambarimasu


Are you sure --ignore '/lost+found' doesn't work? I agree the first time it will delete the lost+found directory, but after that I don't think it should notice it there.


Here's a situation in which an --ignore option would make sense: http://lists.nongnu.org/archive/html/rdiff-backup-users/2008-07/msg00007.html


And another: --max-file-size=X could function like "ignore files with size less than or equal to X, but exclude files with size greater than X". At present, it functions like "include files with size less than or equal to X", which means that it will include *any* file, so it cannot be used like: rdiff-backup --max-file-size 134217728 --print-statistics --include '/home/joh/tmp/sync1' --exclude '/*' / /media/Backup/FarSite

Personal tools