[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Re: What happens if you add a --exclude to an
Re: [rdiff-backup-users] Re: What happens if you add a --exclude to an existing rdiff-backup?
Sat, 08 Jan 2011 11:15:53 +0100
Hi, according to rdiff-backups doc, excluded files are just treated as if they
would not exist. This means that a snapshot of such a file will be created in
the metadata once a backup run with the exclusion is performed, and the file
will be deleted from the mirror data.
"Dominic Raferd" <address@hidden> schrieb:
>I agree that makes sense in terms of the question in the body of your
>posting. But the subject of your posting was a slightly different
>question: 'What happens if you add a --exclude to an existing
>If a week ago you added --exclude /home/fred to your rdiff-backup line
>backing up /home, will /home/fred now be removed from the destination
>a "--remove-older-than 5D" run?
>In other words, if you add exclusion criteria to an existing
>rdiff-backup run, are the copies of the newly-excluded files removed
>from the main repository and placed in the increments folder [in which
>case they *would* be removed by a subsequent --remove-older-than
>command], or are they just left where they were [in which case they
>I don't know the answer, but if someone does I would be interested.
>On 07/01/11 21:31, Chris G wrote:
>> On Fri, Jan 07, 2011 at 02:38:45PM -0500, address@hidden
>>> When the files are deleted, they are copied to the increments folder
>>> kept till they are removed by --remove-older-than.
>> That makes sense, thank you.
>>> Chris G<address@hidden> wrote:
>>>> If you delete files/directories from the 'source' of an
>>>> will they get removed from the destination with an appropriate
>>>> "--remove-older-than" run?
>>>> For example if rdiff-backup has been backing up a hierarchy with a
>>>> directory called 'tmp' for a while and then the 'tmp' directory is
>>>> removed can one get rdiff-backup to remove the 'tmp' backups 7 days
>>>> later by "--remove-older-than 7D".
>>>> From the man page it sounds as if deleted files *will* be
>>>> Note that snapshots of deleted files are covered by
>>>> tion. Thus if you deleted a file two weeks ago,
>backed up imme-
>>>> diately afterwards, and then ran rdiff-backup
>>>> older-than 10D today, no trace of that file
>>>> Finally, file selection options such as --include
>>>> don't affect --remove-older-than.
>>>> But this bit from the examples section of the documentation worries
>>>> Note that an existing file which hasn't changed for a year
>will still be
>>>> preserved. But a file which was deleted 15 days ago cannot be
>>>> after this command is run.
>>>> Chris Green
>>>> rdiff-backup-users mailing list at address@hidden
>>>> Wiki URL:
>>> Your life is like a penny. You're going to lose it. The question
>>> How do
>>> you spend it?
>>> John Covici
>>> rdiff-backup-users mailing list at address@hidden
>>> Wiki URL:
>rdiff-backup-users mailing list at address@hidden
D. Kriesel / dkriesel.com