Micha Kersloot wrote:

I've got a problem with the PreUserCmd command on a archive host.
OS: Fedora Core 6
BackPC version: 3.0.0

The configuration was done with the webinterface:
dat36gb.pl
$Conf{ArchiveDest} = '/backup3/BackupPC/archive';
$Conf{XferMethod} = 'archive';
$Conf{ArchivePostUserCmd} = 'touch ~backuppc/ditwaseentest.txt';
$Conf{ArchivePreUserCmd} = 'touch ~backuppc/ditiseentest.txt';

The thing is that both commands never ran and at the moment i've got no clue where to start looking. The archives itself are created every night
without any problems. Someone an idea?

BackupPC doesn't have a shell for *UserCmd, so you have to use full paths (i.e. /bin/touch). You could also create a script that does what you want and put the location of the script in the *UserCmd variables.

Nils Breunese.


Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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/

Reply via email to