BackupPC-users

Re: [BackupPC-users] Restores only directories and not directory content

2012-11-14 17:46:33
Subject: Re: [BackupPC-users] Restores only directories and not directory content
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 14 Nov 2012 16:45:04 -0600
On Wed, Nov 14, 2012 at 3:19 PM, Gary Roach <gary719_list1 AT verizon DOT net> 
wrote:
>
> I tried to try BackupPC_tarCreate and gave up. First the file wouldn't
> run until I appended ./ in front, not obvious to me at least.

That's normal.  Your search PATH for executables does not include the
current directory by default.

> Then I got
> the following:
>
>      BackupPC_tarCreate -n 169 -h <the backup computer with the data> -s
> / > target.tar
>      This returned - Wrong user: my userid is 0, instead of 112 (backuppc)
>      Please su backuppc first.

Again, normal and expected...  You need to run as the correct user.

>      su backuppc
>      $
>      $BackupPC_tarCreate -n 169 -h <the backup computer with the data>
> -s / > target.tar
>      sh: 2:can not crate target.tar: Permission Denied.

OK, now that you are the backuppc user, you need to direct the output
to a location where the backuppc user has permission to create a file.
 If you don't have one, as root create a directory to hold it on a
filesystem with space and 'chown backuppc /path/to/dir'.

>      sh:2:BackupPC_tarCreate: not found.

And that's the same thing as before.  Give the full path to the
program or use ./ if it is in your current directory.

-- 
   Les Mikesell
       lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
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/