Tanium Appliance redundancy, backup, and recovery

Tanium Appliance redundancy and backup best practices and considerations

The following sections describe standard guidance for redundancy and backups. You can reference these as standard best practices. Your overall redundancy and backup strategy depends on your disaster recovery plan and the specific needs of your organization.

Use multiple layers of redundancy and backup for Tanium Appliances

Multiple layers of redundancy and backup provide multiple recovery options to recover from issues as quickly as possible:

  • For resiliency in case of most hardware failures and other issues that have a limited impact, configure a Tanium Server Cluster and a standby Module Server to provide redundancy. For more information, see Use a Tanium Server cluster for redundancy and Use a standby Module Server for redundancy.

  • For fast recovery from more significant issues, use the following backup methods:

    Note:
    • Tanium does not allow third-party backup agents on the Appliance. However, you can use any data protection tool provided by your hypervisor, your cloud provider, or a third party that performs image-based backups.

    • Though partition sync is available on virtual Tanium Appliances, it is intended to be used only in a virtual environment that replicates a physical Appliance Array for testing purposes. The partition sync feature is not recommended as a backup solution for production virtual Tanium Appliances.

  • For recovery from database-related issues, use core backups in TanOS. Perform a core backup of the active Module Server daily. If you choose not to perform a daily comprehensive backup of the primary Tanium Server, perform a core backup daily. For more information, see Use core and comprehensive backups for backup and restoration.

    Note:
    • Core backups do not require stopping Tanium Server or Module Server services.

    • Database restoration from core backups requires assistance from Tanium Support.

    • On virtual Tanium Appliances or cloud-based Tanium Appliances that are protected by a virtual infrastructure data protection tool, core backups are optional.

  • As a last line of defense for disaster recovery, use comprehensive backups in TanOS. Use a comprehensive recovery bundle to perform a full restoration of the TanOS and Tanium environment.

    • Tanium Server: Perform a comprehensive backup of the primary Tanium Server daily or weekly.

      Note:
      • Comprehensive backups do not require stopping Tanium Server services.

      • The comprehensive backup includes the Tanium Server Downloads directory, which can be large. If disk space on your backup server is a concern, you might choose to run the comprehensive backup once weekly.

    • Module Server: Perform a comprehensive backup of the active Module Server weekly.

      Note:
      • The comprehensive backup stops all Tanium Module Server services. Make sure to run the backup during an appropriate maintenance window.

    For more information, see Use core and comprehensive backups for backup and restoration.

    Note: On virtual Tanium Appliances or cloud-based Tanium Appliances that are protected by a virtual infrastructure data protection tool, comprehensive backups are optional.

Define a disaster recovery plan

Tanium recommends that you define a disaster recovery (DR) plan early during deployment. The restoration and backup options that fit your disaster recovery plan vary depending on your specific needs and requirements.

To properly define a DR plan, define specific restore time objectives (RTO) and restore point objectives (RPO).

  • RPO: The expected point of recovery. For example, an RPO of 1 month means recovery point within 30 days of the time of failure.

  • RTO: What is the amount of downtime that is acceptable to recover the system.

Your schedule for each type of backup and the versions or copies of each type of backup that you store depend on your RPO and RTO.

Additional best practices

  • Perform a partition sync on a physical Tanium Appliance or make sure that you have a recent image-based backup on a cloud-based Tanium Appliance or virtual Tanium Appliance before any major changes, including TanOS upgrades and Tanium Core Platform upgrades.

  • Use any additional options for disaster recovery and redundancy that are provided by your cloud provider (for cloud-based Tanium Appliances) or your hypervisor or data center environment (for virtual Tanium Appliances).

  • For better resiliency in a cloud-based environment, separate Tanium Server, Tanium Module Server, and Tanium Zone Server Appliances between two zones so that each zone contains each Appliance type.

Considerations after a recovery

  • Make sure to update the DNS records in your domain configuration for any Appliances that have new IP addresses after a recovery. For the specific steps, review the documentation from your domain provider.

  • Perform any configuration that was not included in the restoration. For example, after a restoration from a comprehensive recovery bundle, you must reconfigure the items listed in Items excluded from backups.

  • After you perform any type of recovery, test the functionality of the Tanium solutions in your environment. Some solutions have settings that might need be changed if server addresses change. For more information, see the user guide for each solution. For example, if you perform a Module Server failover or recover a Module Server with a new IP address, and the Fully Qualified Domain Name configured for the Module Server in the Endpoint Connection settings for Direct Connect is set to only the IP address of the old Module Server, you must update that setting in Direct Connect before you can connect to an endpoint using Direct Connect functionality. (For more information about that specific setting, see Configure Endpoint Connection settings.)

Use a Tanium Server cluster for redundancy

You can configure Tanium Appliances into a Tanium cluster, where the Tanium Server is active-active, and the database component is active-passive. The Tanium Servers read and write to the database located on the primary Tanium Server Appliance.

  • The primary Server is the Server that hosts the read/write database.

  • The secondary Server contains a read-only database that replicates from the database on the primary Server.

For information about how to set up a Tanium cluster, see Configuring a Tanium cluster. For information about managing database replication, see Manage a Tanium cluster.

Testing a planned Tanium Server failover

As part of a planned failover exercise, you might want to failover to your secondary Appliance and then fail back.

Important: Before you begin any planned failover activities, check that database replication is healthy by running a health check (3 -5) on both Appliances.

In the following scenario, TS1 is a TanOS Appliance with the primary database and TS2 is a TanOS Appliance with a replicated database from TS1.

  1. Follow the planned failover steps:
    • On TS1, stop the Tanium Server service (2-1-<line number of taniumserver service>-2).

    • On TS2, initialize database failover (2-B-F).

    • On TS1, reinitialize replication (2-B-E).

  2. Follow the planned failback steps:
    • On TS2, stop the Tanium Server service (2-1-<line number of taniumserver service>-2).

    • On TS1, initialize database failover (2-B-F).

    • On TS2, reinitialize replication (2-B-E).

Recover a failed member of a redundant TS cluster

If you have a Tanium cluster set up with multiple Tanium Servers, you can perform the following steps to recover the cluster.

Prerequisites

  • One member of the cluster must be in good working order.

  • Replication and communication must be healthy within the cluster prior to failure.

(Primary Server failure only) Initiate the Database server failover

If the primary Tanium Server is down, you must perform the following steps to restore Tanium functionality:

  1. Sign in to the TanOS console of the Appliance with the secondary database as a user with the tanadmin role.
  2. Enter 2-B-F (Tanium Operations > Cluster Configuration > Database Server Failover).
  3. Follow the prompts to initiate the failover.

This procedure promotes this Tanium Server to primary. Deploy a new secondary Server by following the steps in Restore a secondary Tanium Server.

Restore a secondary Tanium Server

If your secondary Tanium Server is no longer available and your environment is operational but in a state of reduced redundancy, perform the following steps to restore a secondary Tanium Server to the cluster:

  1. Set up a new Appliance. For more information, see Getting started with the Tanium Appliance.
  2. Perform the initial configuration for the new Appliance:
    Note: Use the same FQDN and IP address as the backup to prevent extra steps during restoration.
  3. Add the newly configured Appliance to the Array. For more information, see Add members to the Array.
  4. Assign the Appliance the Tanium Server role and install new roles. For more information, see Assign roles and Install Tanium roles.
    Important: Make sure that you match the platform version of the primary Server.
  5. In a web browser, Sign in to Tanium Console on the new Appliance and reimport all modules to ensure they match the same version as the primary Tanium Server. Be careful not to accidentally upgrade modules on the secondary Tanium Server.

    After each module import, verify that the module loads and that service accounts and other settings are restored.

  6. Manually reconfigure TanOS settings and backup schedules as necessary.
    Tip: If you are using an LDAPS or StartTLS configuration, the configuration and stored root CA certificates are automatically copied to the new secondary Tanium Server when you add it to the Array and install the role.
  7. Verify the deployment on the new Appliance. For more information, see Verifying the deployment to your Windows environment.

