Package: python-cassandra-cli
Python Cassandra CLI toolDescirptoinCLI has7main commands:copy-snapshot-folder       Copy folder with snapshots from s3 bucketrestore-snapshot-keyspace  Restore Keyspace snapshot from s3 bucketrestore-snapshot-table     Restore Table snapshot from s3 bucketstore-snapshot-keyspace    Take and store Keyspace snapshot to s3 bucketstore-snapshot-table       Take and store Table snapshot to s3 bucketstore-backup-keyspace      Take and store Keyspace backup to s3 bucket without running nodetool, sstableloader, and cqlshrestore-backup-keyspace    Restore Keyspace backup from s3 bucket without running nodetool, sstableloader, and cqlshRelease Notes1.4.0Updated store-backup-keyspace and restore-backup-keyspace.1.3.6Updated readme.1.3.5cleanup.1.3.4copy backup updates.1.3.3boolean values updates.1.3.2null values updates.1.3.1Increased CSV file field size limit.Creation schema fix.1.3.0store-backup-keyspaceandrestore-backup-keyspacecommands which doesn't run nodetool, sstableloader, and cqlsh. It uses only cassandra-driver.1.2.1--truststore-password and --keystore-password optionswhich is used insstableloadercommand in"restore-snapshot-keyspace"and"restore-snapshot-table"--version option1.1.1Clean up code1.1.0Added --ssl flag for cqlsh command if connection supports only SSL connection; --ssl-cqlsh optionLogic -p flag for sstableloader not mandatory for SSL connection typeOverriding folder main folder name; --snapshot-folder-override option1.0.3Fix option description: create-keyspace-schema1.0.2Updated Authentication logic1.0.1Added boto3 libs in requirements1.0.0Initial releaseAWS resources accessAWS S3 bucketYou need to set -s3(--s3-bucket), -id(--aws-access-key-id) and  -key(--aws-secret-access-key) options for the connection to AWS S3
bucket via access key.If your host has AWS profile setup in .aws/credentials and/or IAM role with s3 bucket permissons then CLI
needs only -s3(--s3-bucket) option.AWS Systems ManagerYou need to set -sn(--secret-name), -id(--aws-access-key-id) and  -key(--aws-secret-access-key) for getting secrest from Paramenter Store.If your host has AWS profile setup in .aws/credentials and/or IAM role with SSM permissons then CLI
needs only -sn(--secret-name) option.Optionally you can change -r(--aws-region) for SSM. Default value is 'us-east-1'Commands examples:Store keyspace snapshot on s3python-cassandra-cli store-snapshot-keyspace  
  -k my_keyspace 
  -t tag-01-keyspace
  -e dev 
  -s3 my.s3.bucket 
  -h "10.99.3.55"   
  --ssm-secret -sn /cassandra/devStore keyspace snapshot on s3 with keyspace schemapython-cassandra-cli store-snapshot-keyspace  
  -k my_keyspace 
  -t tag-01-keyspace
  -e dev -s3 my.s3.bucket -h "10.99.3.55"  
  --ssm-secret -sn /cassandra/dev 
  --create-keyspace-schemaStore table snapshot on s3 with keyspace schemapython-cassandra-cli store-snapshot-table 
  -k my_keyspace 
  -tn my_table
  -t tag-01-table 
  -e dev 
  -s3 my.s3.bucket 
  -h "10.99.3.55"  
  --ssm-secret
  -sn /cassandra/dev 
  --create-keyspace-schemaResotore tablepython-cassandra-cli restore-snapshot-table 
  -sf 1608700346_snapshots_tag-01-keyspace_my_keyspace_develop 
  -t tag-01-table 
  -k my_keyspace 
  -tn my_table -h "10.99.3.55" 
  --ssm-secret 
  -sn /cassandra/dev 
  -s3 my.s3.bucketRestore table sslpython-cassandra-cli restore-snapshot-table  
  -sf 1608700346_snapshots_tag-01-table_my_table_develop 
  -t tag-01-table 
  -k my_keyspace 
  -tn my_table 
  -h "10.99.3.55" 
  --ssm-secret 
  -s3 my.s3.bucket 
  -sn /cassandra/dev 
  -cf /etc/cassandra/conf/cassandra.yaml  
  -ks /etc/cassandra/conf/keystore.node0 
  -ts /etc/cassandra/conf/truststore.node0 
  -ssl 
  -pt 9142Restore keyspace ssl with keyspace creationpython-cassandra-cli restore-snapshot-keyspace  
  -sf 608700346_snapshots_tag-01-keyspace_my_keyspace_develop 
  -t tag-01-keyspace 
  -k my_keyspace  
  -h "10.99.3.55" 
  --ssm-secret 
  -s3 my.s3.bucket 
  -sn /cassandra/dev 
  --create-keyspace-schema 
  -e develop 
  -cf /etc/cassandra/conf/cassandra.yaml  
  -ks /etc/cassandra/conf/keystore.node0 
  -ts /etc/cassandra/conf/truststore.node0 
  -ssl 
  -pt 9142Copy folder with sanpshot on localpython-cassandra-cli copy-snapshot-folder 
  -s3 my.s3.bucket 
  -sf 1608700346_snapshots_tag-01-keyspace_my_keyspace_develop