From aa133a44ebe9203972d8b9e9d1e056489cc3296d Mon Sep 17 00:00:00 2001 From: 1O <2408212-1O@users.noreply.gitlab.com> Date: Mon, 5 Apr 2021 18:33:32 +0200 Subject: [PATCH] Added attachment example --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 58c95c6..ea88bdc 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,11 @@ Start backup container with default settings (automatic backup at 5 am) docker run -d --restart=always --name bitwarden_backup --volumes-from=bitwarden bruceforce/bw_backup ``` +Example for backup including attachment folder (see [Environment variables section](#environment-variables) for more information) +```sh +docker run -d --restart=always --name bitwarden_backup --volumes-from=bitwarden -e ATTACHMENT_BACKUP_FILE=/data/attachments_backup/attachments bruceforce/bw_backup +``` + Example for hourly backups ```sh docker run -d --restart=always --name bitwarden_backup --volumes-from=bitwarden -e CRON_TIME="0 * * * *" bruceforce/bw_backup