Magnus Larsson writes:
 
> Thanks for pointing me to the typo earlier. Here is another issue that
> I don't seem to understand.
> 
> My plan is to burn the backus to DVDs.  So I set up a host, archivehost, by 
> creating a file archivehost.pl containing this:
> 
> $Conf{XferMethod} = 'archive';
> $Conf{ArchiveDest} = ['/var/lib/backuppc/archives'];
> 
> And I added this host to the hosts file with this line: 
> 
> archivehost   0       backuppc        
> 
> To run this, and create the archives, I went to the web interface, chose this 
> host, clicked on Start archive, chose localhost to archive and was presented 
> with settings (slit size etc). Everything seemed ok, and I click Start 
> archiving. Server replies "ok". And then I get an error msg. This is from the 
> log file: 
> 
> Executing: /usr/share/backuppc/bin/BackupPC_archiveHost 
> /usr/share/backuppc/bin/BackupPC_tarCreate /usr/bin/split  
> localhost 1 /usr/bin/bzip2 .bz2 4000000000 ARRAY(0x845eb44)  *
> Xfer PIDs are now 13213
> mkdir ARRAY(0x845eb44): Access denied 
> at /usr/share/backuppc/bin/BackupPC_archiveHost line 100
> Archive failed: mkdir ARRAY(0x845eb44): Access denied 
> at /usr/share/backuppc/bin/BackupPC_archiveHost line 100

The typo is your setting for $Conf{ArchiveDest}.  It should
be a simple string, not an array:

    $Conf{ArchiveDest} = '/var/lib/backuppc/archives';

Craig


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to