BackupPC-users

Re: [BackupPC-users] restores keep failing

2009-06-14 18:50:15
Subject: Re: [BackupPC-users] restores keep failing
From: Pieter Wuille <sipa AT users.sourceforge DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 15 Jun 2009 00:45:54 +0200
On Sun, Jun 14, 2009 at 04:58:41PM -0400, Jeffrey J. Kosowsky wrote:
> Adam Goryachev wrote at about 04:03:31 +1000 on Monday, June 15, 2009:
>  > Chris Baker wrote:
>  > > It seems that I can not reliably restore for more than two hours or
>  > > so. The restores just quit for no apparent reason.
>  > > 
>  > > I have to restore about 290 GB of files here, and I need to do it by
>  > > Monday morning. What should I do to make sure my restores are
>  > > successful? I simply can't afford to have my company lose time like
>  > > this.
>  > 
<cut>
>
> Another way to restore that might prove simpler is to use the recently
> posted fuse filesystem extension for backuppc. This allows you to
> "mount" any backup you want (including incrementals) as a filesystem
> with all the incrementals filled in. You could then copy/tar/rsync the
> resulting mounted file system.
> 
> A couple of caveats.
> - The ownerships will probably only be right if you have the same
>   users in the passwd file on the backuppc host as on your
>   client. Similarly, the permissions may have some issues if not run
>   as root (though I'm not sure)

Both backuppc and backuppcfs use numeric UIDs and don't bother to map
usernames. A normal cp would restore UIDs without any problems, tar
might need a --numeric-owner, rsync might need a --numeric-ids to
prevent them from doing uid mapping when machine that does the mount
differs from the machine te restore is done to.

The same holds for permissions - as long as the user doing the restores
has access himself, that shouldn't be a problem (but he might have trouble
restoring uid's for files not owned by himself). Backuppcfs will need a
-o allow_other.

> - The process may be slow...

I doubt it will be any slower than using BackupPC's own restore functionality.

-- 
Pieter

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/