I've add & to my line this morning
&>> ${backupdir}/backup.logWaiting tonight if it work :D 2015-03-21 14:35 GMT+01:00 Tim Bishop <[email protected]>: > On Fri, Mar 20, 2015 at 12:29:34PM -0700, Colin Percival wrote: > > On 03/20/15 04:02, Antoine Michard wrote: > > > Echo to backup log (send to me by mail after backup) work great except > for > > > info about tarsnap stats. > > > > > > Here a small extract of my script: > > > > > > ... > > > ${tarsnap} -c -f `hostname -s`-Data-${backupday} \ > > > --print-stats \ > > > ${mysqldir} \ > > > /usr/local/www \ >> ${backupdir}/backup.log > > > > The statistics printed by --print-stats are sent to stderr. You want to > > redirect that to backup.log as well. > > I was going to suggest that but the manual page says stdout: > > Statistics on archives can be printed by running tarsnap --print-stats > and during archive creation or deletion statistics on the created or > deleted archive can be printed using the --print-stats option. In > either > case, tarsnap will print to the standard output a table in the > following > format: > > Mistake? > > Tim. > > -- > Tim Bishop > http://www.bishnet.net/tim/ > PGP Key: 0x6C226B37FDF38D55 > > -- Antoine Michard
