blob: 9c91d0c67002bf78fd4baec597600d7d4b3c5056 [file] [log] [blame]
Instrumental12f7f462018-04-23 15:43:47 -05001cd /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