From 5c121c479c7ba35b14a3029533160d4dbbd1cdf7 Mon Sep 17 00:00:00 2001 From: Youssef-Chawki Date: Mon, 20 Aug 2018 12:18:37 +0200 Subject: Introduction information ReadTheDoc Added introductory information on the AAF project Change-Id: I80edbdbc2029f31a5e93925ac15fd3af6bbbb19b Signed-off-by: Youssef-Chawki Issue-ID: AAF-426 --- auth/auth-cass/docker/cbackup.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 auth/auth-cass/docker/cbackup.sh (limited to 'auth/auth-cass/docker/cbackup.sh') diff --git a/auth/auth-cass/docker/cbackup.sh b/auth/auth-cass/docker/cbackup.sh new file mode 100644 index 00000000..9c91d0c6 --- /dev/null +++ b/auth/auth-cass/docker/cbackup.sh @@ -0,0 +1,8 @@ +cd /opt/app/cass_backup +DATA="ns role perm ns_attrib user_role cred cert x509 delegate approval approved future notify artifact health history" +PWD=cassandra +CQLSH="cqlsh -u cassandra -k authz -p $PWD" +for T in $DATA ; do + echo "Creating $T.dat" + $CQLSH -e "COPY authz.$T TO '$T.dat' WITH DELIMITER='|'" +done -- cgit 1.2.3-korg