<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Many thanks : that was the trick !</p>
<p>Best regards, <br>
</p>
<p>JM<br>
</p>
<br>
<div class="moz-cite-prefix">Le 13/07/2017 à 14:39, Maurice Libes a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:f86c08d3-ab4e-ebf5-a11d-f4a0d168b3be@osupytheas.fr">
<br>
<br>
Le 13/07/2017 à 14:22, Contact DEV & d'Adam a écrit :
<br>
<blockquote type="cite">:-D ok - some improvement on the way...
<br>
Well, -v is ok ,but i'd like to have a .log file with all the
messages in it for a backup report.
<br>
Any idea ?
<br>
</blockquote>
<br>
may be I don't understand what you want , but
<br>
to gather the logs into a logfile, you just have to redirect the
standard output of each borg command
<br>
no?
<br>
<br>
like that
<br>
<br>
$BORG create \
<br>
-v --stats \
<br>
$COMPRESSION \
<br>
$BORG_ARCHIVE \
<br>
$REP_ASAUVEGARDER \
<br>
--exclude '/home/*/.cache' \
<br>
>> ~/BORG/backup.log 2>&1
<br>
<br>
$BORG prune -v --list --info --keep-daily=7 --keep-weekly=2 \
<br>
$BORG_REPOSITORY --prefix ${hostname} \
<br>
>>~/BORG/backup.log 2>&1
<br>
<br>
etc.
<br>
<br>
<blockquote type="cite">Le 13/07/2017 à 13:03, Thomas Waldmann a
écrit :
<br>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">Is there a simple way to invoque
in the commande line a log file where
<br>
logs would be detailed.
<br>
<br>
I've looking for this in the doc, but couldn't find the
right trick.
<br>
</blockquote>
-v ?
<br>
</blockquote>
</blockquote>
-v is the option for verbose. querying the version is
--version, btw.
<br>
<br>
<br>
<br>
</blockquote>
<br>
_______________________________________________
<br>
Borgbackup mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Borgbackup@python.org">Borgbackup@python.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/borgbackup">https://mail.python.org/mailman/listinfo/borgbackup</a>
<br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Borgbackup mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Borgbackup@python.org">Borgbackup@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/borgbackup">https://mail.python.org/mailman/listinfo/borgbackup</a>
</pre>
</blockquote>
<br>
</body>
</html>