Josh Marshall writes: > On Sat, 15 Jan 2005 01:09, Craig Barratt wrote: > > Shouldn't the last two lines be reversed, so that encryption is > > run after compression? > > Very true. My fault. This is what it should be: > > my $cmd = "$tarCreate -t -h $host -n $bkupNum -s $share . "; > $cmd .= "| $compPath " if ( $compPath ne "cat" && $compPath ne "" ); > $cmd .= "| encrypt_stream_command ";
I used this method to "ccencrypt" files during archive. Quite handy. In BackupPC_archiveHost, I just added a couple of lines after $compPath is added to $cmd, just like the above example... $cmd .= "| /usr/bin/ccencrypt --keyfile /root/backuppc_key"; $fileExt .= ".cpt"; Everything seemed to work. There were a few "Got unknown type 8" errors since probably tar didn't like some socket files, but tar seemed to complete. Then, at the very end: exiting after signal ALRM Archive failed: aborted by signal=ALRM So I'm not sure if I should really trust these archives. :) ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ 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/