Test your configuration

You should test your snapshot configuration to ensure it functions as intended.

Your failover site

To take the “right snapshot” - a download scheme that gets all of the files you want, and disregards the ones you do not - you will need to test your snapshot configuration, and you may need to use more than one.

As part of integration with the NetStorage network, your site will be given a host name, such as failover.example.com, that you can use as a URL for browser tests.

Your snapshots

The best practice in most situations is to test your configurations via command line using the NetStorage sst command and its supported options.

The sst command is largely the same as the Command field available in the SST UI in Control Center, and it uses the same command options. The only difference being that the sst command does not require that you provide a name for the snapshot, or set up a schedule. Instead, you simply run the commands via the interface. Further, the sst command also provides command options that aid in testing (for example, commands to remove files or directories, and upload individual files).

You can test input files, recursive and download options, and you can test to see whether a download is more effective using a single command or a multiple configuration setup. After you are satisfied, you can set up a named, scheduled configuration using the options in the SST UI.

Troubleshooting

You can test the configuration to help determine the cause of failure if the status is abnormal.

  • Enable output logging: Include the --output-file=[filename.ext] option to write the output to a logfile.
  • Enable verbose output: Include the --verbose option to provide a greater level of output detail.
Examples

Here's an example debugging command:

sst --output-file=sst-debug.log --verbose http://www.example.com/index.html

Here's an example of 'OK' output:

2019-04-26 05:23:25 (462 KB/s) - 'index.html' saved [1270/1270]

Here's an example of an 'Error' output:

fsetstat(index.html): Bad file descriptor 
Cannot write to 'index.html' (Input/output error).
Note: This example output does not accommodate all error types.
Still can't fix the problem?

If you can't resolve the issue contact your account representative.