Re: [BackupPC-users] Jeff, script question (was Re: How to run night manually?)

2010-09-25 Thread Jeffrey J. Kosowsky
Robin Lee Powell wrote at about 10:56:23 -0700 on Thursday, September 23, 2010:
  
  Another question:  The script, running with -c, failed eventually
  at this line:
  
  my $err = $bpc-ServerConnect($Conf{ServerHost}, $Conf{ServerPort});
  
  My serverport is set to -1; does it need to be set for this to work?
  Could you not just call BackupPC_ServerMesg instead?  Perhaps I
  should hack my copy locally to do that...
  

I have it also set to -1 (that is the default value).

The line that you are sighting is a pretty stock call and is pretty
much independent of the rest of my script. I would suggest just
abstracting the relevant lines and trying to call the routine directly to see
why you can't connect to the server.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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] Jeff, script question (was Re: How to run night manually?)

2010-09-23 Thread Robin Lee Powell

Another question:  The script, running with -c, failed eventually
at this line:

my $err = $bpc-ServerConnect($Conf{ServerHost}, $Conf{ServerPort});

My serverport is set to -1; does it need to be set for this to work?
Could you not just call BackupPC_ServerMesg instead?  Perhaps I
should hack my copy locally to do that...

-Robin

-- 
http://singinst.org/ :  Our last, best hope for a fantastic future.
Lojban (http://www.lojban.org/): The language in which this parrot
is dead is ti poi spitaki cu morsi, but this sentence is false
is na nei.   My personal page: http://www.digitalkingdom.org/rlp/

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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] Jeff, script question (was Re: How to run night manually?)

2010-09-22 Thread Robin Lee Powell
On Wed, Sep 22, 2010 at 02:31:29AM -0400, Jeffrey J. Kosowsky wrote:
 Honestly, I never really looked into whether it enforces the
 constraints you mention above. But looking at the code, it seems
 that these constraints are enforced only by the BackupPC main
 routine (i.e. daeomon) itself (which then after checking such
 constraints uses the same server messaging system to actually call
 the BackupPC_nightly routine). Therefore my standalone routine
 would NOT enforce such constraints.

*Fantastic*.  Thank you!  That's exactly what I wanted.

-Robin

-- 
http://singinst.org/ :  Our last, best hope for a fantastic future.
Lojban (http://www.lojban.org/): The language in which this parrot
is dead is ti poi spitaki cu morsi, but this sentence is false
is na nei.   My personal page: http://www.digitalkingdom.org/rlp/

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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/