[Top][All Lists]

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

Re: [rdiff-backup-users] excluding .git, .svn, &c from rdiff-backup

From: Dominic Raferd
Subject: Re: [rdiff-backup-users] excluding .git, .svn, &c from rdiff-backup
Date: Fri, 25 Apr 2014 14:03:09 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 25/04/2014 03:48, Brice Burgess wrote:
I have a relatively simple rdiff backup script which backs up the 
`/home` directory to `/backups/test-target`.


rdiff-backup \
     --exclude '**/.git' \
     --exclude '**/.svn' \
     --exclude '**/.ssh' \
     --include /home \
     --exclude / \
     --print-statistics \
     / /backups/test-target


I want to exclude any .git, .svn, and .ssh directories encountered. 
Unfortunately the above does not appear to be working to accomplish this 
(.git directories are included in the backup). Any ideas?

running rdiff-backup 1.2.8 (debian wheezy)

Many thanks.

~ Brice

rdiff-backup-users mailing list at address@hidden
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Try adding ** immediately after .git, .svn and .ssh.

TimeDicer: Free File Recovery from Whenever

reply via email to

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