Split multimedia and shared multimedia

As shared multimedia contains heavier and less important data, it can be backuped less often
This commit is contained in:
Antoine Lima 2022-04-16 17:47:37 +00:00
parent fffd94dd27
commit efde7a805b
Signed by: antoine
GPG Key ID: 5D1E65E3DEB73410

View File

@ -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