[prev in list] [next in list] [prev in thread] [next in thread]
List: tarsnap-users
Subject: Re: Mail upon successful backup
From: "joe () polcari ! com" <joe () polcari ! com>
Date: 2012-12-26 17:34:54
Message-ID: 1356543294.v2.mailanyonewebmail-496295 () fuseweb2c
[Download RAW message or body]
tarsnap -c -f backup-`date +\%Y\%m\%d` /etc /var/www/vhosts && m=
ail -s "successful backup" you@yourdomain.com >; /dev/null ---=
-- Original Message -----From: "Daniel Staal" >;dstaal@usa.net=
[Attachment #3 (text/html)]
<br /> <br /> <br /> <br /><pre><font color="#800000">tarsnap -c -f backup-`date \
+\%Y\%m\%d` /etc /var/www/vhosts && mail -s "successful backup" \
you@yourdomain.com < /dev/null</font></pre> <br /> <br /> <br /> \
<!--replyfwdwrap--><div style="background-image: \
url(http://webmail.mailanyone.net/de/r_bg_img.gif);background-position:top;background-repeat:repeat-x;"><strong>----- \
Original Message -----</strong><br /><strong>From:</strong> "Daniel Staal" \
<dstaal@usa.net> <br /><strong>Sent:</strong> Wed, December 26, 2012 9:50<br \
/><strong>Subject:</strong> Re: Mail upon successful backup<br /><br /><table \
width="100%" cellspacing="5"><tbody><tr><td><div \
class="PrivateMsgDiv"><pre>
--As of December 26, 2012 1:32:06 PM +0100, Amar Cosic is alleged to have
said:
<font color="#800000">> Hello list,</font>
<font color="#800000">></font>
<font color="#800000">> anyone could give me idea how can I mail myself upon \
successful backup.</font> <font color="#800000">> Something like: "backup on \
server xxx finished OK" and maybe output</font> <font color="#800000">> \
tarsnap data (size of that backup etc..).</font> <font color="#800000">></font>
<font color="#800000">> What I currently use for backup is something like this in \
cron:</font> <font color="#800000">></font>
<font color="#800000">> tarsnap -c -f backup-`date +\%Y\%m\%d` /etc \
/var/www/vhosts</font>
--As for the rest, it is mine.
I have basically the same thing in cron (I add --humanize-numbers), and I
do get emails via the normal cron mechanism. Do you get other emails from
cron?
Daniel T. Staal
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
</pre></div></td></tr> </tbody></table></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic