Official Content

To back up a Knowledge Base you just need to back up the associated SQL Server database.

To know which is the associated SQL Server database of a Knowledge Base, explore its directory and open the Knowledgebase.connection file with a text editor.

You will find information like the following:

<ConnectionInformation>
	<DBName>GX_KB_Sample</DBName>
	<IntegratedSecurity>True</IntegratedSecurity>
	<ServerInstance>MySQLServer\SQLEXPRESS</ServerInstance>
	<CreateDbInKbFolder>True</CreateDbInKbFolder>
	<Directory>C:\Models\Sample</Directory>
	<DataFile>GX_KB_Sample.mdf</DataFile>
	<LogFile>GX_KB_Sample_log.LDF</LogFile>
	<HostName>MyMachine</HostName>
</ConnectionInformation>


The database you have to back up is the one named "GX_KB_Sample" in the "MyServer\SQLEXPRESS" SQL Server instance.

You can just use the SQL Server backup option in order to back up the DB or backup the MDF file.

Be sure that no one is using the KB while you're doing the back up.
 

See Also

HowTo: Create a KB From an .MDF

   

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant