Compare commits

..

No commits in common. "fc2b45ad16415627c359d826917c1d83f0c95d4c" and "0715bdafd4cf46f00b00d94a211ff4f60eacbd40" have entirely different histories.

8 changed files with 4 additions and 106 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
.autorestic.env
.autorestic.lock.yml

View File

@ -4,7 +4,7 @@
#
# exports the database of a running docker container in a dump in $BACKUP_DIR/$CONTAINER_NAME/
BACKUP_DIR=/DATA/dump_bdd/
BACKUP_DIR=/DATA/BACKUP/dbdumps
# Check container existence

View File

@ -1,81 +0,0 @@
version: 2
global:
forget:
keep-hourly: 24
keep-daily: 7
keep-weekly: 4
keep-monthly: 12
backends:
fch:
type: sftp
path: FCH_serveur:backups/
locations:
nextcloud_data:
from:
- /var/lib/docker/volumes/docker_nextcloud
to:
- fch
cron: 0 0 * * *
forget: prune
nextcloud_conf:
from:
- /var/lib/docker/volumes/docker_nextcloud-conf
to:
- fch
cron: 0 0 * * *
forget: prune
nextcloud_data:
from:
- /var/lib/docker/volumes/docker_nextcloud
to:
- fch
cron: 0 0 * * *
forget: prune
nextcloud_db:
from:
- /DATA/dump_bdd/nextcloud-db
to:
- fch
cron: 0 0 * * *
forget: prune
hooks:
before:
- /DATA/docker/services/backups/backup_db.sh nextcloud-db postgresql
onlyoffice:
from:
- /var/lib/docker/volumes/docker_onlyoffice-cache
- /var/lib/docker/volumes/docker_onlyoffice-data
to:
- fch
cron: 0 0 * * *
forget: prune
traefik-certs:
from:
- /DATA/docker/services/certs
to:
- fch
cron: 0 0 * * *
forget: prune
repos:
from:
- /DATA/docker/services/
to:
- fch
options:
backup:
exclude:
- '.git'
cron: 0 0 * * *
forget: prune

View File

@ -1,10 +0,0 @@
[Unit]
Description=Backups yay
[Service]
Type=oneshot
ExecStart=autorestic -c /DATA/docker/services/backups/.autorestic.yml --ci cron
# fail if backup takes more than 1 day
TimeoutStartSec=86400
IPAccounting=yes
MemoryAccounting=yes

View File

@ -1,9 +0,0 @@
[Unit]
Description=Backups yay
[Timer]
# Trigger every 10 minutes
OnCalendar=*:0/10:0
[Install]
WantedBy=timers.target

View File

@ -19,7 +19,7 @@ networks:
services:
nextcloud-app:
image: nextcloud-cron:26.0.11
image: nextcloud-cron:26.0.10
build: .
container_name: nextcloud-app
restart: unless-stopped

View File

@ -1,4 +1,4 @@
FROM nextcloud:26.0.11-apache
FROM nextcloud:26.0.10-apache
ARG VERSION

View File

@ -37,7 +37,7 @@
[http.routers]
[http.routers.coopoasis]
entrypoints = "websecure"
rule = "Host(`odoo.cooperative-oasis.org`) || Host(`pad.cooperative-oasis.org`) || Host(`odoo-dev.cooperative-oasis.org`) || Host(`test-odoo.cooperative-oasis.org`)"
rule = "Host(`odoo.cooperative-oasis.org`) || Host(`pad.cooperative-oasis.org`) || Host(`test-odoo.cooperative-oasis.org`)"
service = "coopoasis"
[http.routers.papercut]
entrypoints = "websecure"