-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Choose Backup Location #3279
Comments
This is a good idea! |
Please make it so users can choose a custom backup database filename as well |
And please include the ability to keep multiple backups (up to a thousand previous versions) with date/time as a filename suffix. |
We aren't implementing a version control system here. |
It would be useful to save some historical copies in the backup folder rather than repeatedly overwriting the single .old.kdbx file as is now the case. |
Two reasons why that is unnecessary:
The backup file is really meant for corruption recovery on save and if you fudge a master password change. |
@mustelid Yea, it's one reason why I can't full abandon KeePass original, because of nifty plugin called 'DatabaseBackup' that can backup to multiple locations (Dropbox, OneDrive, Other location) upon save. So the backup resides on different location, incase my HDD fails. I like KeePassXC because it has very nice features like favicon downloads built-in and VERY good QR code scanning for TOTP. World beater, definitely a great software. |
I would also like the possibility to make multiple automatic backups of the db on save. |
Give the default setting is autosave after every change, that means that if I change two entries in one session, the good copy is also overwritten, though. |
This is true, but lets say you allow for 5 backup files... then 6 changes and you are now dead in the water. There is no good answer to this problem, EXCEPT, use a proper backup service and/or version control system outside of KeePassXC. You never want the same program doing the actions also doing your backups. Generally speaking a fault in the program that corrupts your save file will most likely corrupt your backup as well. You want to have a dead simple, program agnostic backup solution. Examples:
As you can see, there is no reason for us to waste cycles implementing this in KeePassXC. |
I agree that there's no perfect solution, I just want a good-enough one :-p
I'm not saying this is a high-urgency feature, far from it; but it would be a damn nice one to have. In the other rfi, I suggested a (configurable?) time before overwriting the backup copy again; while there would obviously still be potential for data loss, I think that is a fairly simple thing to implement, that would mitigate (my) major concerns. Then again, I appreciate you are doing this in your own time, so I'm certainly not about to tell you what you should and shouldn't do; I'm merely arguing my case :-D Thank you for doing this at all! |
Yeah, something like that would be great. For me, it's just to have another copy somewhere, regularly updated, that is on a different device. #4302 might be related. |
If you have C++ and Qt experience I would love a patch for this. |
I don't but I started anyway. I think it's at least half done and I can upload the patch somewhere, if someone else also wants to take a look / continue. Right now I'm busy with real life stuff and I don't know when I am able to finish the work. |
I'm still using the original KeePass for it's back-up plugin. |
Which one in particular? Do you have a link? Does it work in keepassxc? |
I personally use this one https://keepass.info/plugins.html#databasebackup (name: DatabaseBackup plugin) It's great, you can select multiple locations (I selected my NextCloud, OneDrive, and Dropbox folders) and you can set an auto self-delete threshold (like delete after 20 copies). It auto backup with every save. I don't think it works with keepass though :( |
It would be really nice to have to be able to have it sign the backups with a keyfile, this would make backing up and syncing soo much easier and would negate the need to deal with manually merging, or anything. |
I'm still interested in the original feature request of being able to change the backup location, of which I think this issue somewhat drifted away from. |
Saving backup to different location saved my butt. I was working off an obsolete folder that I accidentally deleted. :-) Thank goodness I saved to Dropbox or all my porn passwords will be erased. |
Is this something that is being considered for future version? This would be extremely helpful. Right now, our choices are to either manually move the backup or just use manual backup. The auto-backup feature is extremely limited right now because of this. |
I personally would not want a sync/backup integrated into keepassxc, but a seperate minimal program to handle it. Many already exist like such, rSync, Borgbackup, Syncthing, etc. However the db files don't like to Sync at least on Syncthing nicely, it tends to create a fair amount of conflict db files. Also as I mentioned in the past, I wish I could have Keepassxc set a backup location, anytime I edited the database, it could backup new databases to a second folder, and I can sync those instead of the primary. The benefit being I would be able to add a keyfile to those backup databases that I plan to store remotely, meanwhile the ones locally I can have password protected. Then the remote ones would be automatically updated with ease. |
Sorry, maybe I wasn't clear. I want the ability to set a backup location, just like you. Right now, because it automatically saves it in the same folder as the original, we have no choice but to either manually copy (or manually backup) or do some kind of sync. |
Yea, same. Just the option for it to save to another folder, instead of same folder. |
Also allow to choose the file name of the resulting backup, perhaps with a date time placeholder. |
Thanks so much for putting this in the 2.7.0 plan. I went ahead and donated. |
Summary
Currently the backup is saved on the same folder, which defeats the purpose if my laptop catches on fire.
Ability to choose a different backup location (e.g. a different folder like Dropbox folder)
Desired Behavior
Possible Solution
An option to select the same folder or a new folder (even better if allows multiple locations to backup to)
Context
I like to backup to my Nextcloud, OneDrive, and Dropbox, each cloud has one copy of latest backup everytime I press save.
The text was updated successfully, but these errors were encountered: