NetBackup™ for Cassandra Administrator's Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.0)

Configurations for Cassandra Restore

  • The restore operation requires a Data Staging Server cassandra cluster to stage the backup image. It is then restored to the Cassandra production cluster. Hence configure a DSS cluster along with the target Cassandra cluster.

    Note:

    If the restore is to the original Cassandra cluster and it is already configured in NetBackup skip the following steps.

  • To configure an alternate Cassandra cluster to restore the data, do the following:

    Tpconfig of Cassandra cluster:

    • Provide the credentials of the target cluster using the tpconfig command./tpconfig -add -application_type cassandra -application_server <application cluster name> -application_server_user_id <cassandra user id> -password <cassandra user password> -host_user_id <host user id> -host_password <host password> -host_RSA_key <host RSA key.

    • Provide the credentials of the target DSS cluster using the tpconfig command.

      Note:

      This command is the same as above with the DSS cluster names in it.

    Cassandraconfig of target cluster:

    • If your target Cassandra cluster is different from the backup source, add the Cassandra configuration details in the cassandra.conf file on the primary server .

      For example:

      bprestore -S emidas105.vxindia.veritas.com 
      -C Test_Cluster72 -D emidas105.vxindia.veritas.com 
      -s 03/09/2021 17:17 -e 03/09/2021 17:17 -t 44 -L /
      input/cassandra_progress.log -f /input/cassandra_filelist_cluster
       -R /input/cassandra_rename_cluster -cassandra_restore
    • Cassandra thin client creates temporary files in /tmp on Cassandra production nodes.

    • The restore operation creates number of child jobs depending on:

      • Number of specified backup hosts in the restore operation

      • Streams per backup host

      • Number of DSS nodes

    Note:

    Number of jobs = minimum ((backup hosts * streams per backup host), number of DSS nodes)

    Note:

    Backup and restore of system keyspaces, and respective column families are not supported . Cassandra has user defined data types like Materialized views are not being restored while performing restore operation.