Keepass Export Triggers

2012-12-11
2012-12-11
  • Sam Wiggins
    Sam Wiggins
    2012-12-11

    Hi,

    We are using keepass in a group and have triggers set up to synchronise a DB stored on dropbox. That is working fine however I can't see any way of exporting the triggers so that the same triggers can be installed on multiple computers/installations of keepass without them having to be manually set up. Can this be done and if so how?

     
  • steelej
    steelej
    2012-12-11

    You can copy Triggers to the clipboard and then paste them into notepad and save as a text file.

    There is also a function to paste from the clipboard so you should be able to open the notepad file, select the text and then paste it from there.

    You can choose selected triggers or all triggers.

     
  • wellread1
    wellread1
    2012-12-11

    The options for copying and pasting triggers are accessed with the Tools button at the bottom of the Triggers dialog (Tools->Triggers->Tools(button)). The copied triggers are simple text in XML format and can be pasted to an intermediate file for transport. Triggers may contain installation specific information such as PATH that may have to be updated. Update by editing the intermediate text directly or once the triggers are pasted into the new KeePass installation.

    The triggers are stored in the active keepass.config.xml file. Depending on how much other installation customization you wish to transfer, it may be more convenient to move this file. See http://keepass.info/help/base/configuration.html for the information about the location of this file. This file is also a text file in XML format. If you choose this option move the keepass.config.xml while keepass is not running because it is only read at start-up and it is overwritten upon KeePass exit. Backup the current active keepass.config.xml before replacing it so that you may restore it should that become necessary.

    -wellread1

     
    Last edit: wellread1 2012-12-11
  • Paul
    Paul
    2012-12-11

    I have tested this and it's easy.

    1. Tools > Triggers.
    2. Highlight the trigger(s) you want.
    3. Tools > Copy selected triggers...
    4. Open Notepad etc. Paste. Save.
    5. Edit paths etc if required. Save.
    6. Open the saved file on the other computer.
    7. Ctrl A to select all. Copy.
    8. Open KeePass, Tools > Triggers > Tools > Paste Triggers...

    cheers, Paul