209 - Wie kann ich testen, ob meine ISP-Konfiguration funktioniert?
You should not only perform this test after the initial configuration of ISP, but ideally at regular intervals, or at least every time you change the ISP client configuration or the language settings such as the character encoding of your operating system.
To ensure that your ISP client configuration works as planned, you should test it. In the following, we would like to present all the steps for checking the ISP client configuration.
Always remember that files that have not been backed up or archived cannot be restored.
Evaluating the preview function
The ISP client offers a preview. Preview creates a file dsmprev.txt
in which it is recorded for each file whether it is backed up or not. To do this, call the following command for each file system on your computer:
Linux:
dsmc preview backup <mount point>
Windows:
dsmc preview backup <drive letter>
You should check the dsmprev.txt
file that has now been created for any anomalies. Make sure that all files that are to be backed up are actually specified as being backed up.
Test of the backup function
To test the backup function, you can create a test directory. Now create a few files in this directory. It is best to create some special cases such as umlauts or spaces in the file name for the test.
Then back up the directory by executing the following command:
dsmc incremental -subdir=yes /path/to/test-directory/
In the command output, you can check whether all files have been backed up. You can also use the following command to display which files from the test directory are now available on the ISP server:
dsmc query backup -subdir=yes /path/to/test-directory/
In the last step, try to restore the backed up files. To do this, execute the following command:
dsmc restore -subdir=yes /path/to/test-directory/ /path/to/restore/from/test-directory/
Check the output of the restore command to see whether all files could be restored. You should also compare the content of the restored files with that of the original files.
Testing the archive function
To test the archive function, proceed as described in the previous section, but use the commands:
dsmc archive -subdir=yes /path/to/test-directory/ dsmc query archive -subdir=yes /path/to/test-directory/ dsmc retrieve -subdir=yes /path/to/test-directory/ /path/to/restore/from/test-directory/
Checking the scheduler logs
Once you have made sure that your ISP configuration is operational by following the previous steps, you should definitely check whether a backup run could be carried out without any problems.
To do this, you must evaluate the scheduler log, the storage location of which you have defined as the value of the schedlogname
variable in the dsm.sys
configuration file for a Linux system.
On Windows, you will normally find the file under C:\Program Files\Tivoli\TSM\baclient\dsmsched
.
During the evaluation, you should pay particular attention to files that have not been backed up and aborted backup processes.