[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail upon successful backup



Hello list,

anyone could give me idea how can I mail myself upon successful backup. Something like: "backup on server xxx finished OK" and maybe output tarsnap data (size of that backup etc..).

What I currently use for backup is something like this in cron:

tarsnap -c -f backup-`date +\%Y\%m\%d` /etc /var/www/vhosts


ty.

--
Amar Ćosić