On Thu, 2015-05-07 at 20:00 +0000, Debra S Baddorf wrote:
> No,   if you back up   /var    and are sitting  ABOVE   /var    (i.e.   in   
> /    I suppose  )
> it’ll be okay.    Otherwise,   if you are sitting  IN  /var   and you try to 
> restore   /var
> you’ll   get    /var/var
> 
> Won’t you?   That’s  the kind of thing I always find.

It shouldn't.  A backup of /var will back up everything beneath /var and
then also ".", just as if you ran "tar cf file -C / ./var".  When
restoring to /var, everything backed up beneath /var should be restored
in place and then you are usually given the choice of whether you want
the ownership and permissions of "." at the time of backup applied to
the CWD.

Paul


Reply via email to