Use a standby Module Server for redundancy

If you add two Module Servers to an Appliance Array, you can schedule a Module Server sync to use the second Module Server as a standby. For information about managing synchronization of the secondary Module Server, see Manage the standby Module Server.

Test a planned Module Server failover or recover a failed Module Server with a standby Module Server

Perform the following procedure to test a planned Module Server failover or to recover a failed Module Server with a standby Module Server and provide a new standby Module Server.

Prerequisites

  • The most recent TMS sync must be successful and meet your RPO.

Prepare for promotion of the standby Module Server

  1. Sign in to the standby Module Server Appliance as a user with the tanadmin role and perform a health check (3-5). Resolve any issues presented in the health check. For more information, see Run the Health Check.
  2. If you are testing or otherwise conducting a planned failover in which both Module Servers are still operational, perform the following additional steps:
    1. Sign in to the active Module Server Appliance as a user with the tanadmin role and perform a health check (3-5). Resolve any issues presented in the health check. For more information, see Run the Health Check.
    2. On the active Module Server Appliance, review the Module Server sync status (2-D), and verify that the Role is Active sync (source) and the Database Replication status is Active (streaming).
    3. On the standby Module Server Appliance, review the Module Server sync status (2-D), and verify that the Role is Standby (target) and the Database Replication status is Active (streaming).
    4. On the active Module Server Appliance, perform a Module Server sync (2-D-4), and then verify that the Last file sync status is OK with the expected time stamp.

Promote the standby Module Server to active

  1. Sign in to the Tanium Server Appliance as a user with the tanadmin role.
  2. Enter 2-A (Tanium Operations > Configure Module Server(s)).
  3. Enter P to Promote TMS.
    CODE
    >>> Tanium Operations ->  Configure Module Server(s) ->  Promote TMS <<< 
    
    Active Module Server: tms1.test.tanium.local
    
    Module Server 1:
      Name: tms1.test.tanium.local
      TMS Sync Role:        Active sync (source)
      TMS Sync File Ready:  Yes
      TMS Sync Replication: Active
    
    Module Server 2:
      Name: tms2.test.tanium.local
      TMS Sync Role:        Target
      TMS Sync File Ready:  Yes
      TMS Sync Replication: Active
    
    Note: Promoting TMS requires sync to be re-enabled.
    Which Module Server should be promoted to active?
    
              1: tms1.test.tanium.local
              2: tms2.test.tanium.local
    
              R: Return to previous menu  RR: Return to top
    
     Please select:
  4. Enter the line number of the standby Module Server that you want to promote.
  5. Enter the administrative user name for the web-based Tanium Console. This is different from TanOS console tanadmin users.
  6. Enter the password for the Tanium Console administrative user and press Enter.
Important: After you perform this procedure, the formerly standby Module Server becomes active and registered with the Tanium Server, but Module Server sync is not configured, and the newly non-active Module Server is not automatically a standby Module Server, even if it was still operational (such as during a failover test). You will reconfigure Module Server sync in a later step.

Make sure plugin schedules are in place and perform standard checkout steps

  1. Import, reimport, or upgrade a module. You can safely upgrade modules in this state.
  2. Make sure modules can load without errors.
  3. Make sure package files are cached.
  4. Make sure packages, sensors, users, computer groups, and other objects are restored.

Your environment is now fully operational with a single, active Module Server.

(Testing or Planned Failover only) Reassign sync roles

If you are testing or otherwise conducting a planned failover in which both Module Servers are still operational, reassign sync roles to re-enable Module Server sync on the existing Module Servers:

  1. Sign in to the Tanium Server Appliance as a user with the tanadmin role.

  2. Enter 2-A-S (Tanium Operations > Configure Module Server(s)). > Assign TMS Sync Role

  3. Enter the number of the newly active Module Server, and then enter S to enable TMS sync with the active Module Server as a source.

  4. Enter the number of the newly non-active Module Server, and then enter T to enable TMS sync with the non-active Module Server as a target.

  5. Restart the module services on the newly active Module Server.

    1. Sign in to the newly active Module Server Appliance as a user with the tanadmin role.

    2. Enter 2-1 (Tanium Operations > Tanium Service Control).

    3. For each module service, enter the line number of the service, and then enter 3 to restart it. For more information, see Start, stop, and restart Tanium services on Tanium Appliances.

    4. Make sure modules can load without errors and that module functions work, such as importing assets.

(Failed Module Server only) Replace failed Module Server

If you are replacing a failed Module Server, remove the failed Module Server and deploy a new Module Server to be configured as a standby.

  1. Remove the failed Module Server:
    1. Sign in to the Tanium Server Appliance as a user with the tanadmin role.
    2. Enter 1-M (Tanium Installation > Appliance Array).
    3. Enter the number of the failed Module Server.
    4. Enter D to delete the Module Server from the array.
  2. Deploy a new Appliance:
  3. Add the Appliance to the Array. For more information, see Add members to the Array.
  4. Assign the Appliance the Tanium Module Server role and install new roles. For more information, see Assign roles and Install Tanium roles.

Schedule Module Server Sync and optionally perform a failback

  1. Schedule a Module Server sync to use the newly non-active or newly installed Module Server as a standby. For more information, see Schedule sync jobs.
  2. (Optional) If you are testing, perform a failback by completing the steps in this section again with the Module Servers reversed.

Use image-based backups for backup and restoration (cloud-based Tanium Appliance or virtual Tanium Appliance only)

On a cloud-based Tanium Appliance or virtual Tanium Appliance, use virtual infrastructure data protection tools to create image-based backups. Though Tanium does not allow third party backup agents on the Appliance, you can use any data protection tool to perform image-based backups that is provided by your hypervisor, your cloud provider, or a third party. On a cloud-based Tanium Appliance or virtual Tanium Appliance, perform an image-based backup before you upgrade TanOS or Tanium Core Platform, so that you have an alternate partition in case issues occur during the upgrade process.

Important: Produce image-based backups of the Tanium Server and Module Server from snapshots taken at the same time.

Restore TanOS using a VM image (cloud-based Tanium Appliance or virtual Tanium Appliance only)

These steps are only available for cloud-based Tanium Appliances or virtual Tanium Appliances as these steps require an available image for restoration.

Prerequisites

  • A known good image.

  • The restore point must have Tanium Module Server and Tanium Server images that are at the same time.

Steps

  1. Turn off all Appliances (Tanium Server, Tanium Module Server).
  2. Restore the Appliances to the image or snapshot state.
  3. Start the Tanium Servers first, followed by the Tanium Module Server.

Use partition sync for backup and restoration (physical Tanium Appliance and test-environment virtual Tanium Appliance only)

On a physical Tanium Appliance or virtual Tanium Appliance, TanOS can have a primary and secondary partition. The primary partition is by default the active partition, on which TanOS runs, and when the secondary partition is present, it is by default the inactive partition, available in case of failover or troubleshooting. A physical Tanium Appliance contains both partitions by default.

A partition sync is a backup procedure that uses the rsync utility to copy the active partition to the inactive partition, and it provides the quickest way to restore to a known good restore point. On a physical Tanium Appliance, perform a partition sync before you upgrade TanOS or Tanium Core Platform, so that you have an alternate partition in case issues occur during the upgrade process. You can also use the inactive partition if the active partition fails to boot. During the TanOS boot process, you have the option to select the inactive partition if needed.

Note:
  • Though partition sync is available on virtual Tanium Appliances, it is intended to be used only in a virtual environment that replicates a physical Appliance Array for testing purposes. The partition sync feature is not recommended as a backup solution for production virtual Tanium Appliances.

  • A virtual Tanium Appliance contains only one partition by default. Appliances with only one partition do not contain the option to perform a partition sync. You can add a secondary partition to perform a partition sync. For more information, see Enable alternate partitions (test-environment virtual Tanium Appliance only).

Manage partitions

Enable alternate partitions (test-environment virtual Tanium Appliance only)

A virtual Tanium Appliance contains only one partition set by default. Before you perform a partition sync, you must enable an alternate (inactive) partition.

Note: On a virtual Tanium Appliance, the option to enable partitions appears only if you have a single partition.
CAUTION: Enabling an alternate partition is a long-running operation. This operation performs an initial partition sync, which may take a long time depending on the configuration of your storage subsystem.
  1. If needed, modify the virtual image to add disk storage.
    CAUTION: This action is not reversible. Storage that you add to the Appliance is permanently allocated. Do not attempt to remove disk storage from an Appliance, as the Appliance becomes unusable.
  2. Sign in to the TanOS console as a user with the tanadmin role.
  3. Enter B (Appliance Maintenance).
  4. Enter E and follow the prompts to enable alternate partitions.

    If your virtual Tanium Appliance does not have enough space to enable the alternate partition, the TanOS console displays the minimum amount of space needed.

Disable alternate partitions (virtual Tanium Appliance only)

Use this option on virtual Tanium Appliances to remove the alternate (inactive) partition set. Use this option if you do not need the alternate partition. After you remove the alternate partition set, you can allocate the unused storage to the primary partition of the Appliance.

CAUTION:
  • Do not disable the alternate partition set with the intent to reclaim disk storage for the host computer or other virtual machines. Disk storage on the Appliance is permanently allocated, and space from alternate partitions can be reallocated only to the primary partition of the Appliance. Do not attempt to remove disk storage from an Appliance, as the Appliance becomes unusable.

  • Disabling an alternate partition used for a partition sync removes the partition sync backup.

Note: A virtual Tanium Appliance contains only one partition by default. This menu option appears only if you have enabled an alternate partition.
  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter B (Appliance Maintenance).
  3. Enter D and follow the prompts to remove all alternate partitions.
    PYTHON
    ------------------------------------------------------
    
                 >>> Appliance Maintenance <<< 
    
              1: Backup
              2: Alerting
              3: Upgrade TanOS
              5: Shell Keys
    
              A: Clean directories
              B: Reboot/Shutdown
              C: Maintenance mode
              D: Discard alt partitions
              I: Increase storage
    
              X: Advanced Maintenance
    
              R: Return to previous menu  RR: Return to top
    
     ------------------------------------------------------
    
     TanOS Version:        1.9.0 
    
      Please select: D
      This will remove all data on all alt partitions. While it is possible to
      recreate alt partitions, doing so will NOT recover any data on the current alt
      partitions.  You may need to add an additional disk to the VM if you want to
      create new alt partitions.
      This action is IRREVERSIBLE!
      
      CAUTION: Do not disable the alternate partition set with the intent to reclaim
      disk storage. Disk storage on the appliance is permanently allocated.
      Do not attempt to remove disk storage from an appliance, as the appliance will
      become unusable.
    
      Do you wish to continue with this irreversible action? [Yes|No]: yes
      Logical volume "altroot" successfully removed
      Logical volume "altopt" successfully removed
      Logical volume "alttmp" successfully removed
      Logical volume "althome" successfully removed
      Logical volume "altvarlogaudit" successfully removed
      Logical volume "altvarlog" successfully removed
      Logical volume "altvar" successfully removed
    
     Press enter to continue
Tip: Use the Increase storage option to reallocate the storage from the deleted partition set.

Boot from the active or inactive partition

When the Tanium Appliance boots, you are prompted to select a partition. Your choices are TanOS Active and, if an inactive partition is present, TanOS Inactive.

  • The TanOS Active option boots into the active partition. By default, the primary partition is the active partition.

  • The TanOS Inactive option boots into the inactive partition. By default, the secondary partition is the inactive partition.

Perform a partition sync

In an Array, start the partition sync on the primary Appliance only. The Array automatically performs the sync on all other Servers in the Array.

Note:
  • Though partition sync is available on virtual Tanium Appliances, it is intended to be used only in a virtual environment that replicates a physical Appliance Array for testing purposes. The partition sync feature is not recommended as a backup solution for production virtual Tanium Appliances.

  • A virtual Tanium Appliance contains only one partition by default. Appliances with only one partition do not contain the option to perform a partition sync. You can add a secondary partition to perform a partition sync. For more information, see Enable alternate partitions (test-environment virtual Tanium Appliance only).

Important: To protect data consistency, the partition sync job disables (shuts down) the Tanium Server, Tanium database server, and other related services for the duration of the partition sync. Make sure to perform a partition sync at a time that does not disrupt solution processes.
  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter B-1-P (Appliance Maintenance > Backup > Partition Sync).
  3. Follow the prompts to complete the backup. After the partition sync completes, TanOS displays a message indicating whether the sync was successful or encountered errors.
Important: If the partition sync encounters errors, resolve any issues before attempting a TanOS or Tanium Core Platform upgrade. TanOS alerts you if the most recent partition sync was unsuccessful when you attempt an upgrade.

For information about how to change the active partition to the inactive partition, see Perform a partition swap to restore TanOS from a partition sync.

Perform a partition swap to restore TanOS from a partition sync

Important: If you are performing a partition swap on all Appliances, start with all Tanium Servers followed by the Tanium Module Servers.

Prerequisites

  • A previous partition sync that is within your RPO

  • The password that was used on the previous partition sync (if the TanOS password was changed after partition sync)

  • Access to a user with the tanadmin role

Steps

  1. Sign in to the TanOS console as a user with the tanadmin role. Make sure the Appliance is booted to the primary partition in normal mounting mode.
  2. Initiate a partition swap (A-X-3). TanOS automatically reboots.
    Note: When you change the active partition, the partition that was set as the inactive partition becomes the active partition, and the partition that was set as the active partition becomes the inactive partition. For example, in the default configuration, the primary partition is the active partition and the secondary partition is the inactive partition. After you change the active partition, the secondary partition becomes the active partition and the primary partition becomes the inactive partition.
  3. Boot into the TanOS Active partition.
  4. Perform a partition sync (B-1-P). This syncs your secondary partition (which is active) to your primary partition (inactive).
    Important: Changes on the primary partition are overwritten.
  5. If necessary, repeat these steps for all Tanium Servers and Tanium Module Servers in the Array.

Use core and comprehensive backups for backup and restoration

Core backups and comprehensive backups produce recovery bundles that help rebuild the Appliance Array and the Tanium environment in the event of major issues.

Important: Store backup files in a location that is protected from unauthorized access,and protect them from intentional and accidental modification. A modified or corrupted backup file could cause the restoration to fail or leave the restored system in an unstable or insecure state.
Note: Regularly perform core and comprehensive backups for protection from major issues, but for the fastest recovery from minor incidents or misconfigurations, use redundancy, partition sync (for physical and virtual Tanium Appliances), and snapshots or other image backups (for cloud-based or virtual Tanium Appliances). For more information, see Tanium Appliance redundancy and backup best practices and considerations.
  • A comprehensive backup produces a comprehensive recovery bundle, which includes the full set of files that are necessary to recover a Tanium Core Platform Server. With assistance from Tanium, you can fully restore TanOS and the complete Tanium environment from this backup.

    Important: A comprehensive backup stops services on the Tanium Module Server to capture the module data. During this time, users can still access Tanium and ask questions, but the module workbenches are unavailable until the backup completes. A comprehensive backup also backs up significantly more data than a core backup. Performing this backup on secondary Servers minimizes the impact of the backup on performance and avoids downtime in most cases.
  • A core backup produces a core recovery bundle, which includes essential files to restore a Tanium Server or Module Server to the point that Tanium Clients can register. It omits the Tanium Server downloads used by custom packages and file data from Tanium modules. Because this backup does not require stopping Tanium services and it backs up less data, the performance impact is minimal.

    Note: Database restoration from core backups requires assistance from Tanium Support.

