.exclude file or similar?

2014-03-07 Thread David Williams
Is there a way to have a per-directory .exclude file or similar which tarsnap consults while traversing the file tree? I run tarsnap daily as root to back up my machine (including /home) and it would be nice if there was a way for a user account to create listings of files/folders to be excluded

Re: .exclude file or similar?

2014-03-07 Thread Colin Percival
On 03/07/14 03:39, David Williams wrote: > Is there a way to have a per-directory .exclude file or similar which > tarsnap consults while traversing the file tree? I run tarsnap daily > as root to back up my machine (including /home) and it would be nice > if there was a way for a use

Re: .exclude file or similar?

2014-03-07 Thread David Williams
Thanks for the quick response and for the nodump tip. I'll look into that. Best, Dave On Fri, Mar 7, 2014 at 9:28 AM, Colin Percival wrote: > On 03/07/14 03:39, David Williams wrote: >> Is there a way to have a per-directory .exclude file or similar which >> tarsnap consu

Re: .exclude file or similar?

2014-03-08 Thread Luís Avelino Relógio
One could capture the .exclude files prior to the execution of tarsnap and generate a -X exclude.file On 7 March 2014 11:39:19 WET, David Williams wrote: >Is there a way to have a per-directory .exclude file or similar which >tarsnap consults while traversing the file tree? I run t

Re: .exclude file or similar?

2014-03-09 Thread Gabriel Kerneis
On Fri, Mar 07, 2014 at 08:13:47PM +, Luís Avelino Relógio wrote: > One could capture the .exclude files prior to the execution of tarsnap and > generate a -X exclude.file find / -name .exclude -execdir xargs -a {} readlink -m \; > exclude.file Best, -- Gabriel

Re: .exclude file or similar?

2014-06-29 Thread Gabriel Kerneis
On Sun, Jun 29, 2014 at 06:04:01AM -0700, jerry wrote: > Getting back to loving Unix: I wrote a quickie wrapper for tarsnap in > Perl. It goes and gets the excludes file from the top directory of > the tree being backed up, and creates a tarsnap command line. This has already been discussed a f

Re: .exclude file or similar?

2014-06-29 Thread Colin Percival
On 06/29/14 08:03, Gabriel Kerneis wrote: > On a related note: shall we start making a FAQ for this list? Please do! I'm horrible at writing that sort of documentation because I have too much of a mental model of how Tarsnap works -- I have trouble putting myself into the place of someone experie

Re: .exclude file or similar?

2014-06-29 Thread Jamie Landeg-Jones
Gabriel Kerneis wrote: > posted the following one-liner to generate a single exclude-file > collecting the content of .exclude in sub-directories: > > On Sun, Mar 09, 2014 at 11:11:59AM +, Gabriel Kerneis wrote: > > find / -name .exclude -execdir xargs -a {} readlink -m \; > exclude.file Bew