Re: [BackupPC-users] Almost working

2008-10-14 Thread Kenneth L. Owen

BackupPC_dump path = /usr/share/BackupPC/bin/BackupPC_dump  Verified


$Conf{MyPath} = '/bin'; # unchanged
$Conf{DfPath} = '/bin/df';  # unchaged, verified correct
$Conf{DfCmd} = '$dfPath $topDir';   # unchanged
$Conf{SplitPath} = '/usr/bin/split';# unchanged, verified
$Conf{ParPath}   = '';  # unchanged
$Conf{CatPath}   = '/bin/cat';  # unchanged, verified
$Conf{GzipPath}  = '/usr/bin/gzip'; # unchanged, verified
$Conf{Bzip2Path} = '/usr/bin/bzip2';# unchanged, verified
$Conf{ServerInitdPath} = '/etc/init.d/backuppc';# unchanged,
verified
$Conf{ServerInitdStartCmd} = '$ServerInitdPath start';  # unchanged,
verified
$Conf{SmbClientPath} = '/usr/bin/smbclient';# verified
$Conf{BackupPCdPath} = '';  # unchanged
$Conf{BackupPCdRestoreCmd} = '$bpcdPath TODO';  # unchanged
$Conf{NmbLookupPath} = '/usr/bin/nmblookup';# unchanged, verified
$Conf{PingPath} = '/bin/ping';  # unchanged, verified
$Conf{RsyncClientPath} = '/usr/bin/rsync';  # verified
$Conf{SshPath} = '/usr/bin/ssh';# unchanged, verified

The command line you sent was:
/usr/share/backuppc/bin/backuppc_dump -v -f WinServer

Looks like I just need to get the CapitalizaTion right on BackupPC and it
should work.
/usr/share/BackupPC/bin/BackupPC_dump -v -f WinServer

First test after correcting the capitalization failed with the following
errors:  

Remote[1]: rsync: link_stat "/winserver/SHARE1/." failed: No such file or
directory (2)
Remote[1]: rsync: link_stat "/winserver/SHARE2/." failed: No such file or
directory (2)

I opened config.pl and changed the share names to '/media/SHARE1' and
'/media/SHARE2'.

I reran the dump command line.  Looks like this fixed the problem as I
started getting a list of files from the first folder on SHARE1.

I aborted the dump command and ran BackupPC to request a full backup.  Job
started and is running as I type.

That only leaves one issue:  I can't log into the web GUI from the Windows
server.  I have ssl setup and can get the default web page with
https://Archiver/  but https://Archiver/BackupPC/ gets a 403 screen - Not
Authorized .  This is the same line that I use on Archiver to pull up the
BackupPC GUI.  -- ken
-Original Message-
From: Adam Goryachev [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 14, 2008 1:25 AM
To: General list for user discussion,questions and support
Subject: Re: [BackupPC-users] Almost working

That means that you are not finding the backuppc command... you will
need to work out where backuppc commands are installed. Try:
locate backuppc_dump
or
locate BackupPC_dump
(I think locate is case-insensitive)
You might also try something like:
rpm -ql backuppc | grep -i dump
See "man rpm" to find out how to get a list of files installed by a
package.. -q should be query). Mind you, it is a very long time since I
used rpm, so my command line might be wrong.
If all else fails, this will work:
find / |grep -i backuppc_dump

When you eventually find the correct command to execute, you can then
(as the backuppc user) run the command as follows:
BackupPC_dump -v -f hostname
You do not specify the sharename, or put any \ or / on the command line.
You specify the hostname, and backuppc will work out the shares from
your config files.

Also, hostnames should always be stored in your backuppc configs as
lower case, and probably used as lower case. (This is just my
suggestions, whether it makes a difference or not I do not know).
Technically, hostnames should be case in-sensitive, but using all lower
case everywhere should help rule it out as a problem.

So, find out where the backuppc commands are installed, run it with just
the hostname after the -v -f, and then send us the results.

Regards,
Adam

- --
Adam Goryachev
Website Managers
www.websitemanagers.com.au


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Feature Request: Link to latest Full

2008-10-14 Thread Nils Breunese (Lemonbit)
Yazz D. Atlas wrote:

> How difficult would it be to have BackupPC create a link to the last
> Full backup. The reason this would be handy to me is I'm required to
> backup to tape to a system I don't have much control over. I just want
> to tell the backup service a simple directorie to grab. I would like  
> to
> be able to tell them to backup
>
> $Conf{TopDir}/pc/example.com/last-full
>
> Which would link to $Conf{TopDir}/pc/example.com/95 if that was the  
> last
> Full backup.
>
> I hope to never uses there backup service to do a restore but for off
> site backup compliance I need to. I'm trying to save some bandwidth by
> not backing up everything I don't need. (I have over 240 clients and
> about 7T used under $Conf{TopDir} getting that off site has been a  
> huge
> issue)
>
> I may be able to just do it with $DumpPostUserCmd but I haven't tested
> that yet. I just think it would be nicer to have it as a built in  
> option.
>
>
> /bin/ln -sf $topDir/pc/$host/$(/bin/cat $topDir/pc/$host/backups \
> | /bin/grep full | /bin/sort -n | /usr/bin/tail -1 \
> | /bin/awk '{ print $1 }') $topDir/pc/$host/last-full

If you want to send an archive of a backup to tape that you can  
restore (without BackupPC), check out 'Archive Functions' in the  
BackupPC documentation: 
http://backuppc.sourceforge.net/faq/BackupPC.html#archive_functions

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/