The snapshot.sh command syntax

You can use the snapshot.sh command to take a snapshot of the system, and the associated events and servers. The snapshot.sh command is in the $COLLATION_HOME/bin directory.

You can run the snapshot.sh command on the TADDM server. In a streaming server deployment, you must run the snapshot.sh command on the primary storage server.

Command syntax

snapshot.sh action [action_parameter]

Parameters

addexclude filename [exclude_list]
Adds the exclude list to the file, or replaces an existing instance of it in the file.
addref filename [reference_list]
Adds the reference list to the file, or replaces an existing instance of it in the file.
clear
Clears all snapshot data and drops tables.
compare [snapshot_A snapshot_B]
Shows the delta between the last two snapshots, or snapshot_A and snapshot_B, based on the host name.
compareref [snapshot_A reference_list]
Shows the delta between the snapshot and the reference list.
comparesig [snapshot_A snapshot_B]
Shows the delta between the last two snapshots, or snapshot_A and snapshot_B, based on the signature for changes in the host name or operating system.
compsys
Shows the computer systems.
detail [snapshot_A]
Shows all details of the computer systems in the latest snapshot, or snapshot_A.
detailos [snapshot_A]
Shows operating system information of the computer systems in the latest snapshot, or snapshot_A.
help
Shows detailed help on the usage of the snapshot.api command.
list [snapshot_A]
Shows the latest snapshot, or snapshot_A.
listall [default]
Shows all snapshots.
listexclude [exclude_list]
Shows the latest exclude list, or the one specified by name.
listref [reference_list]
Shows the latest reference list, or the one specified by name.
listallexclude
Shows all exclude lists.
listallref
Shows all reference lists.
nosession [snapshot_A]
Shows computer systems that failed to host a session in the latest snapshot, or snapshot_A.
remove snapshot_A [type]
Removes snapshot A, or remove all snapshots of the specified type.
removeexclude exclude_list
Removes the exclude list specified by name.
removeref reference_list
Removes the reference list specified by name.
session [snapshot_A]
Shows the computer systems that hosted a session in the latest snapshot or snapshot_A.
sensorerror [snapshot_A]
Shows all sensor errors from the latest snapshot or snapshot_A.
take [type] [desciption]
Takes a snapshot, including type and description information, if specified.