Skip to content

Commit 147377a

Browse files
committed
Merge branch 'v1.0.1-1'
2 parents 37f2fae + 831da9e commit 147377a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
11
# eXist-db Config
2+
This repo contains eXist-db configuration files implementing [Production Use - Good Practice](https://exist-db.org/exist/apps/doc/production_good_practice). Configuration files are located in a subdirectory per eXist-db version (e.g. `./v5.1.1/`). Diffs to the original release files are kept to a minimum.
3+
4+
It also includes a python script that takes care of backing up and overwriting target files.
5+
6+
## Prepare
7+
```
8+
git clone https://github.com/eXistSolutions/existdb-config.git
9+
cd existdb-config
10+
```
11+
12+
## Usage (python - with backup)
13+
```
14+
./existdb-config.py -s ./v5.1.1/ -t ../exist-distribution-5.1.1/
15+
```
16+
17+
This will
18+
* create a timestamped backup tar file named `existdb-config_${timestamp}.tar` in the target folder `../exist-distribution-5.1.1/`
19+
* copy over config fragments for a eXist-db 5.1.1
20+
21+
To undo the changes extract the backup tar archive at its location.
22+
```
23+
cd ../exist-distribution-5.1.1/
24+
tar xf existdb-config_${timestamp}.tar
25+
```
26+
27+
## Usage (manual - NO backup)
28+
```
29+
cp -a ./v5.1.1/ ../exist-distribution-5.1.1/
30+
```

0 commit comments

Comments
 (0)