From: Kin Cho <ignore-this-prefixkin@techie.com>
Subject: Re: backup-each-save.el v1.1
Date: Wed, 06 Oct 2004 09:15:30 -0700 [thread overview]
Message-ID: <7i655nj00t.fsf@neoscale.com> (raw)
In-Reply-To: 87655orro0.fsf@penguin.brutt.org
Benjamin Rutt <rutt.4+news@osu.edu> writes:
> Kin Cho <ignore-this-prefixkin@techie.com> writes:
>
>> Actually I also wrote some code to backup every file I save, but
>> to a single directory (with a timestamp appended to each
>> filename). The backup directory would fill up with a thousand
>> files in a month, then I would manually (should write some elisp
>> to automate eventually) archive (and delete) the oldest 500 to a
>> single zip file.
>
> I think it is OK to have some other means of managing these backup
> files. For me, I don't mind having oodles of backup files sitting
> around, since disk is cheap nowadays and most of the files I save are
> relatively small (with the exception of e.g. .newsrc.eld which I took
> care of in v.1.1 with a user specified filter). Also, making a
> tarball would probably compress really well with all the inter-file
> similarities (at least that should be true if you make a complete .tar
> file first). I don't think the .zip format builds a compression table
> across files, but rather compresses each individual file separately.
True, tgz would compress very well. However, I like zip because
of archive-mode support.
>> I've been doing this for probably 4-5 years, and I have to go
>> back to this backup directory to recover files quite a few times.
>> Also I never had trouble finding the right file to recover, even
>> though the directory structure is not mirrored.
>
> I think that is probably fine, but the extra structure sure won't
> hurt, especially if you save a lot of files with the same name
> (e.g. Makefile).
Consider using find(1) (with -ctime option) to purge old files
from your mirrored directory structure.
-kin
prev parent reply other threads:[~2004-10-06 16:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87mzz1rumx.fsf@penguin.brutt.org>
[not found] ` <7iu0t9ay2r.fsf@neoscale.com>
[not found] ` <87is9osyiz.fsf@penguin.brutt.org>
2004-10-05 20:54 ` backup-each-save.el v1.1 Kin Cho
2004-10-06 11:51 ` Benjamin Rutt
2004-10-06 16:15 ` Kin Cho [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7i655nj00t.fsf@neoscale.com \
--to=ignore-this-prefixkin@techie.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.