Hitachi Energy
database.conf
The following parameters for database backup and recovery are used by the NEM RAT, as well as the edbbackup and edbrestore commands. The parameters are only relevant for the workstation on which the core component has been installed.
 
database
Name of the NEM database
This defines the name and location of the Element Database, and is of the form db_name, where db_name is the database name,
Default value: NEM_DATABASE
The NEM database cannot be renamed.
local_backup_device
Configuration Parameters for local backups
This parameter is used by edbbackup, edbrestore and NEM RAT as path/location where the backup file will be stored.
Configuration parameters for hook functions called on backup and restore.
These parameters are used by the edbbackup and edbrestore commands.
edbbackup_prehook_script
Backup pre-execution hook script path
Default path: /opt/nem/nemadm/bin/edbbackup_prehook_script
edbbackup_posthook_script
Backup post-execution hook script path
Default path:/opt/nem/nemadm/bin/edbbackup_posthook_script
edbbackup_hook_uncond
Backup hook execution to be done unconditionally, edbbackup, hooks executed:
 
1: even without cmd line switch –e set (as long as scripts exist)
0: the hooks are executed only if the cmd line switch –e set (and if scripts exist)
Default value is set to 0
edbrestore_prehook_script
Restore pre-execution hook script path
Default path:. /opt/nem/nemadm/bin/edbrestore_prehook_script
edbrestore_posthook_script
Restore post-execution hook script path
Default path: /opt/nem/nemadm/bin/edbrestore_posthook_script
edbrestore_hook_uncond
Restore hook execution to be done unconditionally, edbrestore, remrestore hooks executed:
 
1: even without cmd line switch –e set (as long as scripts exist).
0: the hooks are executed only if the cmd line switch –e set (and if the scripts exist).
Default value is set to 0.
Add-ons for the database plugin to store the NE configs into file.
db_neconfigs_to_file
This parameter enables/disables the NE configuration storage into file system. Valid values are “true” and “false”. The default is set to “false”, which means by default the NE configuration backups are stored in the database.
 
Note:
If this parameter is set to “true”, it is the responsibility of the user to maintain a backup of the NE configuration files. These files will not be part of the FOXMAN‑UN Database Backup and Restore.
db_neconfigs_dir
This parameter defines the location for the NE configuration files. The default location is set at “/opt/nem/var/neconfigs”.