emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Tim O'Callaghan" <timo@linux.com>
To: Karl Voit <news1142@karl-voit.at>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: My sync setup for Org-mode files and more: unison, git (was: Require feedback on an idea: move to a central server all my org file and edit from there?)
Date: Tue, 2 Feb 2016 18:08:22 +0100	[thread overview]
Message-ID: <CAArV04Pb-jSSjY3SRp0-81Vb9uV1DBTzKqXtgG5BQ0k=ZnjyPw@mail.gmail.com> (raw)
In-Reply-To: <2016-01-25T16-24-49@devnull.Karl-Voit.at>

Hi,

My setup uses Dropbox and encfs. It is the best cross platform
solution for managing this problem i have come across. I used to use
git repos, unison, ssh tunneling, etc, but Dropbox beats them all
hands down, and i can use it with a free account.

- Windows - Dropbox + boxcryptor classic
- Andoid - Dropbox + android Boxcryptor classic or cryptonite
- Linux/Macos - Dropbox + encfs

I created a script to automount and manage encfs and possible
conflicts on the encrypted filesystem from my bash command line. You
can find the script here:
https://github.com/timoc/encfsbox

I've been using this setup for a few years now and it auto-syncs all
of my org files, research material etc (and git repositories) securely
between multiple hosts.
I also use it to securely share org-files and working support material
with others,

The only caveat is to add this line (or add a org-mode hook) to the
top of your org file, so that if an org file is open elsewhere when
you edit your dropbox it will get auto-reloaded by emacs:

# -*- mode: org; mode:auto-revert; -*-

Dropbox manages conflict detection between the various hosts. I have
very  rarely had any conflicts between hosts. If you use my enfsbox
script it will automatically tell you if it encounters conflicts in
the encrypted files, and you can call it with the C parameter to move
the conflicted file into the encfs filesystem so you can perform a
merge.

Hope this helps.

Tim.
P.S. if you like this idea, and want to create a Dropbox account,
please use this link: https://db.tt/d1zHZ92
It donates extra dropbox storage to me, for which i will tidy-up and
publish my multi-dropbox account version and accept feature requests
via github :)

On 25 January 2016 at 16:42, Karl Voit <devnull@karl-voit.at> wrote:
> Hi!
>
> * Xebar Saram <zeltakc@gmail.com> wrote:
>>
>> I keep syncing (via git,unison etc) all my org files all the time between 4
>> machines and i just had enough :) im not (and probably never will be)
>> disciplined enough to properly save and close all my 100's of buffer before
>> i leave each machine each time and im always faced with conflict/merging
>> hell..
>
> I do have privacy concerns since my most precious data is all
> managed via Org-mode.
>
> My system with four machines (1x Win7, 3x Linux) is:
>
> - home desktop:
>   - gitwatch + auto-commit: committing all changes when I save a
>     file (or a file gets synced)
>   - unison over ssh: sync with my own root-server via 10min cron-job
>
> - root server:
>   - just providing data and sync services
>   - no Emacs processing
>
> - home notebook:
>   - unison over ssh to root server (10min cron-job)
>
> - work (Win7):
>   - manual unison sync in the morning & evening
>
> Since I close Emacs when I'm done working on a machine, I avoid
> merge hell so far.
>
> I never forget to sync because Org is very important to me and the
> sync jobs don't just sync Org-mode files but my whole core data-set
> of several hundreds megabytes. I tend to use this functionality also
> for "high-frequency" backup of my most important data.
>
> --
> mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
>        > get Memacs from https://github.com/novoid/Memacs <
>
> https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
>
>

  reply	other threads:[~2016-02-02 17:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-23  7:22 Require feedback on an idea: move to a central server all my org file and edit from there? Xebar Saram
2016-01-23  8:17 ` Marcin Borkowski
2016-01-23 13:10 ` Eric S Fraga
2016-01-23 14:58   ` John Kitchin
2016-01-23 18:28     ` Xebar Saram
2016-01-23 19:46       ` Peter Davis
2016-01-23 22:22         ` Thierry Banel
2016-01-24  3:00           ` Eric Abrahamsen
2016-01-25  8:08             ` Loris Bennett
2016-01-25  8:30               ` Eric Abrahamsen
2016-01-25  9:15                 ` Loris Bennett
2016-01-25 14:14                   ` Eric Abrahamsen
2016-01-25 14:51                     ` Loris Bennett
2016-01-23 22:13       ` Marcin Borkowski
2016-01-26 15:21         ` Jorge A. Alfaro-Murillo
2016-01-24  3:14 ` Eric Brown
2016-01-25 15:42 ` My sync setup for Org-mode files and more: unison, git (was: Require feedback on an idea: move to a central server all my org file and edit from there?) Karl Voit
2016-02-02 17:08   ` Tim O'Callaghan [this message]
2016-02-07  6:52 ` Require feedback on an idea: move to a central server all my org file and edit from there? Carlos Sosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAArV04Pb-jSSjY3SRp0-81Vb9uV1DBTzKqXtgG5BQ0k=ZnjyPw@mail.gmail.com' \
    --to=timo@linux.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@karl-voit.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).