Instrumental | c23f2cd | 2018-07-20 20:27:49 -0500 | [diff] [blame] | 1 | mkdir -p dats |
2 | cd dats | ||||
3 | for T in ns ns_attrib cred user_role perm role config artifact ; do | ||||
Instrumental | 32cdd55 | 2018-07-19 13:29:32 -0500 | [diff] [blame] | 4 | cqlsh -e "use authz; COPY $T TO '$T.dat' WITH DELIMITER='|';" |
5 | done | ||||
Instrumental | c23f2cd | 2018-07-20 20:27:49 -0500 | [diff] [blame] | 6 | tar -cvzf ../dat.gz *.dat |
7 | rm *.dat | ||||
8 | cd - | ||||
9 | rmdir dats | ||||
Instrumental | 32cdd55 | 2018-07-19 13:29:32 -0500 | [diff] [blame] | 10 |