It appears that $user substitution in $Conf{ArchivePreUserCmd} and
$Conf{ArchivePostUserCmd} are mis-documented. BackupPC_archive is passed
$user on the command line, but it comes from the CGI User, not the user
from the hosts file, as is the case for Dump and Restore, and
documentation for Arvhive.I found this because I was looking into adding the CGI user as a general substitution for all commands that can be invoked via CGI. Why not have a consistent set of substitution strings for all commands? One problem is that the CGI user must be passed on the command-line, but only BackupPC_archive has <user> as an argument, and most of them designed with a static set of arguments instead of option flags. Maybe a future release could be more flexible. Joe Krahn ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/
