From efde7a805badc53deac5388039cfc5ba255c6178 Mon Sep 17 00:00:00 2001 From: Antoine Lima Date: Sat, 16 Apr 2022 17:47:37 +0000 Subject: [PATCH] Split multimedia and shared multimedia As shared multimedia contains heavier and less important data, it can be backuped less often --- .autorestic.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.autorestic.yml b/.autorestic.yml index d8e4182..6783e7e 100644 --- a/.autorestic.yml +++ b/.autorestic.yml @@ -96,11 +96,25 @@ locations: - /var/mail to: - hdd + - glacier cron: '0 3 * * 4' # At 3:00am on Thursday + # All multimedia folders but the shared (separate location) multimedia: from: - /home/yunohost.multimedia/ + options: + backup: + exclude: + - '/home/yunohost.multimedia/share' + to: + - hdd + - glacier + cron: '0 3 * * 4' # At 3:00am on Thursday + + shared_multimedia: + from: + - /home/yunohost.multimedia/share to: - hdd cron: '0 3 1 * *' # At 3:00am on the 1st