Maybe you were right !Got this: Removing leading '/' from member namesMaybe all logging go to stderrHow I can remove this ??--2015-03-20 14:07 GMT+01:00 Mauro Ciancio <mauro.ciancio@cymait.com>:I guess Tarsnap is exiting with an error and logging it to the stderr instead of stdout. And as you're not redirecting stderr to the file, the output is lost.Does it help?--Mauro CiancioOn Fri, Mar 20, 2015 at 8:02 AM, Antoine Michard <michard.antoine@gmail.com> wrote:Hi all,I try Tarsnap for some days now and it work perfectly.He do what I tell it to do with the same simplicity of tar.Actually, I've prepare a cron script to backup my system.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:...#Start Backup Dataecho "$(date +%H:%M) *1 Start Data Backup" >> ${backupdir}/backup.log...#Backup${tarsnap} -c -f `hostname -s`-Data-${backupday} \--print-stats \${mysqldir} \/usr/local/www \ >> ${backupdir}/backup.log...#Finishif [ $?==0 ];thenecho "$(${date} +%H:%M) *2 Backup Finnish" >> ${backupdir}/backup.logmail -s "TarSnap Backup Success" ${adminmail} < ${backupdir}/backup.logelseecho "$(${date} +%H:%M) *2 Backup Failed" >> ${backupdir}/backup.logmail -s "TarSnap Backup Failed" ${adminmail} < ${backupdir}/backup.logexitfiBut this is what I have in my mailbox07:14 *1 Start Data Backup
07:18 *2 Backup FinnishI don't know why *only* Tarsnap Stdout is not send to backup.log fileIf I exec my script in shell, I saw stats normally -_-Thanks--Antoine MichardAntoine Michard