blob: 9c91d0c67002bf78fd4baec597600d7d4b3c5056 [file] [log] [blame]
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +00001cd /opt/app/cass_backup
2DATA="ns role perm ns_attrib user_role cred cert x509 delegate approval approved future notify artifact health history"
3PWD=cassandra
4CQLSH="cqlsh -u cassandra -k authz -p $PWD"
5for T in $DATA ; do
6 echo "Creating $T.dat"
7 $CQLSH -e "COPY authz.$T TO '$T.dat' WITH DELIMITER='|'"
8done