Hello! I am using the following command within a script that is part of a cron job:
/usr/share/BackupPC/bin/BackupPC_serverMesg archive backuppc archive archiveReq.$1.cron.0 where $1 is the hostname to be backed up. This works fine with hosts with, say, only alpha characters (like localhost), but when I do it with hosts with dashes in them, I get the following error in the BackupPC log: archive: /usr/share/BackupPC/bin/BackupPC_archive: bad reqFileName (arg #3): archiveReq.host-name.cron.0 As you know, to do an archive that shows up in the GUI, you copy an archive request file into the archive pc directory and run the above command. If I merely remove the dashes from the filename and re-run the same command it works perfectly. Therefore, it seems to me that the problem is with the way that the file name parameter is parsed within the BackupPC_serverMesg (or related) executable. I'm not sure what I can do to get around this. I tried enclosing the file name in quotes, but that did not work. What could I try next? Tim Massey ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ 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/