Merge "Adding more detailed message to thrown exceptions in SyncElementFactory"
[simantics/platform.git] / releng / doc / dump-wikis.sh
1 #!/bin/bash
2
3
4 major=1
5 minor=25
6 service=0
7 ver=${major}.${minor}.${service}
8
9 mkdir ${ver}
10 cd ${ver}
11 OLDIFS=$IFS
12 IFS=','
13 for db in enduserwikidb,enduserwikiuser devwikidb,devwikiuser; do
14         set $db
15         sh ../dump-mysql-db.sh ${major} ${minor} ${service} ${1} ${2}
16 done
17 IFS=$OLDIFS
18
19 cd ..
20 tar zcvf ${ver}.tar.gz ${ver}
21 rm -rf ${ver}