The following tables detail the contents of each recovery bundle:

Table 1. Contents of core and comprehensive backups on a Tanium Server or Zone Server

Contents

Included in Core Backup

Included in Comprehensive Backup

Appliance, Array and network settings

check-solid

check-solid

LDAP database contents (locally managed Tanium accounts)

check-solid

check-solid

Critical Tanium Server or Tanium Zone Server configuration and key material

check-solid

check-solid

LDAP and root CA certificates

check-solid

check-solid

Tanium Server database contents

check-solid

check-solid

Tanium Server downloads

solid-circle-x-red

check-solid

Table 2. Contents of core and comprehensive backups on a Module Server

Contents

Included in Core Backup

Included in Comprehensive Backup

Appliance, Array and network settings

check-solid

check-solid

Critical Tanium Module Server configuration and key material

check-solid

check-solid

LDAP and root CA certificates

check-solid

check-solid

Module Server database contents

check-solid

check-solid

File data from Tanium modules

solid-circle-x-red

check-solid

Items excluded from backups

Certain items are excluded from backups:

  • Generally, any TanOS configuration that is specific to that Appliance. This includes:

    • Auth key file (SSH keys)

    • FQDN, IP, routes

  • TanOS local user accounts and their account policies (such as password policy)

  • Scheduled jobs (such as backups)

You can transfer the backup file to a remote location using SCP, or copy the backup into the /outgoing directory for manual collection.

Sample contents of a core recovery bundle

CODE
$ ls -laR
total 40
drwxr-xr-x@ 12 john.doe  staff   384 Nov  2 14:18 .
drwxrwxrwx@ 45 john.doe  staff  1440 Nov  2 14:17 ..
-rw-r--r--@  1 john.doe  staff  6148 Nov  2 14:19 .DS_Store
-rw-r--r--@  1 john.doe  staff  2238 Nov  2 14:05 README.txt
drwxr-xr-x  11 john.doe  staff   352 Nov  2 14:18 TaniumServer
drwxr-xr-x   4 john.doe  staff   128 Nov  2 14:18 TaniumZoneServer
drwxr-xr-x  13 john.doe  staff   416 Nov  2 14:06 config
drwxr-xr-x   3 john.doe  staff    96 Nov  2 14:05 database
-rwxr-xr-x   1 john.doe  staff  1493 Nov  2 14:05 decrypt-payload.sh
drwxr-xr-x   5 john.doe  staff   160 Nov  2 14:05 enc_ssl
-rw-r--r--   1 john.doe  staff  1067 Nov  2 14:06 manifest.txt

./TaniumServer:
total 288
drwxr-xr-x  11 john.doe  staff    352 Nov  2 14:18 .
drwxr-xr-x@ 11 john.doe  staff    352 Nov  2 14:24 ..
drwxr-x---   4 john.doe  staff    128 Nov  2 10:31 Backup
-r--------   1 john.doe  staff   1111 Oct  9 14:55 SOAPServer.crt
-r--------   1 john.doe  staff   1704 Oct  9 14:55 SOAPServer.key
drwxr-x---   5 john.doe  staff    160 Oct 24 18:10 content_public_keys
-rw-r-----   1 john.doe  staff  90112 Nov  2 14:05 pki.db
-rw-r-----   1 john.doe  staff  20480 Nov  2 10:31 server.db
-rw-r-----   1 john.doe  staff    158 Oct  9 14:55 tanium.pub
-rw-r-----   1 john.doe  staff  20480 Oct  9 14:55 tdownloader.db
-rw-r-----   1 john.doe  staff   1133 Oct  9 15:01 trusted-module-servers.crt

./TaniumServer/Backup:
total 352
drwxr-x---   4 john.doe  staff    128 Nov  2 10:31 .
drwxr-xr-x  11 john.doe  staff    352 Nov  2 14:18 ..
-rw-r-----   1 john.doe  staff  90112 Nov  2 10:31 pki-backup.db
-rw-r-----   1 john.doe  staff  90112 Oct  9 15:12 pki.db

./TaniumServer/content_public_keys:
total 0
drwxr-x---   5 john.doe  staff  160 Oct 24 18:10 .
drwxr-xr-x  11 john.doe  staff  352 Nov  2 14:18 ..
drwxr-x---   3 john.doe  staff   96 Nov  2 10:31 console
drwxr-x---   3 john.doe  staff   96 Nov  2 10:31 content
drwxr-x---   3 john.doe  staff   96 Nov  2 10:31 manifest

./TaniumServer/content_public_keys/console:
total 8
drwxr-x---  3 john.doe  staff   96 Nov  2 10:31 .
drwxr-x---  5 john.doe  staff  160 Oct 24 18:10 ..
-r--r-----  1 john.doe  staff  586 Oct 24 18:10 console-release.pub

./TaniumServer/content_public_keys/content:
total 8
drwxr-x---  3 john.doe  staff   96 Nov  2 10:31 .
drwxr-x---  5 john.doe  staff  160 Oct 24 18:10 ..
-r--r-----  1 john.doe  staff  586 Oct 24 18:10 content-release.pub

./TaniumServer/content_public_keys/manifest:
total 8
drwxr-x---  3 john.doe  staff   96 Nov  2 10:31 .
drwxr-x---  5 john.doe  staff  160 Oct 24 18:10 ..
-r--r-----  1 john.doe  staff  586 Oct 24 18:10 manifest-release.pub

./TaniumZoneServer:
total 208
drwxr-xr-x   4 john.doe  staff    128 Nov  2 14:18 .
drwxr-xr-x@ 11 john.doe  staff    352 Nov  2 14:24 ..
-rw-r-----   1 john.doe  staff  86016 Nov  2 14:05 pki.db
-rw-r-----   1 john.doe  staff  20480 Nov  2 10:31 zoneserver.db

./config:
total 104
drwxr-xr-x  13 john.doe  staff   416 Nov  2 14:06 .
drwxr-xr-x@ 11 john.doe  staff   352 Nov  2 14:24 ..
-rw-r--r--   1 john.doe  staff    36 Nov  2 14:06 .tanium-user-key-encryption.key
-rw-r--r--   1 john.doe  staff   171 Nov  2 14:05 TaniumServer-TDL-config.txt
-rw-r--r--   1 john.doe  staff   994 Nov  2 14:05 TaniumServer-config.txt
-rw-r--r--   1 john.doe  staff   122 Nov  2 14:05 TaniumZoneServer-config.txt
-r-xr-xr-x   1 john.doe  staff  8041 Nov  2 14:05 Appliance_array.json
drwxr-xr-x   3 john.doe  staff    96 Nov  2 14:06 certs
-rw-r--r--   1 john.doe  staff  1299 Nov  2 14:05 fstab
-rw-r--r--   1 john.doe  staff   126 Nov  2 14:05 ifcfg-ens160
-rw-r--r--   1 john.doe  staff    78 Nov  2 14:05 ifcfg-lo
-rw-r--r--   1 john.doe  staff  4701 Nov  2 14:06 slapd.ldif
-rw-r--r--   1 john.doe  staff  4563 Nov  2 14:05 tanos_environment

