[Nottingham] Backups: How do you do yours?

Camilo Mesias camilo at mesias.co.uk
Wed Mar 16 11:11:59 UTC 2011


Hi,

In the past I have written small scripts to be run from cron, they do
all the work and log somewhere with appropriate redirection or command
line options. The scripts are written so they produce no output by
default, but if there is an error then they produce some messages.
Then I enable the cron feature to mail someone when the scripts
produce output.

This means I can leave cron to do the work and I get an email when
things go wrong.

-Cam

On Wed, Mar 16, 2011 at 11:00 AM, Phil Whitaker
<nottinghamlug at beardygnome.co.uk> wrote:
> Hi,
> rsync has a command line option for writing out to a log file.  It's -l
> path/to/file, I think, but running rsync --help shuld point you in the right
> direction.
> Regards,
> Phil
> _______________________________________________
> Nottingham mailing list
> Nottingham at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/nottingham
>



More information about the Nottingham mailing list