[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tarsnap feature question
On Wed, Apr 3, 2013 at 11:22 AM, Daniel Staal <DStaal@usa.net> wrote:
> But if the directory *you are restoring to* has x y and z, do they still
> exist after the restore? Does tarsnap *delete* them because they weren't in
> the backup set? Or does it just restore all the files that *were* in the
> backup set, and leave the rest alone? That's the question.
Of course not. Neither does tar. Neither does restore.
I would never (as in NEVER) do a restore to a working directory,
anyway - unless the specification for the file pattern (omitted in my
example) was very specific. I create a restore directory, cd into it,
and traverse the tree to get whatever files I want, and copy them.