./config/certs:
total 0
drwxr-xr-x   3 john.doe  staff   96 Nov  2 14:06 .
drwxr-xr-x  13 john.doe  staff  416 Nov  2 14:06 ..
drwxr-xr-x   3 john.doe  staff   96 Nov  2 14:06 root

./config/certs/root:
total 16
drwxr-xr-x  3 john.doe  staff    96 Nov  2 14:06 .
drwxr-xr-x  3 john.doe  staff    96 Nov  2 14:06 ..
-rw-r--r--  1 john.doe  staff  7732 Nov  2 14:06 redhat-uep.pem

./database:
total 7360
drwxr-xr-x   3 john.doe  staff       96 Nov  2 14:05 .
drwxr-xr-x@ 11 john.doe  staff      352 Nov  2 14:24 ..
-rw-r--r--   1 john.doe  staff  3764562 Nov  2 14:06 tsdb.pgdump

./enc_ssl:
total 16
drwxr-xr-x   5 john.doe  staff  160 Nov  2 14:05 .
drwxr-xr-x@ 11 john.doe  staff  352 Nov  2 14:24 ..
-rw-r--r--   1 john.doe  staff   33 Nov  2 14:05 iv.txt
drwxr-xr-x   3 john.doe  staff   96 Nov  2 14:05 pubkeys
-rw-r--r--   1 john.doe  staff  384 Nov  2 14:05 symmetric.enc.24cc7840d640bbcc6a15a756c49428e50323c2d9

./enc_ssl/pubkeys:
total 8
drwxr-xr-x  3 john.doe  staff   96 Nov  2 14:05 .
drwxr-xr-x  5 john.doe  staff  160 Nov  2 14:05 ..
-rw-r--r--  1 john.doe  staff  624 Nov  2 14:05 24cc7840d640bbcc6a15a756c49428e50323c2d9.pub

Sample contents of a comprehensive recovery bundle

CODE
$ ls -laR
total 40
drwxr-xr-x@ 11 john.doe  staff   352 Nov  2 14:31 .
drwxrwxrwx@ 46 john.doe  staff  1472 Nov  2 14:29 ..
-rw-r--r--@  1 john.doe  staff  6148 Nov  2 14:30 .DS_Store
-rw-r--r--   1 john.doe  staff  2238 Nov  2 14:06 README.txt
drwxr-xr-x  12 john.doe  staff   384 Nov  2 14:31 TaniumServer
drwxr-xr-x   4 john.doe  staff   128 Nov  2 14:31 TaniumZoneServer
drwxr-xr-x  13 john.doe  staff   416 Nov  2 14:06 config
drwxr-xr-x   3 john.doe  staff    96 Nov  2 14:06 database
-rwxr-xr-x   1 john.doe  staff  1493 Nov  2 14:06 decrypt-payload.sh
drwxr-xr-x   5 john.doe  staff   160 Nov  2 14:06 enc_ssl
-rw-r--r--   1 john.doe  staff  1090 Nov  2 14:07 manifest.txt

./TaniumServer:
total 288
drwxr-xr-x   12 john.doe  staff    384 Nov  2 14:31 .
drwxr-xr-x@  11 john.doe  staff    352 Nov  2 14:31 ..
drwxr-x---    4 john.doe  staff    128 Nov  2 10:31 Backup
drwxr-x---  999 john.doe  staff  31968 Nov  2 11:59 Downloads
-r--------    1 john.doe  staff   1111 Oct  9 14:55 SOAPServer.crt
-r--------    1 john.doe  staff   1704 Oct  9 14:55 SOAPServer.key
drwxr-x---    5 john.doe  staff    160 Oct 24 18:10 content_public_keys
-rw-r-----    1 john.doe  staff  90112 Nov  2 14:05 pki.db
-rw-r-----    1 john.doe  staff  20480 Nov  2 10:31 server.db
-rw-r-----    1 john.doe  staff    158 Oct  9 14:55 tanium.pub
-rw-r-----    1 john.doe  staff  20480 Oct  9 14:55 tdownloader.db
-rw-r-----    1 john.doe  staff   1133 Oct  9 15:01 trusted-module-servers.crt

./TaniumServer/Backup:
total 352
drwxr-x---   4 john.doe  staff    128 Nov  2 10:31 .
drwxr-xr-x  12 john.doe  staff    384 Nov  2 14:31 ..
-rw-r-----   1 john.doe  staff  90112 Nov  2 10:31 pki-backup.db
-rw-r-----   1 john.doe  staff  90112 Oct  9 15:12 pki.db

./TaniumServer/Downloads:
total 1815088
drwxr-x---  999 john.doe  staff      31968 Nov  2 11:59 .
drwxr-xr-x   12 john.doe  staff        384 Nov  2 14:31 ..
-rw-r-----    1 john.doe  staff         56 Nov  2 11:50 005a3cd39f819b3392cc39f99e62f7831c1011c95d971f9
c23d8cbadc00642a9
-rw-r-----    1 john.doe  staff      15738 Nov  2 11:59 00dbf6a76715a7c3d4005b7ca451d23985a6e060300b241
29f7a7933c73a3fb1
-rw-r-----    1 john.doe  staff       4068 Nov  2 11:29 027e5bf6248a58f3f73e6f51a72bd9e0d21cf6de75c6e6c
f27ead0b62514fe52
drwxr-x---  281 john.doe  staff       8992 Nov  2 11:57 DownloadAttempts
-rw-r-----    1 john.doe  staff        269 Oct  9 15:08 DownloadProgress_1
-rw-r-----    1 john.doe  staff         76 Oct  9 15:08 DownloadProgress_1.modified
-rw-r-----    1 john.doe  staff        205 Oct  9 15:08 DownloadProgress_10
-rw-r-----    1 john.doe  staff        269 Nov  2 11:48 DownloadProgress_100
-rw-r-----    1 john.doe  staff         85 Nov  2 11:15 DownloadProgress_100.error
-rw-r-----    1 john.doe  staff         76 Nov  2 11:48 DownloadProgress_100.modified
-rw-r-----    1 john.doe  staff        269 Nov  2 11:48 DownloadProgress_101
-rw-r-----    1 john.doe  staff         85 Nov  2 11:15 DownloadProgress_101.error
-rw-r-----    1 john.doe  staff         76 Nov  2 11:48 DownloadProgress_101.modified
-rw-r-----    1 john.doe  staff      13461 Nov  2 11:37 a06ce519c0b087489a32c4d4cac24fbc914ec7ca085b0dc
a53fd49a222e5cf1d
-rw-r-----    1 john.doe  staff      99192 Nov  2 11:56 a0cfcbfcfbf9d28f07e10c209df01b35e48e65ab77b3985
eb30eb74b7112f0e6
-rw-r-----    1 john.doe  staff        262 Nov  2 11:37 a144a623d5d8019c8628d020189a74df67d4a06c5d43bf8
b3f9dbbf70f9bf4f7
-rw-r-----    1 john.doe  staff  102047744 Nov  2 11:18 tdl-crls.db
drwxr-x---    2 john.doe  staff         64 Nov  2 11:59 tmp
-rw-r-----    1 john.doe  staff         68 Nov  2 10:31 upload_hosts.txt

