emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org back up
Date: Thu, 18 Oct 2012 02:14:42 +0200	[thread overview]
Message-ID: <20121018001442.GA8886@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <5775.1350502602@alphaville.americas.hpqcorp.net>

Hello Sanjib and others,

Sorry to continue with this terribly off-topic thread, but as the person
who wrote that snippet I felt I should clarify.

On Wed, Oct 17, 2012 at 03:36:42PM -0400, Nick Dokos wrote:
> Teemu Likonen <tlikonen@iki.fi> wrote:
> 
> > Sanjib Sikder [2012-10-18 00:32:00 +0530] wrote:
> > 
> > > Even after 26th minute, there is no sign of the code in work. Is it that
> > > $HOME is not allowed and I need to give full path ?
> > 
> > Ah, I thought that you'd run it from your personal crontab. So yes,
> > write paths from root's point of view.
> > 
> 
> o Quite apart from cron issues, the backup method in the script is
>   fundamentally flawed in my opinion: iiuc, it flattens the hierarchy,
>   so if you have org files with the same name in different directories,
>   only *one* will be saved into the backup directory - hardly a reliable
>   backup.
> 

If you look at the original thread, my solution was a suggestion for the
specific case[1] of the original poster of that thread.  This is _not_ a
reliable way to back up your files.  As others have mentioned, a
distributed version control system like git, mercurial or bazar would be
well suited.  However I personally believe in redundancy being the best
backup and use at least 3 ways to backup my org files: git, dropbox and
rsync to a different physical drive.


Footnotes:

[1] The OP wanted to aggregate all org files in his home area to a
    specific backup directory.

-- 
Suvayu

Open source is the future. It sets us free.

  parent reply	other threads:[~2012-10-18  0:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-17 18:25 org back up Sanjib Sikder
2012-10-17 18:41 ` Teemu Likonen
2012-10-17 19:02   ` Sanjib Sikder
2012-10-17 19:08     ` Teemu Likonen
2012-10-17 19:26       ` Sanjib Sikder
2012-10-17 19:41         ` Teemu Likonen
2012-10-17 19:36       ` Nick Dokos
2012-10-17 19:38         ` Sanjib Sikder
2012-10-18  0:14         ` Suvayu Ali [this message]
2012-10-17 19:25 ` Achim Gratz
2012-10-17 20:05   ` Russell Adams

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=20121018001442.GA8886@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).