Set language environment variables
The backup-archive client automatically detects the language of the system locale and displays in that language.
For example, a French operating system displays the backup-archive client in French by default. If the backup-archive client cannot load the French message catalog, it defaults to the English (United States) language. For example, if the client is running in an unsupported language and locale combination, such as French/Canada or Spanish/Mexico, the client defaults to English (United States).
You can use the LANG environment variable to specify the language for the UNIX and Linux® clients.
export LANG=fr_FR
- This task does not apply to Mac OS X.
- To display the IBM
Spectrum Protect help
browser menus in the language of your current locale, ensure that
the NLSPATH environment variable in the
/etc/profile
file contains the following path:NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat:$NLSPATH export NLSPATH
If the locale of the backup-archive client is the same as the character encoding of the file names, all of those files are backed up or restored correctly. If you are running in any single-byte character set (SBCS), then all file names are valid and are backed up or restored by the backup-archive client.
ANS4042E Object name '/testData/en_US_files/file3?'
contains one or more unrecognized characters and is not valid.
If all directories and files are not created with the same locale, then run your scheduled backups by using a single-byte character set locale. This action ensures that files are not skipped because the file names contain characters that are not defined in the current locale. When you restore files, run in the same locale that matches the locale encoding of the file name.
For example, file names that consist of Japanese characters might contain invalid multibyte characters if they are displayed in a Chinese locale. These files are not backed up and are not shown by the graphical user interface. If such files are found during backup, the dsmerror.log file lists the skipped files.
en_US
(or some other SBCS
language) to avoid skipped files.