Re: [BackupPC-users] Per PC config files issue

2006-12-13 Thread Craig Barratt
Holger writes:

  $Conf{ConfDir} = '/etc/BackupPC';
 
 in the main config.pl probably means the config files will be put somewhere
 beneath there - I take it from Lorentz Hinrichsens message in the same
 thread that the actual location is /etc/BackupPC/pc/$host.pl (substitute
 the hostname for $host).

Right.

  For what it's worth, I started with 2.1.2pl2 stable and had per-machine 
  configs for each machine working fine.  When I installed the 3.0.0beta3 
  as an upgrade OVER the existing install, it worked fine.  Maybe there's 
  something different about the install script that differs between 
  upgrade and a fresh install?
 
 As I understand it, the whole point of the $Conf{ConfDir} configuration
 variable is to let you choose where your configuration will be kept. FHS
 wants it below /etc, BackupPC 2.x.x kept it below $Conf{TopDir} (except
 there was no $Conf{TopDir} in 2.x.x ;-), which has the advantage of being
 near the pool, i.e. possibly on a separate hard disk. I believe, the
 install script leaves existing configuration files where they are by
 adjusting $Conf{ConfDir}. For new installations, BackupPC follows FHS and
 puts them below /etc/BackupPC, setting $Conf{ConfDir} accordingly.

Right.

In BackupPC 2.x the TopDir was hardcoded by configure.pl in
lib/BackupPC/Lib.pm so that BackupPC knew where to find the
config file (and all the pool and PC backup files, since they
were all in the same place).

In BackupPC 3.0.0, the FHS setting and the ConfigDir is hardcoded in
lib/BackupPC/Lib.pm. That's necessary so BackupPC knows where to find
the config file.  In non-FHS mode all the paths are hardcoded as
before.  BackupPC reads the config file and grabs the other directory
paths out of the config file.

So to change the config file location in 3.0.0 you have to edit both
the config file and lib/BackupPC/Lib.pm.

Craig

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsyncd doesn't complete

2006-12-13 Thread Chris Purves
Craig Barratt wrote:
 Chris writes:
 
 I am running backuppc 2.1.1 on debian.  I have a rsync server running on 
 a Windows XP machine (cwRsync).  The two machines are connected via a 
 VPN (L2TP over IPSEC).

 I can use rsync directly with no problems.  The transfer takes about 
 four minutes.  But when backuppc runs, the transfer freezes up after 
 what looks like the last file is transfered.  After two hours of 
 inactivity have passed, backuppc gives up and closes the connection as 
 well as not leaving even a partial backup.

 A significant difference I noticed between the two cases is that the 
 rsyncd log when calling rsync directly says rsync on test, but when 
 using backuppc says rsync on .  Test is the correct name of the rsyncd 
 share.  The only change I made to config.pl concerning rsync is to add 
 --compress as an rsync option.  Any help solving this problem is 
 appreciated.  Log/config file outputs are below.
 
 File::RsyncP doesn't support the --compress option, so you should
 remove it.  Try again and if it still fails please email the XferLOG
 file.
 

That fixed it.  I hadn't realised that BackupPC uses File::RsyncP and 
not the rsync client.

Thanks, Craig.

-- 
Chris


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Backuppc Win2k Errors

2006-12-13 Thread Byron Trimble
All,

This the error message that I'm getting when trying backup my Win2k server
with Backuppc using rsyncd:

rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Software
caused connection abort

Thanks,

Byron J. Trimble
Technical Specialist/Systems Administrator
407-515-8613
[EMAIL PROTECTED]
Skype ID: btrimble


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] How to have multiple directories excluded from backups on a single server

2006-12-13 Thread Eric J. Feldhusen
I'm running BackupPC 2.1.2pl2 under RHEL4 and I have a single server
with multiple directories that I don't want to backup, since the
directories are just linux distribution iso's or the iso's exploded.  I
have a single $Conf{BackupFilesExclude} with two directories.  If I put
two directories in that line, as it is below, the first directory listed
will be excluded, but the second directory is fully backed up.  If I
change the line to just one directory, that directory is excluded.

Any suggestions?

My config.pl for the server in question is below.

do /backupdata/conf/config.pl;

$Conf{RsyncShareName} = ['/', '/boot', '/var/ftp'];

$Conf{BackupFilesExclude}=['/var/ftp/pub/INSTALL',
'/var/ftp/pub/linux-iso'];

-- 
Eric Feldhusen
Network Administratorhttp://www.remc1.org
[EMAIL PROTECTED]
PO Box 270  (906) 482-4520  x239
809 Hecla St(906) 482-5031 fax
Hancock, MI  49930  (906) 370 6202 mobile


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Archive Backup and Restores

2006-12-13 Thread Ryan Kather
I have a problem.   I am looking for a way to archive hosts to our tape library 
for offsite storage.  However, the tape library is fully used by the horrible 
backup solution, NetVault by BakBone.  Unfortunately, we are unable to get rid 
of NetVault and must coexist.  I have to find a way to backup hosts from 
BackupPC to the NetVault owned library and restore when necessary. 

I'm worried about the disk structure of BackupPC in this regard.  It seems that 
I wouldn't be able to easily backup a specific host and restore individual 
files or directories from that host without restoring the entire BackupPC data 
store.  I cannot avoid using tapes because of the amount of data we are dealing 
with.  It is also unacceptable to have to restore the entire BackupPC data 
store for an individual file or directory, as it is too large. 

Is there a way I can archive host backups in a way that has unmangled names 
without compression or tar?  If not, is there a way that I can insert a 
specific host's archive back into an existing BackupPC data store for handling 
via the CGI interface?  

One last thing, as a side note.  I'm not really sure I understand the rationale 
of having full backups and incremental when using RSync.  

Ryan Kather


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] How to have multiple directories excluded from backups on a single server

2006-12-13 Thread Ambrose Li
On 13/12/06, Eric J. Feldhusen [EMAIL PROTECTED] wrote:
 I'm running BackupPC 2.1.2pl2 under RHEL4 and I have a single server
 with multiple directories that I don't want to backup, since the
 directories are just linux distribution iso's or the iso's exploded.  I
 have a single $Conf{BackupFilesExclude} with two directories.  If I put
 two directories in that line, as it is below, the first directory listed
 will be excluded, but the second directory is fully backed up.  If I
 change the line to just one directory, that directory is excluded.

 Any suggestions?

If nothing works, you can always try to tinker with the command that
actually gets the data (e.g., put multiple --exclude arguments into
$Conf{RsyncArgs}). This is what I do so I know that it will work, though
I'd have preferred the more normal method of $Conf{BackupFilesExclude}.

-- 
cheers,
-ambrose

So, does the egg come before the chicken, or the chicken before the
egg. That is a question we can never find an answer
to.---Subtitle103e.doc
---The answer is in Genesis chapter 2.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Archive Backup and Restores

2006-12-13 Thread Craig Barratt
Ryan writes:

 Is there a way I can archive host backups in a way that has unmangled
 names without compression or tar?

Yes - you can use the archive feature, or you can write your own script
that uses BackupPC_tarCreate to create a complete, self-contained tar
archive of any backup (unmangled, no compression).

 If not, is there a way that I can insert a specific host's archive
 back into an existing BackupPC data store for handling via the CGI
 interface?

There isn't a simple way to do that.

Craig

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/