blob: 01fa52bfb85306be4dcc87f49d97426eaeefc5fd [file] [log] [blame]
Instrumentalc23f2cd2018-07-20 20:27:49 -05001mkdir -p dats
2cd dats
3for T in ns ns_attrib cred user_role perm role config artifact ; do
Instrumental32cdd552018-07-19 13:29:32 -05004 cqlsh -e "use authz; COPY $T TO '$T.dat' WITH DELIMITER='|';"
5done
Instrumentalc23f2cd2018-07-20 20:27:49 -05006tar -cvzf ../dat.gz *.dat
7rm *.dat
8cd -
9rmdir dats
Instrumental32cdd552018-07-19 13:29:32 -050010