summaryrefslogtreecommitdiffstats
path: root/scripts/ds-restore.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ds-restore.sh')
-rwxr-xr-xscripts/ds-restore.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/ds-restore.sh b/scripts/ds-restore.sh
new file mode 100755
index 0000000..97b67df
--- /dev/null
+++ b/scripts/ds-restore.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+./ds-create.sh
+./ds-init.sh
+./ds-backend.sh
+
+./ds-stop.sh
+/bin/cp ca.ldif /tmp/ca.ldif
+./ds-start.sh
+
+ldif2db -Z pki-tomcat -n ca -i /tmp/ca.ldif