blob: 01fa52bfb85306be4dcc87f49d97426eaeefc5fd (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
|