blob: 01fa52bfb85306be4dcc87f49d97426eaeefc5fd [file] [log] [blame]
mkdir -p dats
cd dats
for T in ns ns_attrib cred user_role perm role config artifact ; do
cqlsh -e "use authz; COPY $T TO '$T.dat' WITH DELIMITER='|';"
done
tar -cvzf ../dat.gz *.dat
rm *.dat
cd -
rmdir dats