Open GoogleCodeExporter opened 9 years ago
Yes, please update this. We need to verify that our frequent s3sync cron job is
successful. This appears to be an
easy update.
Original comment by pdt...@gmail.com
on 10 Jul 2009 at 3:48
Indeed, I just noticed that this would be excellent to do automated backups. I
thought of having a cron job like the following:
0 1 * * * SITE=example.com; s3cmd sync --exclude=cache /var/www/$SITE/
s3://$SITE || mail -s "Backup of $SITE to S3 FAILED" me@example.com --
But unfortunately there is no notification even after a failed backup, as s3cmd
sync always returns 0 even on errors...
Original comment by pablo.en...@gmail.com
on 2 Mar 2011 at 10:48
Yes.
Just realized that s3cmd doesn't give out the correct return status codes and
that makes it close to impossible to use it in shell scripts. (It's fairly
common that an upload to s3 failes)
Original comment by tob...@bandpage.com
on 24 Mar 2011 at 6:41
Can anyone please fix the exit code issue, it is very difficult to track the
status of file tranfers without this.
Original comment by svsnr2.r...@gmail.com
on 5 Oct 2012 at 11:02
+1 for non-zero return code on failed transfers. Just hit this problem as well.
Original comment by su...@longtailvideo.com
on 14 Jan 2013 at 10:21
FYI, seems like this project is abandoned? We've moved on to use:
https://github.com/aboisvert/s3cp which is a little more sane...
Original comment by ogrodnek
on 14 Jan 2013 at 10:25
Original issue reported on code.google.com by
ogrodnek
on 22 Sep 2008 at 10:14