BackupPC-users

[BackupPC-users] archiveReq.xxxx.yy

2010-10-27 10:19:28
Subject: [BackupPC-users] archiveReq.xxxx.yy
From: Jérôme DESPATIS <jerome.despatis AT source-rh DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 27 Oct 2010 15:19:59 +0200
Hi,

I'd like to schedule an archive job (launched by cron)

While googling I've seen this very interesting post:
http://www.mail-archive.com/backuppc-users AT lists.sourceforge DOT 
net/msg04469.html

And an example code: 
http://www.mail-archive.com/backuppc-users AT lists.sourceforge DOT 
net/msg04514.html

 From those inspiratio, i've created a very basic php script that sends 
the correct message to launch the archive job, it's ok and working, I 
can see the launching process in the log

BUT: if I cancel the archive job with the CGI, everything seems to be 
fine, but ps uax tells me tar process is still active, and in fact the 
archive job is not stopped at all!

I've created in fact a php script that creates the file 
archiveReq.xxx.0, xxx being replaced by the pid of my php script

=> maybe backuppc really uses the value of xxx into this filename to 
kill the correct pid ? (and of course, this pid no more exist, as my php 
script is an external script that sends the message to backuppc daemon 
and closes just after)

Someone can give me some clues about this ?

Here is an example of the command launch on the shell:
BackupPC_serverMesg archive backuppc archivedvd archiveReq.17541.0

with archiveReq.17541.0:

%ArchiveReq = (
   'archiveloc' => '/home/burnthis',
   'reqTime' => '1288183621',
   'BackupList' => [
     '306'
   ],
   'host' => 'archivedvd',
   'parfile' => undef,
   'archtype' => '0',
   'compression' => '/bin/bzip2',
   'compext' => '.bz2',
   'HostList' => [
     'localhost'
   ],
   'user' => 'backuppc',
   'splitsize' => '4699000000'
);

Any help is welcome...

------------------------------------------------------------------------------
Nokia and AT&T 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 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/

<Prev in Thread] Current Thread [Next in Thread>