rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] How to include ./dir1 but exclude ./dir1/dir2


From: Andreas Olsson
Subject: Re: [rdiff-backup-users] How to include ./dir1 but exclude ./dir1/dir2
Date: Sat, 4 Jul 2009 16:08:09 +0200
User-agent: KMail/1.11.2 (Linux/2.6.28-13-generic; KDE/4.2.2; x86_64; ; )

On Saturday 04 July 2009 16:02:12 Adrian Smith wrote:
> rdiff-backup --include /home --include /etc --exclude
> /home/adrian/.VirtualBox --exclude / / $DEST
>
> The problem is the .VirtualBox directory is still being included in
> the backup. What am I doing wrong?

You are doing things in the wrong order. The exclusion of your Virtualbox 
folder should come before the inclussion of /home. Try the following:

rdiff-backup --include /etc --exclude /home/adrian/.VirtualBox \
  --include /home --exclude / / $DEST

// Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]