KeePass database SFTP sync.
Keepuppy is a Python package and associated scripts to keep a Keepass database file in sync between the local filesystem of multiple clients and an SFTP server. Optionally a command can be executed if the local file is updated. An example script is provided to restart KeePassX.
keepuppy_sync.py is a script to perform the file synchronisation. keepuppy_restart.py is a script to restart an application, KeePassX by default, which can be called by keepuppy_sync.py when the local file is updated.
Configuration values are set via environment variables. I recommend using a tool such as envdir.
If the KEEPUPPY_RESTART_COMMAND value contains [file_name] it with be replaced with the name of the updated local file.
To work with KeePassX, and not lose data when restarted by script, check Preferences -> General (2) -> Automatically save database after every change.
Copyright (c) 2014 Warren Moore
This software may be redistributed under the terms of the MIT License. See the file LICENSE for details.
@wamonite - twitter \_______.com - web warren____________/ - email