Questions tagged [backup]

The tag has no usage guidance.

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
153 views

Why is renaming (rather than copying) the default way to create backup files?

The documentation on backup file creation, Copying vs. Renaming, makes it sound like copying is the more sensible choice. file owner and group remain unchanged hard links remain associated with the ...
2
votes
0answers
46 views

Keeping multiple back-ups

The below settings in my .emacs make emacs (24.3) save multiple back-ups. (setq delete-old-versions t kept-new-versions 6 kept-old-versions 2 version-control t) However, I have ...
1
vote
0answers
103 views

How to disable tramp autosave and backups, but keep other backups/autosave?

I'd like to disable autosaves and backups when using tramp, because I neither want to save stuff from remote machines nor stuff belonging to root in my backup/autosave directory. How to do that? I ...
1
vote
0answers
25 views

automatically backup before revert

I would like to backup buffers before they are (auto) reverted. This is nontrivial because the file a buffer is visiting isn't current, and the backup system normally works by duplicating the file ...
0
votes
0answers
34 views

İs there a way to revert to last hard save?

If I understand correctly M-x revert-buffer reverts to the last auto saved buffer, as explained here. I just lost a big file (it was garbled for some reason). I opened the auto back up file but it was ...
0
votes
0answers
24 views

How can I make Emacs put files named like .#filename into another directory too

I want my autosave files and backup files, e.g. #filename.org# and filename.org~ files, not to clutter the directory in my code repo that is in TypeScript. I have popped into a way to place inside ...
0
votes
0answers
59 views

How can I make Emacs back up files right after they are saved?

I have followed this answer's solution. My goal is to back up files right after I save them. When I create a new file it is successfully backed up to the given path, but when I close and re-open Emacs ...