If you are using cron, normally an email will be sent to the owner
of the script (eg root if the command is in the root crontab) if
there is any output from the script.

In my experience s3cmd sync usually generate output even if
there isn't anything to update so you should be getting emails
now.

You can add the directive:

MAILTO="somebody@somedomain"

to change the address mail is sent to.  (This does assume your Ubuntu
machine is configured with a MTA.  If that hasn't been set up
a bit of web-searching should show you the way.)

On 1/1/2015 8:12 PM, Cory Tselikis wrote:
> Hello all,
> 
> I am new to s3cmd tools as well as not very proficient with linux. 
> 
> I am running a ubuntu virtual machine with a zfs store for dumping my
> backups to. Once they have been dumped i have a cron setup to run at 4am
> using the sync method to send the updated changes to s3. My question is
> does anyone know how to setup an email report or is there a logfile that
> can be used to report on if the sync completed or log any errors? I just
> want to make sure that I get a report each day stating that my upload
> was complete etc. 
> 
> Thanks for your help
> 
> -- 
> Sincerely,
> Cory Tselikis
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> 
> 
> 
> _______________________________________________
> S3tools-general mailing list
> S3tools-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/s3tools-general
> 


-- 
Will McCown, Rolling Hills Estates, CA
w...@ross-mccown.com

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to