21

I’m trying to sync a KeePassXC database between my Android phone and my Manjaro Linux system. I want full two-way sync of changes, but I don’t want deletions on one device to remove the file on the other. What’s the best way to configure this? Tools like Syncthing seem close, but I’m not sure which folder settings or ignore rules would prevent deletion sync while still keeping both sides updated. Any guidance or examples would help. Thanks!

you are viewing a single comment's thread
view the rest of the comments
[-] PumpkinDrama@reddthat.com 2 points 1 week ago

Having the same file in both systems without the file being deleted on both if I delete it in one.

[-] MangoPenguin 7 points 1 week ago

That's what backups solve, for important data like a PW DB you should be running daily backups with versioning. Then if anything gets deleted or corrupted you can restore it easily.

[-] rainwall@piefed.social 4 points 1 week ago* (last edited 1 week ago)

Why not use file versioning on either device folder in syncthing to ensure you retain copies of deleted files? The "simple" setting will retain the last 5-10 versions of any file.

I'd also recommend backing up your data outside of the sync service once a day or whatever interval makes sense to you. That way a wayword sync, even with safeguards, cant really destroy the data.

[-] chaospatterns@lemmy.world 1 points 1 week ago

I tried that with my KeePass database and then I ended up with different conflict versions if a device didn't sync to my server before I updated on another device. Then I ended up with the conflict versions and old versions I had manually resolve. The Android Syncthing app could get auto killed by the Android OS for memory/battery saving, so I had to go back to OneDrive style syncing where the KeePass Android app would internally merge and resolve conflicts. It couldn't do that using the Syncthing style syncing.

this post was submitted on 16 Nov 2025
21 points (100.0% liked)

Linux

59735 readers
726 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS