hi i'm using keepass 2 portable to backup my database i have followed the tutorial here https://keepass.info/help/kb/trigger_examples.html but i would like to keep only 7 backups in the tutorial there is Code: /c for /f "skip=7 tokens=*" %X in ('dir "C:\Backup\{DB_BASENAME}.*" /b /o:-d') do del "C:\Backup\%X" I have changed in Code: /c for /f "skip=7 tokens=*" {DB_BASENAME}.{DT_SIMPLE} in ('dir ""{DB_DIR}\BackupDatabase\{DB_BASENAME}.*" /b /o:-d') do del "{DB_DIR}\BackupDatabase\{DB_BASENAME}.{DT_SIMPLE}" and Code: /c for /f "skip=7 tokens=*" %X in ('dir "{DB_DIR}\BackupDatabase\{DB_BASENAME}.*" /b /o:-d') do del "{DB_DIR}\BackupDatabase\%X" but it give me always an error , BackupDatabase is a folder inside the root of keepass with this trigger it works ,but it fill the folder up Code: /c copy "{DB_PATH}" "{DB_DIR}\Backups\{DB_BASENAME}.{DT_SIMPLE}" how can i keep 7 backups in the folder BackupDatabase in the portable version thanks take care
I use the KP Simple Backup plugin, https://github.com/marvinweber/KPSimpleBackup/wiki By default it's set to keep 15 backups, but you can change the number in the settings (under Tools)
It's listed on the official KP site (the first under the backup category), so I take it to be trustworthy. I've used it for about a year with no problems.
Update: based on the apparent won't-fix flaw in KeePass that isn't present in KeePassXC, I've switched to KeePassXC Portable. It opens a KP 2.x database without problems, but it doesn't accept plug-ins due to their perceived risks. The unpacked app is over 260 MB on disk and uses 46 MB of RAM but isn't noticeably slow on my old laptop w. SSD. (KP 2 was 6 MB unpacked and used <1 MB RAM.)
hi SouthPark i did not know about the flaw in keepass, but he/she does need to use the local machine , it's enough a portable version on an usb stick/pen about keepassxc i don't trust about it , many open source are developed by unknown person maybe with names but are you sure they are real there are many opensource that are not trusty think about audacity thanks for the information ,I have appreciated it , take care mate!
Hi, @mantra and thanks. KeePass 2.53 portable just released Rev 2, which should mitigate the CVE: https://portableapps.com/comment/252511#comment-252511
hi @SouthPark appreciate it a lot , i will use it ,i do prefer it over keepasXC but the official keepass developers hasn't update the code in the homepage or in sourceforge thanks mate