.RS 4
This will create a backup of the existing configuration file, remove it and start
b10\-cfgmgr(8)
-with the default configuration\&. The name of the backup file can be found in the logs (\fICFGMGR_RENAMED_CONFIG_FILE\fR)\&. (It will append a number to the backup filename if a previous backup file exists\&.)
+with the default configuration\&. The name of the backup file can be found in the logs (\fICFGMGR_BACKED_UP_CONFIG_FILE\fR)\&. (It will append a number to the backup filename if a previous backup file exists\&.)
.RE
.PP
\fB\-\-cmdctl\-port\fR \fIport\fR
<refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum>
with the default configuration.
The name of the backup file can be found in the logs
- (<varname>CFGMGR_RENAMED_CONFIG_FILE</varname>).
+ (<varname>CFGMGR_BACKED_UP_CONFIG_FILE</varname>).
(It will append a number to the backup filename if a
previous backup file exists.)
.RS 4
This will create a backup of the existing configuration file, remove it, and
b10\-cfgmgr(8)
-will use the default configurations\&. The name of the backup file can be found in the logs (\fICFGMGR_RENAMED_CONFIG_FILE\fR)\&. (It will append a number to the backup filename if a previous backup file exists\&.)
+will use the default configurations\&. The name of the backup file can be found in the logs (\fICFGMGR_BACKED_UP_CONFIG_FILE\fR)\&. (It will append a number to the backup filename if a previous backup file exists\&.)
.RE
.PP
\fB\-c\fR \fIconfig\-filename\fR, \fB\-\-config\-filename\fR \fIconfig\-filename\fR
<refentrytitle>b10-cfgmgr</refentrytitle><manvolnum>8</manvolnum>
will use the default configurations.
The name of the backup file can be found in the logs
- (<varname>CFGMGR_RENAMED_CONFIG_FILE</varname>).
+ (<varname>CFGMGR_BACKED_UP_CONFIG_FILE</varname>).
(It will append a number to the backup filename if a
previous backup file exists.)
</para>
i += 1
new_file_name = new_file_name + "." + str(i)
if os.path.exists(old_file_name):
- logger.info(CFGMGR_RENAMED_CONFIG_FILE, old_file_name, new_file_name)
+ logger.info(CFGMGR_BACKED_UP_CONFIG_FILE, old_file_name, new_file_name)
os.rename(old_file_name, new_file_name)
def __eq__(self, other):
write access to the configuration database file. The updated
configuration is not stored.
-% CFGMGR_RENAMED_CONFIG_FILE renamed configuration file %1 to %2, will create new %1
-BIND 10 has been started with the command to clear the configuration file.
-The existing file is backed up to the given file name, so that data is not
-immediately lost if this was done by accident.
+% CFGMGR_BACKED_UP_CONFIG_FILE Config file %1 was removed; a backup was made at %2
+BIND 10 has been started with the command to clear the configuration
+file. The existing file has been backed up (moved) to the given file
+name. A new configuration file will be created in the original location
+when necessary.
% CFGMGR_STOPPED_BY_KEYBOARD keyboard interrupt, shutting down
There was a keyboard interrupt signal to stop the cfgmgr daemon. The