./TaniumServer/Downloads/DownloadAttempts:
total 2232
drwxr-x---  281 john.doe  staff   8992 Nov  2 11:57 .
drwxr-x---  999 john.doe  staff  31968 Nov  2 11:59 ..
-rw-r-----    1 john.doe  staff    257 Oct  9 15:08 1.json
-rw-r-----    1 john.doe  staff    266 Oct  9 15:04 10.json
-rw-r-----    1 john.doe  staff    268 Oct  9 15:06 11.json
-rw-r-----    1 john.doe  staff    284 Oct  9 15:06 12.json
-rw-r-----    1 john.doe  staff    284 Oct  9 15:06 13.json
-rw-r-----    1 john.doe  staff    278 Oct  9 15:06 14.json
-rw-r-----    1 john.doe  staff    274 Oct  9 15:06 15.json
-rw-r-----    1 john.doe  staff    276 Oct  9 15:06 16.json
-rw-r-----    1 john.doe  staff    280 Oct  9 15:06 17.json
-rw-r-----    1 john.doe  staff    293 Oct  9 15:09 18.json
-rw-r-----    1 john.doe  staff    268 Oct  9 15:09 19.json
-rw-r-----    1 john.doe  staff    265 Oct  9 15:08 2.json
-rw-r-----    1 john.doe  staff    266 Oct  9 15:08 20.json
-rw-r-----    1 john.doe  staff    276 Oct  9 15:08 21.json
-rw-r-----    1 john.doe  staff    286 Oct  9 15:08 22.json
-rw-r-----    1 john.doe  staff    283 Oct  9 15:08 23.json
-rw-r-----    1 john.doe  staff    274 Oct  9 15:08 24.json
-rw-r-----    1 john.doe  staff    279 Oct  9 15:08 25.json
-rw-r-----    1 john.doe  staff    277 Oct  9 15:08 26.json
-rw-r-----    1 john.doe  staff    268 Oct  9 15:08 27.json
-rw-r-----    1 john.doe  staff    286 Oct  9 15:08 28.json
-rw-r-----    1 john.doe  staff    284 Oct  9 15:08 29.json
-rw-r-----    1 john.doe  staff    271 Oct  9 15:08 3.json
-rw-r-----    1 john.doe  staff    269 Oct  9 15:08 30.json
-rw-r-----    1 john.doe  staff    268 Oct  9 15:08 31.json
-rw-r-----    1 john.doe  staff    258 Oct  9 15:08 32.json
-rw-r-----    1 john.doe  staff    271 Oct  9 15:08 33.json
-rw-r-----    1 john.doe  staff    268 Oct  9 15:08 4.json
-rw-r-----    1 john.doe  staff    266 Oct  9 15:08 43.json
-rw-r-----    1 john.doe  staff    260 Oct  9 15:08 5.json
-rw-r-----    1 john.doe  staff    280 Oct  9 15:08 6.json
-rw-r-----    1 john.doe  staff    276 Oct  9 15:08 7.json
-rw-r-----    1 john.doe  staff    276 Oct  9 15:08 8.json
-rw-r-----    1 john.doe  staff    263 Oct  9 15:08 9.json

./TaniumServer/Downloads/tmp:
total 0
drwxr-x---    2 john.doe  staff     64 Nov  2 11:59 .
drwxr-x---  999 john.doe  staff  31968 Nov  2 11:59 ..

./TaniumServer/content_public_keys:
total 0
drwxr-x---   5 john.doe  staff  160 Oct 24 18:10 .
drwxr-xr-x  12 john.doe  staff  384 Nov  2 14:31 ..
drwxr-x---   3 john.doe  staff   96 Nov  2 10:31 console
drwxr-x---   3 john.doe  staff   96 Nov  2 10:31 content
drwxr-x---   3 john.doe  staff   96 Nov  2 10:31 manifest

./TaniumServer/content_public_keys/console:
total 8
drwxr-x---  3 john.doe  staff   96 Nov  2 10:31 .
drwxr-x---  5 john.doe  staff  160 Oct 24 18:10 ..
-r--r-----  1 john.doe  staff  586 Oct 24 18:10 console-release.pub

./TaniumServer/content_public_keys/content:
total 8
drwxr-x---  3 john.doe  staff   96 Nov  2 10:31 .
drwxr-x---  5 john.doe  staff  160 Oct 24 18:10 ..
-r--r-----  1 john.doe  staff  586 Oct 24 18:10 content-release.pub

./TaniumServer/content_public_keys/manifest:
total 8
drwxr-x---  3 john.doe  staff   96 Nov  2 10:31 .
drwxr-x---  5 john.doe  staff  160 Oct 24 18:10 ..
-r--r-----  1 john.doe  staff  586 Oct 24 18:10 manifest-release.pub

./TaniumZoneServer:
total 208
drwxr-xr-x   4 john.doe  staff    128 Nov  2 14:31 .
drwxr-xr-x@ 11 john.doe  staff    352 Nov  2 14:31 ..
-rw-r-----   1 john.doe  staff  86016 Nov  2 14:06 pki.db
-rw-r-----   1 john.doe  staff  20480 Nov  2 10:31 zoneserver.db

./config:
total 104
drwxr-xr-x  13 john.doe  staff   416 Nov  2 14:06 .
drwxr-xr-x@ 11 john.doe  staff   352 Nov  2 14:31 ..
-rw-r--r--   1 john.doe  staff    36 Nov  2 14:06 .tanium-user-key-encryption.key
-rw-r--r--   1 john.doe  staff   171 Nov  2 14:06 TaniumServer-TDL-config.txt
-rw-r--r--   1 john.doe  staff   994 Nov  2 14:06 TaniumServer-config.txt
-rw-r--r--   1 john.doe  staff   122 Nov  2 14:06 TaniumZoneServer-config.txt
-r-xr-xr-x   1 john.doe  staff  8041 Nov  2 14:06 Appliance_array.json
drwxr-xr-x   3 john.doe  staff    96 Nov  2 14:06 certs
-rw-r--r--   1 john.doe  staff  1299 Nov  2 14:06 fstab
-rw-r--r--   1 john.doe  staff   126 Nov  2 14:06 ifcfg-ens160
-rw-r--r--   1 john.doe  staff    78 Nov  2 14:06 ifcfg-lo
-rw-r--r--   1 john.doe  staff  4701 Nov  2 14:06 slapd.ldif
-rw-r--r--   1 john.doe  staff  4563 Nov  2 14:06 tanos_environment

./config/certs:
total 0
drwxr-xr-x   3 john.doe  staff   96 Nov  2 14:06 .
drwxr-xr-x  13 john.doe  staff  416 Nov  2 14:06 ..
drwxr-xr-x   3 john.doe  staff   96 Nov  2 14:06 root

./config/certs/root:
total 16
drwxr-xr-x  3 john.doe  staff    96 Nov  2 14:06 .
drwxr-xr-x  3 john.doe  staff    96 Nov  2 14:06 ..
-rw-r--r--  1 john.doe  staff  7732 Nov  2 14:06 redhat-uep.pem

./database:
total 7360
drwxr-xr-x   3 john.doe  staff       96 Nov  2 14:06 .
drwxr-xr-x@ 11 john.doe  staff      352 Nov  2 14:31 ..
-rw-r--r--   1 john.doe  staff  3764519 Nov  2 14:06 tsdb.pgdump

./enc_ssl:
total 16
drwxr-xr-x   5 john.doe  staff  160 Nov  2 14:06 .
drwxr-xr-x@ 11 john.doe  staff  352 Nov  2 14:31 ..
-rw-r--r--   1 john.doe  staff   33 Nov  2 14:06 iv.txt
drwxr-xr-x   3 john.doe  staff   96 Nov  2 14:06 pubkeys
-rw-r--r--   1 john.doe  staff  384 Nov  2 14:06 symmetric.enc.24cc7840d640bbcc6a15a756c49428e50323c2d9

./enc_ssl/pubkeys:
total 8
drwxr-xr-x  3 john.doe  staff   96 Nov  2 14:06 .
drwxr-xr-x  5 john.doe  staff  160 Nov  2 14:06 ..
-rw-r--r--  1 john.doe  staff  624 Nov  2 14:06 24cc7840d640bbcc6a15a756c49428e50323c2d9.pub

