s3: Wait longer after failure, pick up any failed pieces later.
[clinton/scripts.git] / s3.common
index f5f2361..0365beb 100644 (file)
--- a/s3.common
+++ b/s3.common
@@ -44,7 +44,8 @@ function move_over () {
     local dest=$BACKUPDIR/$subdir
     local ret
     split -d -b ${CHUNKSIZE}m - ${file}.
-    for i in ${file}.*; do
+#    for i in ${file}.*; do
+    for i in *.[0-9][0-9]; do
         echo "Transferring $i to S3 ..."
         s3_cmd put $dest/$i $i
         rm -f $i