Hi!

On Sat, 5 Jul 2008, Alexander Zangerl wrote:

tags 489315 +unreproducible,moreinfo
thanks

On Sat, 05 Jul 2008 00:51:06 +0200, "Chief O'Cordes" writes:
duplicity ignores --no-encryption as far as I know. Following the
manpage files should be stores as gzipped archives but instead duplicity
produced encryped .gpg files.

i cannot reproduce this here :-(

The command I use is the following:

duplicity full  --no-encryption --include-globbing-filelist
/tmp/fileQ04Xkj --exclude '**' / file:///scratch/backup/duplicity

i've run the very same cmdline (just with a filelist of my own)
and it works just fine. (with the only, imho minor difference
that i use an older python version.)

could you please rerun your command with "-v 9" and send me the output?


Yes, but the output is the problem. When I start the command manually in a shell everything is fine -v 9 produces a lot of output and Iget .gz files but in my shell script neither of the no-encryp or debug parameter are working.

So I attach the important parts of my script:

----snip ----

#!/bin/sh


# define a backup strategy

export PATH="/bin:/usr/bin:/sbin:/usr/sbin"
#echo "PATH=$PATH"


PARAMS="--no-encryption -v 9"
FLIST=$HOME/bin/backup.list
FLIST_TMP=`tempfile`
DEST="file:///scratch/backup/duplicity"
LOGDIR=/scratch/backup/log
LOGFILE=$LOGDIR/duplicity.log

# HINT: Generate a good passphrase using "pwgen -s 16"
GPG_PASSWORD="backup"
exec >> $LOGFILE  2>&1

if ! [ -d $LOGDIR ]
 then
  mkdir $LOGDIR
fi

# build backup-list

cat $FLIST >> $FLIST_TMP

DIRS=`find /home -type d -maxdepth 1`

for i in $DIRS
do
 if [ -s $i/.backup.dirs ]
  then
   cat $i/.backup.dirs >> $FLIST_TMP
 fi
done

if [ "$1" = "-f" ]
 then
  FPARAM="full"
 else
  FPARAM="incr"
fi

echo "-------- start duplicity ---------"
date
echo ""
echo "directory list:"
cat $FLIST_TMP
echo ""
echo "env PASSPHRASE=$GPG_PASSWORD duplicity $FPARAM $PARAMS --include-globbing-filelist $FLIST_TMP --exclude '**' / $DEST" env PASSPHRASE=$GPG_PASSWORD duplicity $FPARAM $FPARAMS --include-globbing-filelist $FLIST_TMP --exclude '**' / $DEST


echo ""
echo "-------- end duplicity ----------"


This is the not working script to which I referrerd in the first mail. And I tested the commandline manually without the PASSPHRASE a few minutes ago and it worked as expected or as it worked month ago ...

Is there a problem with the redirection?

Best wishes,
        Oliver


regards
az




--
 (O>  (0-   _o)   -O)
 //\  //\    /\\  /\\
 V_/_ V_/_  _\_V _\_V

 Dr. Oliver-M. Cordes       E-Mail:   [EMAIL PROTECTED]
                            WWW-URL:  http://www.astro.uni-bonn.de/~ocordes/
 Argelander Institut fuer Astronomie
 Universitaet Bonn          Phone:    (49) 228 / 73-5656
 Auf dem Huegel 71          Fax:      (49) 228 / 73-3672
 D - 53121 Bonn    Germany

 Private address: Zukunftsweg 10 , D - 53343 Wachtberg-Villiprott
 Private phone:   (49) 228 / 7482582



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to