Nils Breunese wrote:
> 
> I believe your are going to run this as a cronjob, right? Why not make a 
> three line script (mount image, archive+gzip, unmount) and run that from 
> cron? Then you don't need to mess with any pre or post commands  in BackupPC. 
> Just an idea.
> 

Jeffrey J. Kosowsky wrote:
>
> So you could right a script instead.
>

The solution adopted is to use BackupPC_archiveStart in conjunction with 
$Conf{ArchivePreUserCmd} $Conf{ArchivePostUserCmd} each running a mini script 
to mount or unmount the encrypted disk.

This has exposed some odd behavior in BackupPC.  The archive is produced in 
...ArchiveName.tar.gz format.  To obtain this result ...ArchiveHost/config.pl 
must contain
$Conf{ArchiveComp} = '/bin/gzip';
Creating the archive consistently fails if the full path to gzip is not 
specified. However, making a change and save via the BackupPC web page either 
deletes this entry or changes it to "gzip" i.e. removes the path.  

In either case archive creation fails until ...ArchiveHost/config.pl is 
manually edited to restore the  the full path /bin/gzip.

Is this really odd behavior or simply my lack of familiarity with BackupPC?

SamK

-----------------------------------------
Email sent from www.virginmedia.com/email
Virus-checked using McAfee(R) Software and scanned for spam


-------------------------------------------------------------------------
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
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to