From 0490f182d57c13c388a2d8fce5a276afaac6c500 Mon Sep 17 00:00:00 2001 From: Tobias Kaupat Date: Tue, 14 Feb 2017 10:54:27 +0100 Subject: [PATCH] Update README.md Explain the new logging mechanisms --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e40ebcb..63a3e1c 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,14 @@ docker exec -ti backup-test /bin/sh Now you can use restic [as documented](https://restic.readthedocs.io/en/stable/Manual/), e.g. try to run `restic snapshots` to list all your snapshots. ## Logfiles -Logfiles inside the container: +Logfiles are inside the container. If needed you can create volumes for them. ``` docker logs ``` Shows `/var/log/cron.log` -Additionally you can see the the full log of the last `backup` and `forget` command in `/var/log/backup-last.log` inside the container. +Additionally you can see the the full log, including restic output, of the last execution in `/var/log/backup-last.log`. When the backup fails the log is copied to `/var/log/restic-error-last.log`. # Customize the Container