Hi,

s3cmd has been working great but I ran into a little problem with my last 
level 0 dump.

Here's the code block that is failing:

cd /backup1/dukkha/$LEVEL.dukkha.wykids.org
   files=`/usr/local/bin/s3cmd  --config=/home/jross/.s3cfg ls  \
        s3://$LEVEL.dukkha.wykids.org | tr -s "  " " " | cut -f4 -d " "`
   for i in $files
     do
       /usr/local/bin/s3cmd --config=/home/jross/.s3cfg del $i
     done

   files=`ls`
   for i in $files
     do
       /usr/local/bin/s3cmd --config=/home/jross/.s3cfg  put $i\
        s3://$LEVEL.dukkha.wykids.org/$i
   done

Normally this works like a charm but this last time it failed like this:

File 'profiles.gz.age' stored as 's3://0.dukkha.wykids.org/profiles.gz.age' 
(10485760 bytes in 89.2 seconds, 114.85 kB/s) [1 of 1]
WARNING: Upload failed: /profiles.gz.agf ([Errno 5] Input/output error)
WARNING: Retrying on lower speed (throttle=0.01)
WARNING: Waiting 3 sec...
WARNING: Upload failed: /profiles.gz.agf ([Errno 5] Input/output error)
WARNING: Retrying on lower speed (throttle=0.05)
WARNING: Waiting 6 sec...
WARNING: Upload failed: /profiles.gz.agf ([Errno 5] Input/output error)
WARNING: Retrying on lower speed (throttle=0.25)
WARNING: Waiting 9 sec...
WARNING: Upload failed: /profiles.gz.agf ([Errno 5] Input/output error)
WARNING: Retrying on lower speed (throttle=1.25)
WARNING: Waiting 12 sec...
WARNING: Upload failed: /profiles.gz.agf ([Errno 5] Input/output error)
WARNING: Retrying on lower speed (throttle=6.25)
WARNING: Waiting 15 sec...
ERROR: Upload of 'profiles.gz.agf' failed too many times. Skipping that file.

Not only did it skip that file, it exited the shell loop and there were about 
another hundred 10 MB files to go.

Any ideas?  Are the return codes documented?

Thanks,

Jeff Ross

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to