The trigger can automatically export the database when it is saved. The database is automatically exported when it is started. The database is automatically exported when it is closed. Exporting a database without attachments will reduce the volume when opened on the mobile phone, and everything can be changed at any time on demand.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now the database has reached 30M, and the capacity of the database after removing the attachments is only a few hundred KB. There is a plug-in on the official website that can create a database plug-in without attachments when saving the database, but I think this plug-in is not easy to use. Because every time the database is saved Will create a copy. As a result, more and more non-attached databases are created. I just want to create one. At the same time, I want to choose to create it on demand. For example, it is more convenient to create by clicking on the custom toolbar of the trigger.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After the local disk database is saved, the generated lightweight database is saved to the synchronization disk for mobile phone use. Because my local database with attachments is too big
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How to export the database without attachments through a script program in the trigger
I don't think you can easily do that in a trigger.
Why do you want to export in a trigger?
Why without attachments?
cheers, Paul
The trigger can automatically export the database when it is saved. The database is automatically exported when it is started. The database is automatically exported when it is closed. Exporting a database without attachments will reduce the volume when opened on the mobile phone, and everything can be changed at any time on demand.
Now the database has reached 30M, and the capacity of the database after removing the attachments is only a few hundred KB. There is a plug-in on the official website that can create a database plug-in without attachments when saving the database, but I think this plug-in is not easy to use. Because every time the database is saved Will create a copy. As a result, more and more non-attached databases are created. I just want to create one. At the same time, I want to choose to create it on demand. For example, it is more convenient to create by clicking on the custom toolbar of the trigger.
KeePass is not designed to be a file store. What attachment to you need in KeePass that is so big?
You could encrypt the file separately and store the password in KeePass.
cheers, Paul
@dreichl
Dear author. Can you have this plug-in to support custom save directories? Custom save quantity function
After the local disk database is saved, the generated lightweight database is saved to the synchronization disk for mobile phone use. Because my local database with attachments is too big
@dreichl KdbxLite has a database with a lot of attachments that has been stored for too long and it is stuck
After testing, using KdbxLite.plgx combined with KeeTrayTOTP.plgx plug-in to save the database often freezes
What is stuck? Full details please.
What freezes? KeePass, saving the lite database?
cheers, Paul
It is related to the KeeTrayTOTP plugin. There will be a freeze when saving the database, now I have replaced the keepsotp plug-in
Use a trigger to copy the file to the required directory.
cheers, Paul
It is better to let the plugin implement this function directly.