Configure automatic core or comprehensive backups

Use TanOS to schedule automatic core and comprehensive backups for the Tanium Appliance.

Tip: After you perform the initial setup for an Appliance, a core backup is scheduled by default. The TanOS health check reports an error that automatic backups cannot complete until you set up an encryption key. To remove the error from the health check, you can either add an encryption key or disable the scheduled core backup. For more information about the TanOS health check, see Run the Health Check.

The general process to set up an automatic backup includes the following steps:

  1. Add an encryption key for all backups.
  2. Configure a core or comprehensive backup.
  3. Test the automatic backup.
  4. Schedule the automatic backup.

When you schedule an automatic backup, TanOS prompts you to select a remote host to which to save the recovery bundle. TanOS also saves the recovery bundle to the /outgoing directory, where you can use SFTP to download the recovery bundle.

Add encryption key for the backups

Encrypt all core and comprehensive backup recovery bundles with a key pair. Encryption is required for both automatic and manual backups.

  1. Use OpenSSL to generate a public/private key pair in a PEM file. Enter a passphrase when prompted.
    CODE
    openssl genrsa -aes256 -out ssl-pvk.pem 3072
  2. (FIPS mode only) For customers that need to decrypt backup bundles on a FIPS-enabled Appliance, encrypt your backup key using the following command:
    CODE
    openssl pkcs8 -topk8 -in OLD_FILENAME.pem -v2 aes-256-cbc -out NEW_FILENAME.pem
  3. Extract the public key from the PEM file. Enter your passphrase when prompted.
    CODE
    openssl pkey -in ssl-pvk.pem -pubout -out ssl-pub.pem
  4. Extract the identifier for the public key. This identifier is visible in the backup file and can be useful to find a particular public key.
    CODE
    openssl pkey -pubin -in ssl-pub.pem -outform DER | openssl dgst -sha1
  5. Copy the contents of the ssl-pub.pem file (the public key) to the clipboard.
  6. Sign in to the TanOS console as a user with the tanadmin role.
  7. Enter B-1 (Appliance Maintenance > Backup).
  8. Enter E, paste the public key from the clipboard, and press Ctrl-D. ------------------------------------------------------ >>> Appliance Maintenance -> Backup <<<  Automatic Backups  E: Set Encryption Key C: Configure Automatic Backup A: Run Automatic Backup Now S: Schedule Automatic Backup Manual Backups  P: Partition Sync N: Core Backup F: Comphrehensive Backup L: List Database Backups R: Return to previous menu RR: Return to top ------------------------------------------------------ TanOS Version:1.9.0  Please select: E Paste the PEM public key then press Ctrl-D -----BEGIN PUBLIC KEY----- MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAxlgJIiY7Lxq0OtQYP1ic l6QKvpiLTiMFprfGx5HpvjED8ea90k3NLs4gqKCnNfqzoflBDam12jdtqm0XM7TD ythv8tPL2qoCk8HRilJzRQqk8YpAw0tz2tgvl9WqZfjIrRgN/CReTPxXg08OTr8g 8v/P8NY/IHs2xEQttC3ALgwlUpjEnIfZIYvGX/sFLioTCiuntIEDZqDRd086FC8K 6Zrdz6z8Rb9iCZu//Usc5o+uNpVJT2iOjXsSt5ZnWZzF6LlgwI/RPB1UZ+loCRQP /A8vpp3FcyjcE04XYgMRFJI1/fiGI9MzZC0V2Ki2dAWJERN37+11CeLZip0AXf5T q7psBQwu9I85q681F/aGZ9vsJuX0JTkEKzKJdoGiWsmuUVNUX3gUrLQHNf0OBtx2 7yivtj2dQAdjE8qGFKoZ/ndUqX/BYg6FCktMvwqmMtVVlKyWTl4g/h75tvmMBKOS H3iCa4S+jag34+D1J8q9YAU0t7m9EY3uXzQIdvkCJWAFAgMBAAE= -----END PUBLIC KEY----- Successfully imported key 24cc7840d640bbcc6a15a756c49428e50323c2d9 Press enter to continue
  9. Press Enter to go to the Backup menu.
  10. To test the encryption, perform a manual core backup using the steps described in Manually run a core or comprehensive backup.
    1. After the backup completes, download the recovery bundle. Note that you are not prompted to set a password.
    2. Extract the recovery bundle. The folder contains a README.txt file that describes how to decrypt the recovery bundle.

Configure an automatic backup

In a new installation with a Tanium role installed, an automatic core backup is scheduled to run nightly at 2:01 AM UTC. You can edit the backup, disable the backup, or configure an automatic comprehensive backup.

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter B-1-C (Appliance Maintenance > Backup > Configure Automatic Backup).
  3. Select the type of backup to configure:
    CODE
    ------------------------------------------------------
    
           >>> Maintenance -> Backup -> Configure <<< 
    
    Type                    Enabled         Export (SCP)    Scheduled 
    ===============         =======         ============    ========= 
    Core                    no              no              yes
    Comprehensive           no              no              no
    
              N: Configure Core Backup
              F: Configure Comprehensive Backup
    
              R: Return to previous menu  RR: Return to top
    
     ------------------------------------------------------
    • To configure a core backup, enter N.
    • To configure a comprehensive backup, enter F.
  4. Follow the prompts to enable the backup and to specify file transfer options.
    • Automatic backups always save the recovery bundles to the /outgoing directory for download with SFTP.

    • You can specify a username and IP address for a destination server to reach with secure copy protocol (SCP). If you set up a file transfer with SCP, copy the public SSH key of the TanOS user that you are using to configure and run the backup to the remote user's ~/.ssh/authorized_keys file on the remote system. Ensure proper privileges on the remote system; you may need to run CHMOD 600 on the ~/.ssh/authorized_keys file.

      To locate a TanOS user's public SSH key to copy and store in the remote user's authorized keys file, sign in to the TanOS menu and navigate to User AdministrationC > TanOSU > user# > Key PairP. The public SSH key is presented for copying.

      The backup files are stored on the remote system at /home/<remote user>/ .

      For information about managing TanOS user SSH keys, see Manage SSH keys for TanOS users.

Test an automatic backup

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter B-1-A (Appliance Maintenance > Backup > Run Now).
  3. Select the type of backup to run.
  4. Verify the backup settings and enter Yes to run the backup.
  5. Verify the backup completes successfully.
    • If the backup exports the recovery bundle to a remote server with SCP, sign in to the remote server and verify the recovery bundle exists.
    • Extract the recovery bundle. The folder contains a README.txt file that describes how to decrypt the recovery bundle.
    CODE
    >>> Maintenance -> Backup -> Run Core Now <<< 
    
     Current Backup Configuration 
    
     Enabled:                  yes
     TanOS User:               tanadmin
    
     Export via SCP:           no
     Remote SCP Host: 
     Remote SCP User: 
     Remote SCP Directory: 
    
     Run automatic backup now with these settings? [Yes|No]: yes
    
    Searching for files to include in the Recovery Bundle
    Capturing TaniumServer database snapshot
    Packaging and encrypting Recovery Bundle
    Backup file copied to outgoing
    Finished processing core Recovery Bundle.
     Successfully completed the scheduled backup
    
     Press enter to continue

