Re: [BackupPC-users] Problems with dashes in archive request file with serverMesg

2008-01-14 Thread Craig Barratt
Tim writes: > Will this get added to future releases? Yes. Craig - 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/cl

Re: [BackupPC-users] Problems with dashes in archive request file with serverMesg

2008-01-14 Thread Timothy J. Massey
Craig Barratt <[EMAIL PROTECTED]> wrote on 01/13/2008 01:26:07 AM: > Tim writes: > > > archive: /usr/share/BackupPC/bin/BackupPC_archive: bad reqFileName (arg > > #3): archiveReq.host-name.cron.0 > > The error checking needs to be a bit more generous. In particular, this > line in BackupP

Re: [BackupPC-users] Problems with dashes in archive request file with serverMesg

2008-01-12 Thread Craig Barratt
Tim writes: > archive: /usr/share/BackupPC/bin/BackupPC_archive: bad reqFileName (arg > #3): archiveReq.host-name.cron.0 The error checking needs to be a bit more generous. In particular, this line in BackupPC_archive if ( $ARGV[2] !~ /^([\w.]+)$/ ) { should be something like: if ( $A

[BackupPC-users] Problems with dashes in archive request file with serverMesg

2008-01-08 Thread Timothy J. Massey
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),