[mod] tiddly backup

This commit is contained in:
Andy Bunce 2022-11-27 15:27:26 +00:00
parent 21c4050d84
commit 216a579715
3 changed files with 20 additions and 1 deletions

View File

@ -13,7 +13,7 @@ services:
image: konradkleine/docker-registry-frontend:v2
container_name: docker-registry-ui
ports:
- 8080:80
- 8090:80
environment:
ENV_DOCKER_REGISTRY_HOST: docker-registry
ENV_DOCKER_REGISTRY_PORT: 5000

1
mermaid-server/readme.md Normal file
View File

@ -0,0 +1 @@
https://github.com/TomWright/mermaid-server

View File

@ -0,0 +1,18 @@
#!/bin/bash
# tiddlywiki server backup management
set -e
DATASTORE=/srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/tiddly/
XU4=root@192.168.1.5:/root/thedocks/tiddlywiki/data/
N2=root@192.168.1.4:/mnt/drive/tiddly
PLUS=root@192.168.1.10:/home/odroid/thedocks/tiddlywiki/data
sync(){
rsync -av --delete $1 $2
}
#echo "XU4 ->DATASTORE"
#sync $XU4 $DATASTORE
echo "DATASTORE ->PLUS"
sync $DATASTORE $PLUS