Backing Up The KeePass Configuration
KeePass stores its configuration in an external file, not in the database. This allows KeePass to retain session settings independent of which database you use, or if you don't have a database open. The configuration file is stored in different locations depending on its use, or the user's requirements.
Everything from window position to plug-in settings are stored in the configuration file. This ensures your plug-ins load correctly and any triggers you have created are loaded ready for use.
KeePass data includes:
The configuration file is called KeePass.config.xml and the default location is in the KeePass directory under the user's "APPDATA" directory.
The easiest way to see this location is to use Windows %APPDATA% environment variable.
The configuration file can be stored in other locations as shown on the KeePass Configuration Page
You can copy the file to another location, add it to your backup or image the whole disk. It's up to you what method you use and where you place the backup copy.
To restore the configuration file you need to find the current configuration file and then copy the backup over that file, but you must close KeePass first.
Triggers are stored in the configuration file and you can backup and copy them independently of the configuration file.
Method 1
Method 2