How does KeePass synchronize database passwords?Automatic synchronization through Nut Cloud

This article is "KeePass"Part 5 of a series of nine articles:

Set the KeePass password database file synchronization function, which can be directly synchronized through the Keepass native synchronization function.

  • However, this is too cumbersome to operate and requires a few mouse clicks for each sync...
  • Let's change our way of thinking, we can automatically synchronize Keepass, that is, use the Keepass trigger to achieve automatic synchronization.

Chen Weiliangblog's以下The article has described the Nut Cloud automatic backup settings in great detail ▼

There are two main problems here:

  1. Need to set automatic synchronization path, account and password
  2. Need to prevent trigger loop auto sync

There is already a ready-made script. After saving Keepass, you can directly synchronize it to Nut Cloud.

You can copy the following code and import directly ▼

<?xml version="1.0" encoding="utf-8"?>
<TriggerCollection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Triggers>
<Trigger>
<Guid>L2euC7Mr/EKh7nPjueuZvQ==</Guid>
<Name>SaveSync</Name>
<Events>
<Event>
<TypeGuid>s6j9/ngTSmqcXdW6hDqbjg==</TypeGuid>
<Parameters>
<Parameter>1</Parameter>
<Parameter>kdbx</Parameter>
</Parameters>
</Event>
</Events>
<Conditions />
<Actions>
<Action>
<TypeGuid>tkamn96US7mbrjykfswQ6g==</TypeGuid>
<Parameters>
<Parameter>SaveSync</Parameter>
<Parameter>0</Parameter>
</Parameters>
</Action>
<Action>
<TypeGuid>Iq135Bd4Tu2ZtFcdArOtTQ==</TypeGuid>
<Parameters>
<Parameter>https://dav.jianguoyun.com/dav/keePass/passwordSync.kdbx</Parameter>
<Parameter>123456</Parameter>
<Parameter>123456</Parameter>
</Parameters>
</Action>
<Action>
<TypeGuid>tkamn96US7mbrjykfswQ6g==</TypeGuid>
<Parameters>
<Parameter>SaveSync</Parameter>
<Parameter>1</Parameter>
</Parameters>
</Action>
</Actions>
</Trigger>
</Triggers>
</TriggerCollection>

KeePass trigger sync password database file

Specific steps are as follows:

Step 1:Turn on the KeePass trigger

After copying the KeePass trigger code, open Tools > Triggers ▼

How does KeePass synchronize database passwords?Automatic synchronization through Nut Cloud

Step 2:Paste triggers from clipboard

Click Tools > Paste Trigger from Clipboard ▼

Paste trigger sheet 4 from clipboard

Step 3:Double click on the SaveSync trigger to enter editing

After the import is complete, the SaveSync trigger will appear, double-click to enter the edit▼

Double-click the SaveSync trigger to enter the fifth sheet of editing

Step 4:Switch to action page▼

KeePass trigger switches to action page sheet 6

Step 5:Modify synchronization information

The main modification here is the Nut Cloud synchronization information.

Double click on the 2nd edit, change the URL, username and password to your own ▼

Change the URL, username and password to your own Nut Cloud synchronization URL, account and password Sheet 7

Step 6:Return to the main interface of KeePass

Is there still a setting that needs to be changed or it doesn't cause a sync error and I can't tell if it's a Keepass bug?

Step 7:Go to KeePass Options

In the KeePass interface, click Tools > Options ▼

KeePass Options: Click on the last "Advanced" page, in "File Input and Output", uncheck "Use file exchange when writing to the database sheet 8

▲ Click on the last "Advanced" page, in "File Input and Output", uncheck "Use file exchange when writing to the database"

Step 8:Click OK to save.

Step 9:Press "Ctrl + S" to save the database, and a KeePass synchronization window will pop up ▼

Press "Ctrl + S" to save the database, and a KeePass synchronization window will pop up No. 9

If there are no errors, the KeePass password database file synchronization is complete ▼

KeePass password database file synchronization completed 10th

Step 10:View the modification time of the Nut Cloud file

At this point, return to Nut Cloud, you can see that the modification time of the file has been changed ▼

The modification time of the Nut Cloud file has been changed to the 11th

Read other articles in the series:<< Previous: How to synchronize mobile phone KeePass?Android and iOS tutorials
Next: KeePass commonly used plug-ins recommendation: introduction to the use of easy-to-use KeePass plug-ins>>

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "How does KeePass synchronize database passwords?Automatic synchronization through Nut Cloud" is helpful to you.

Welcome to share the link of this article:https://www.chenweiliang.com/cwl-1455.html

Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top