Schedule an automatic backup

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter B-1-S (Appliance Maintenance > Backup > Schedule).
  3. Select the type of backup to view the schedule settings. The schedule settings include the current settings and the pending settings.
    CODE
    >>> Maintenance -> Backup -> Schedule Core <<< 
    
    Current time: Thu 2022-03-07 20:09:55 UTC
    Active : Disabled  
    Every Day          | 02:01 UTC
    Crontab formatted time string: 01 02 * * *
    
    Pending: Disabled  
    Day of Month | 1             | 00:00 UTC
    Crontab formatted time string: 00 00 1 * *
    
             1: Disable Schedule
             2: Enable Schedule
    
             4: Schedule by Day of Month
             5: Schedule by Day of Week
             6: Select Time of Day
    
             7: Activate Schedule Settings
    
             R: Return to previous menu  RR: Return to top
    
    ------------------------------------------------------
    • Enter 1 to disable the backup.
    • Enter 2 to enable the backup.
    • Enter 4 to enter the days of the month to run the backup. You can enter a date range or comma-separated days.
    • Enter 5 to enter the days of the week to run the backup. You can enter a range or comma-separated values.
    • Enter 6 to select the time to run the backup. Enter the hours and minutes in UTC time.
    • To confirm the pending settings, enter 7 to activate the settings. The active settings update to match the pending settings.
    Important: If you enter R and do not activate the settings, the changes do not save.

View log files after a backup

If a backup fails, you can review the TanOS log file for additional information.

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 3-1-1-1 (Tanium Support Menu > Tanium Log Files > TanOS Appliance > TanOS Log).
  3. Enter V to view the current log file, or enter the line number of a previous log file if the relevant log entries have been rotated out of the current log file.

Manually run a core or comprehensive backup

Note: You must encrypt all backups with a key pair. Encryption is required for both automatic and manual backups. For information about how to set up encryption, see Add encryption key for the backups.

Complete the following steps to perform a manual backup of the Tanium Appliance:

  1. Sign in to the TanOS console as a user with the tanadmin role.

  2. Enter B-1 (Appliance Maintenance > Backup).

  3. Use the menu to create a backup:

    • Enter N to go to the Backup off-box Core menu.

    • Enter F to go to the Backup off-box Comprehensive menu.

  4. Follow the prompts to confirm the backup and to specify file transfer options. You can save the backup file to the /outgoing directory for download with SFTP, and you can specify a username and IP address for a destination server that can be reached with secure copy protocol (SCP).

    CODE
    >>> Appliance Maintenance -> Backup/Restore -> Backup off-box Comprehensive <<< 
    
     The remote backup will:
     - stop services during file collection (TMS comprehensive only)
     - create an archive with appropriate files
     - encrypt the archive using the pre-arranged public key
     - transfer the backup via scp (optional)
     - provide the backup for sftp download (optional)
    
     The backup will be deleted at the end; a transfer option MUST be chosen.
    
     Would you like to continue with a Comprehensive backup? [Yes|No]: yes
     Would you like to make this backup available for download via sftp? [Yes|No]: yes
    
     If you'd like to copy this backup file to a remote system via scp, ensure
     that the public key of tanadmin has been added to the authorized keys of
     the user on the target system. The file will be placed in the home directory
     of that user.
    
     Would you like to transfer the file via scp to a remote location? [Yes|No]: no
     Searching for files to include in the Recovery Bundle
     Capturing TaniumServer database snapshot
     Packaging and encrypting Recovery Bundle
     Backup file copied to outgoing
     Finished processing comp Recovery Bundle.
     Press enter to continue
  5. After the backup completes, press Enter to go to the Backup menu.

Review the TanOS log file

If a backup fails, you can review the TanOS log file for additional information.

  1. Sign in to the TanOS console as a user with the tanadmin role.

  2. Enter 3-1-1-1 (Tanium Support Menu > Tanium Log Files > TanOS Appliance > TanOS Log).

  3. Enter V to view the current log file, or enter the line number of a previous log file if the relevant log entries have been rotated out of the current log file.

Use a comprehensive recovery bundle to perform a full restoration of the TanOS or Tanium environment

You can perform a full restoration of the Tanium environment using a comprehensive recovery bundle.

Note: Each environment presents unique considerations, and the restoration process may vary depending on your specific needs. A full restoration rebuilds the TanOS environment, similar to the initial setup or a migration, and it might take significant time to complete. To engage the appropriate Tanium resources for additional guidance and support during restoration, contact Tanium Support.
Tip: To perform a limited restoration to recover from database issues using a core recovery bundle, contact Tanium Support.

Prepare a new installation for restoration

  1. If you are using any existing Appliances, reset TanOS. For more information, see Perform a TanOS reset.
  2. Follow the initial configuration steps relevant to your TanOS environment for each new or reset Appliance:
    Important: Install the same version of TanOS that was installed in the environment that was backed up. If you plan to upgrade, do so only after completing the restoration.
  3. Create an Appliance Array, following these specific steps:
    1. Create the Array, and add all Appliances. (Do not assign roles yet.) For more information, see Create the Array and Add members to the Array.
    2. Assign and install roles for only the primary Tanium Server and active Module Server. For more information, see Assign roles and Install Tanium roles.
    Important: Install the same version of the Tanium Core Platform that was installed in the environment that was backed up. If you plan to upgrade, do so only after completing the restoration.
  4. Completing and verifying the Tanium Core Platform installation on Tanium Appliances, including uploading your Tanium license.
  5. Import your licensed solutions in Tanium Console. For more information, see Managing Tanium solutions.
    Important: Install a version of each solution from the same semiannual release that was installed in the environment that was backed up. If you encounter issues or need assistance obtaining the appropriate version of a solution, contact Tanium Support.

Restore the Module Server

  1. Use SFTP to copy the recovery bundle file backed up from the previous Module Server to the /incoming directory on the new Module Server Appliance.
  2. Sign in to the TanOS console on the Module Server Appliance as a user with the tanadmin role.
  3. Enter B-1-O (Appliance Maintenance Menu > Backup > Restore from Backup).
  4. Enter the line number of the recovery bundle to use and follow the prompts to perform the restoration.
    CAUTION: This procedure overwrites your current configuration. Make sure you want to restore the environment to a backup before you proceed.

Restore the Tanium Server and register the restored Module Server

  1. Use SFTP to copy the recovery bundle file backed up from the previous Tanium Server to the /incoming directory on the Tanium Server Appliance.
  2. Sign in to the TanOS console on the Tanium Server Appliance as a user with the tanadmin role.
  3. Enter B-1-O (Appliance Maintenance Menu > Backup > Restore from Backup).
  4. Enter the line number of the recovery bundle to use and follow the prompts to perform the restoration.
    CAUTION: This procedure overwrites your current configuration. Make sure you want to restore the environment to a backup before you proceed.
  5. Follow the steps in Promote the standby Module Server to active to register the restored Module Server with the restored Tanium Server.
    Note: Even though the Module Server is currently the only one in the Array and is not a standby Module Server, these steps automatically register it with the Tanium Server.
  6. Sign in to Tanium Console on the Tanium Server and verify that the Tanium environment has been restored.

Restore the remaining Array members

  1. Assign and install roles for the secondary Tanium Server, the standby Module Server, and any Zone Servers, and then complete final tasks to configure the Array. For more information, see Assign roles, Install Tanium roles, and What to do next.
  2. Sign in to Tanium Console on the secondary Tanium Server and import licensed modules. For more information, see Managing Tanium solutions.
Note: If you use SNMP, the SNMP configuration settings are restored from the backup, but the SNMP service is not re-enabled. To restart the SNMP service, enter A-5-S (Appliance Configuration > SNMP Configuration > Set Password and Start the SNMP Service) and re-enter the SNMP password.

View the log for the backup restoration

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter 3-1-1-10 (Tanium Support Menu > Tanium Log Files > TanOS Appliance > Backup Restore Log).
  3. Enter V to view the current log file, or enter the line number of a previous log file if the relevant log entries have been rotated out of the current log file.