this post was submitted on 09 Mar 2024
63 points (98.5% liked)

Android

27333 readers
268 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS
 

I've been using Dropbox to sync my KeePass database for years, but I want to switch to Syncthing. My only concern is losing a password due to file versioning. Usually if I have KeePass open on both my phone and PC, there will be a conflict when saving to database, so Dropbox creates a conflicted copy. In some cases that means that I have to merge those databases but I don't lose the password.

What file versioning option should I be using in Syncthing? Should I be worried about losing a password due to conflicted file?

you are viewing a single comment's thread
view the rest of the comments
[–] ililiililiililiilili@lemm.ee 7 points 5 months ago (1 children)

I can 2nd that SyncThing works well with KeePass. I have it running on Windows, Android, and a few Debian computers (guys, I use Linux) and I've never had an issue. I just checked (and apparently I'm a thug), because I've been using "No File Versioning" for years. You may want to opt for any of the available options to err on the side of caution. As long as you're adamant about syncing any changes ASAP (and not modifying the database on 2 different devices simultaneously), you won't have issues. Even when I have screwed up (by editing the DB on 2 devices), the KeePassDX client on Android has handled it gracefully and allowed me to merge the conflicts. I also always keep regular backups of my database outside of the whole SyncThing monstrosity (just for worst case scenarios). Cheers mate, give a whirl.

[–] BrianTheeBiscuiteer@lemmy.world 4 points 5 months ago (1 children)

I've had a lot of conflicts over the years of doing this but as you say keepass is good at merging. You'd only run into trouble if you change the file in two locations before syncing (file conflict) AND the time was way off on one of them (wrong change applied) AND you have no way of resetting your password.

[–] BrianTheeBiscuiteer@lemmy.world 1 points 4 months ago

Okay, finally ran into a conflict that I noticed. Wonder how many passwords I've lost throughout the years. I got back the account that was swallowed but I'd much prefer this didn't happen in the first place. Other than making it a habit to sync (with syncthing) before editing a database it doesn't seem like there's a built-in solution for this. The problem is that keypass always performs a two-way sync (sync two files, modify two files). Guess I'll see how hard it would be to make a one-way sync plugin or if some other variant does one-way.