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

Re: Tarsnap ignoring --exclude



Thanks Colin!



Mobify LogoPeter McLachlan, chief architect
Mobify – Powering the Adaptive Web
mobify.com | @mobify
 Passionate about the mobile web? Check out mobifycareers.com


On Fri, Sep 20, 2013 at 6:40 PM, Colin Percival <cperciva@tarsnap.com> wrote:
On 09/20/13 18:34, Peter McLachlan wrote:
> Tarsnap ignores my --exclude lines.  Am I doing something wrong?  Seems OK from
> the the man page:
>
> /usr/local/bin/tarsnap -C / --exclude /root/.snorby-cloud --exclude
> /home/peter/tmp -c -f `date +\%Y-\%m-\%d.\%H.\%M`  etc home usr/local root

The --exclude option doesn't work with absolute paths, since they don't match
the relative paths of objects being stored.  Take the leading / off your exclude
lines and it should work.

--
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid