summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar zardoz <zardoz@web>2014-07-08 17:22:51 +0000
committerGravatar admin <admin@branchable.com>2014-07-08 17:22:51 +0000
commit8d133662a186213aaecfae037c9641b8732c8290 (patch)
tree1b7407be5e3d75ed07fbfa5d575334988136cd24 /doc
parent069e875da6d98f0d10c390541ccac733bea41e2b (diff)
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/__171__Locking__187___files_until_synced.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/forum/__171__Locking__187___files_until_synced.mdwn b/doc/forum/__171__Locking__187___files_until_synced.mdwn
new file mode 100644
index 000000000..129927bdc
--- /dev/null
+++ b/doc/forum/__171__Locking__187___files_until_synced.mdwn
@@ -0,0 +1,7 @@
+I’m currently trying to set up a sync which involves an SQLite3 database file that should always be in the same state on all systems at all times (since there is no readily available way of merging the data). Basically, I’m looking for a practical way that gives me some help in making sure the files never drift apart between my remotes. Since I’m forgetful and might forget syncing the repo before going home from the office, I was wondering whether there might be a good way to assist me in this. Has anyone had some good ideas in this direction, or is there a canonical solution?
+
+It occurred to me one way would be to instate a hook somewhere that links the database to /dev/null in all other remotes (so the software will fail to work if I start it without having synced), but it seems tricky. I guess would have to involve per-remote branches, which will be hard to do, since I need to use direct mode.
+
+A less complex method might be forcing a sync before shutting down the system resp. when booting up.
+
+Maybe other folks have had ideas for a practical, yet robust solution.