From: Ian Eure <ian@digg.com>
To: help-gnu-emacs@gnu.org
Subject: Backup remote files to local host
Date: Fri, 3 Apr 2009 18:54:24 -0700 [thread overview]
Message-ID: <FF029104-FCBE-4423-AC95-C542E72782B3@digg.com> (raw)
I want to put backups of files I edit via Tramp on my local machine,
rather than on the remote one, since I expect this to be a bit faster.
It seems to be non-trivial. I did (setq tramp-backup-directory-alist
backup-directory-alist), but this still places the backups on the
remote host. According to the docs:
"If a Tramp file is backed up, and DIRECTORY is a local file name, the
backup directory is prepended with Tramp file name prefix (method,
user, host) of file."
i.e. it won't do what I want. I suppose I could set myself up for
password-less sudo and prepend the cdrs of backup-directory-alist with
"/sudo:ieure@localhost:", but this seems like an extremely
How can I get the desired behavior?
- Ian
next reply other threads:[~2009-04-04 1:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-04 1:54 Ian Eure [this message]
2009-04-05 8:19 ` Backup remote files to local host Michael Albinus
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FF029104-FCBE-4423-AC95-C542E72782B3@digg.com \
--to=ian@digg.com \
--cc=help-gnu-emacs@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.
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).