[Borgbackup] Record logs

Contact DEV & d'Adam contact at devetdadam.com
Thu Jul 13 09:07:31 EDT 2017


Many thanks : that was the trick !

Best regards,

JM


Le 13/07/2017 à 14:39, Maurice Libes a écrit :
>
>
> Le 13/07/2017 à 14:22, Contact DEV & d'Adam a écrit :
>> :-D ok - some improvement on the way...
>> Well, -v is ok ,but i'd like to have a .log file with all the 
>> messages in it for a backup report.
>> Any idea ?
>
> may be I don't understand what you want , but
> to gather the logs into a logfile,  you just have to redirect the 
> standard output of each borg command
> no?
>
> like that
>
> $BORG create \
>      -v --stats \
>      $COMPRESSION \
>      $BORG_ARCHIVE \
>      $REP_ASAUVEGARDER  \
>      --exclude '/home/*/.cache' \
>      >> ~/BORG/backup.log 2>&1
>
> $BORG prune -v  --list --info --keep-daily=7  --keep-weekly=2 \
>       $BORG_REPOSITORY --prefix ${hostname} \
>       >>~/BORG/backup.log 2>&1
>
> etc.
>
>> Le 13/07/2017 à 13:03, Thomas Waldmann a écrit :
>>>>>> Is there a simple way to invoque in the commande line a log file 
>>>>>> where
>>>>>> logs would be detailed.
>>>>>>
>>>>>> I've looking for this in the doc, but couldn't find the right trick.
>>>>> -v ?
>>> -v is the option for verbose. querying the version is --version, btw.
>>>
>>>
>>>
>>
>> _______________________________________________
>> Borgbackup mailing list
>> Borgbackup at python.org
>> https://mail.python.org/mailman/listinfo/borgbackup
>
>
>
> _______________________________________________
> Borgbackup mailing list
> Borgbackup at python.org
> https://mail.python.org/mailman/listinfo/borgbackup

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20170713/e6c3ef01/attachment.html>


More information about the Borgbackup mailing list