Browse Source

Verzeichnis das gesichert werden soll korrigiert

pull/1/head
bmen 2 years ago
parent
commit
4624dfdd88
  1. 2
      backup.sh

2
backup.sh

@ -11,7 +11,7 @@ docker exec -i bmen-gitea-db -ugitea -pgitea gitea > /mnt/storage-bx20/data-next
cd /root/deployments/gitea/
docker-compose stop
cd /opt/appdata/
tar cvf /mnt/storage-bx20/data-nextcloud/bmen/files/Server/Hetzner-Cloud-CX21/Gitea/gitea-`date '+%Y%m%d%H%M'`.tar.gz nextcloud/
tar cvf /mnt/storage-bx20/data-nextcloud/bmen/files/Server/Hetzner-Cloud-CX21/Gitea/gitea-`date '+%Y%m%d%H%M'`.tar.gz gitea/
#Docker Container aktualisieren und starten
cd /root/deployments/gitea/

Loading…
Cancel
Save