From e5fff4040cac5ca807c55ad288023fcb8106e63a Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 22 Sep 2020 09:29:24 +0200 Subject: [PATCH] Add volume and back it up too --- borgmatic.yml | 3 ++- compose.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/borgmatic.yml b/borgmatic.yml index 7822a17..8168296 100644 --- a/borgmatic.yml +++ b/borgmatic.yml @@ -1,5 +1,6 @@ location: - source_directories: [] + source_directories: + - /var/www/html/wp-content repositories: - {{ env "BORGBASE_REPO" }} diff --git a/compose.yml b/compose.yml index 0ee051d..6e63ea9 100644 --- a/compose.yml +++ b/compose.yml @@ -52,6 +52,8 @@ services: image: "decentral1se/backup-bot:0.0.1" networks: - backend + volumes: + - "wordpress_content:/var/www/html/wp-content/" secrets: - source: backup_bot_ssh_key mode: 0400