[BackupPC-users] Can't locate BackupPC/Lib.pm on Centos5.6 x86_64

2011-08-06 Thread saed
Hello Guys , 
apology For being too late, work  stuff ..
continuing with BackupPC installation ... i tried both suggested methods 
just wanted to thank Kris for the Updated Version of the Wiki  : ) 
although i tried to follow the mentioned notes and gotcha's , it was no help ! 
i guess coz i played around a little .
so i thought it was better to start over as Richard Shaw Advised and install an 
official package from epel repo. and it went like 
a charm,
but i`m facing a small problem is ..

# htpasswd -c /var/lib/backuppc/passwd/htpasswd backuppc
htpasswd: cannot create file /var/lib/backuppc/passwd/htpasswd

seems i can`t set a password for the backuppc user to allow me to log in to the 
GUI 
Any Comments ?

+--
|This was sent by saed.a...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
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] DumpPreUserCmd commands only on full backups?

2011-08-06 Thread Brad Alexander
Actually, at work we are. I was just curious if this was available in
backuppc.

On Fri, Aug 5, 2011 at 10:51 PM, Michael Stowe
mst...@chicago.us.mensa.orgwrote:

  As the subject posits, is it possible to issue a dump pre- or
 post-command
  only on certain types of backups? For instance, we run bacula at work,
 and
  apparently the director states what kind of backup is running, either
 Full
  or Incr. So in your scripts, you can do something like
 
  if [ $1 != Full ] ; then
exit 0
  fi
 
  ...Rest of script...
 
  We use it to clear some specialized logs after they have been backed up
 in
  a
  Full. Is something like this possible in backuppc?
 
  Thanks,
  --b

 Why would it matter if the logs are being backed up in both an incremental
 and a full?  It's not like you're saving them to tape.


 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 The must-attend event for mobile developers. Connect with experts.
 Get tools for creating Super Apps. See the latest technologies.
 Sessions, hands-on labs, demos  much more. Register early  save!
 http://p.sf.net/sfu/rim-blackberry-1
 ___
 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/

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
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] Can't locate BackupPC/Lib.pm on Centos5.6 x86_64

2011-08-06 Thread Richard Shaw
On Sat, Aug 6, 2011 at 11:43 AM, saed backuppc-fo...@backupcentral.com wrote:
 Hello Guys ,
 apology For being too late, work  stuff ..
 continuing with BackupPC installation ... i tried both suggested methods
 just wanted to thank Kris for the Updated Version of the Wiki  : )
 although i tried to follow the mentioned notes and gotcha's , it was no help 
 ! i guess coz i played around a little .
 so i thought it was better to start over as Richard Shaw Advised and install 
 an official package from epel repo. and it went like
 a charm,
 but i`m facing a small problem is ..

 # htpasswd -c /var/lib/backuppc/passwd/htpasswd backuppc
 htpasswd: cannot create file /var/lib/backuppc/passwd/htpasswd

Are you sure that's the right directory? On Fedora which I assume
would be similar, the htpasswd file goes in /etc/Backuppc.

It needs to be wherever the apache config file says it should be, for
me it's in /etc/httpd/conf.d/BackupPC.conf

It used to be in a file called httpd and probably is on yours,
however, I recently upgraded to Fedora 15 and now it seems they've
renamed it to a file called apache.users, either way, it's going to
look for the file wherever the AuthUserFile directive in the
configurations says.

Richard

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
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] DumpPreUserCmd commands only on full backups?

2011-08-06 Thread Jeffrey J. Kosowsky
Brad Alexander wrote at about 16:41:44 -0400 on Friday, August 5, 2011:
  As the subject posits, is it possible to issue a dump pre- or post-command
  only on certain types of backups? For instance, we run bacula at work, and
  apparently the director states what kind of backup is running, either Full
  or Incr. So in your scripts, you can do something like
  
  if [ $1 != Full ] ; then
exit 0
  fi
  
  ...Rest of script...
  
  We use it to clear some specialized logs after they have been backed up in a
  Full. Is something like this possible in backuppc?
  

This should be possible... according to the config.pl inline
documentation (you have read it, right), the following variable is
available to $Conf{DumpPreUserCmd}, $Conf{DumpPostUserCmd},
$Conf{DumpPreShareCmd} and $Conf{DumpPostShareCmd}:
 $type type of dump (incr or full)

So just write a script with the above logic and pass it $type on the
command line when called from one of the above 'Cmd' variables.

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
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] Location of TopDir

2011-08-06 Thread Peter Lavender
On Tue, 2011-07-12 at 07:34 -0700, Mark Phillips wrote:

 To close this thread, I found the following:
 
 1. CIFS does support hard links. I ran a test linking some files as
 well as googled cifs+hard links. The Buffalo NAS boxes don't support
 NFS out of the box. One has to load new firmware to replace the OS,
 but the do support CIFS.


What about the RRD side of things? 

After a recent upgrade of the NAS firmware and the debian server, I
found problems with the nfs mounted filesystem, so I went to cifs, which
for the most part appeared to work fine, apart from RRD not being able
to get a lock:

2011-08-07 01:09:56 Cpool is 228.88GB, 203829 files (37 repeated, 4 max
chain, 4679 max links), 4369 directories

ERROR: could not lock RRD

I'm back to trying out nfs again.

Peter.
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
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/