[mod] tiddly backup
This commit is contained in:
parent
21c4050d84
commit
216a579715
@ -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
1
mermaid-server/readme.md
Normal file
@ -0,0 +1 @@
|
||||
https://github.com/TomWright/mermaid-server
|
18
tiddlywiki/tiddly-backup.sh
Normal file
18
tiddlywiki/tiddly-backup.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user