summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/src/main/cql/pull.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth-cass/src/main/cql/pull.sh')
-rw-r--r--auth/auth-cass/src/main/cql/pull.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth/auth-cass/src/main/cql/pull.sh b/auth/auth-cass/src/main/cql/pull.sh
new file mode 100644
index 00000000..f4db573a
--- /dev/null
+++ b/auth/auth-cass/src/main/cql/pull.sh
@@ -0,0 +1,5 @@
+for T in x509 ns_attrib config cred user_role perm role artifact ns; do
+ cqlsh -e "use authz; COPY $T TO '$T.dat' WITH DELIMITER='|';"
+done
+tar -cvzf dat.gz *.dat
+