To print the contents of a snapshot directory or zip file, run the snapshot-decode script.

Options

$ ~/rhino/client/bin/snapshot-decode
Syntax: snapshot-decode <snapshot .zip | snapshot directory> [max# of records to print, default=all]

Example

$ ~/rhino/client/bin/snapshot-decode snapshots-backup/ActivityTestConfigurationTable
OpenCloud::::,2000,1.5,300,10000,chargingPeriodMultiple
OpenCloud:OpenCloud:sipcall::,2000,1.5,1800,10000,chargingPeriodMultiple

Notes

The snapshot-decode command outputs the contents of a single profile table saved in a single profile snapshot, as rows of comma-separated lists.

If you exported all profile tables (by passing the --all flag to rhino-snapshot), to view the complete set of snapshots, run snapshot-decode against each subdirectory of the output. For example, if you ran this command to create the set of profile snapshots:

~/rhino/client/bin/rhino-snapshot -h localhost --outputdir snapshots-backup --all

…​then you would run commands such as the following to inspect all the tables:

~/rhino/client/bin/snapshot-decode snapshots-backup/ActivityTestConfigurationTable

~/rhino/client/bin/snapshot-decode snapshots-backup/AnnouncementProfileTable
...
Previous page Next page
Rhino Version 3.2