I need to backup few files on my Mac, and it can be done inside of Emacs by calling a function. But it is a tedious task to do everyday and sometimes I forgot doing it.
I wonder if I can automate it by using the run-at-time
function and make it backup at the mid night, and wonder what if
- the computer is locked?
- the laptop lip is closed?
- the computer is inactive for a long time and in sleep mode?
rsync
with Emacs: http://emacs.stackexchange.com/a/5844/2287 If the original poster wishes to remove the bullet points to make the question Emacs specific, then the question would likely pass muster -- although backups using Emacs should probably be done manually as jch states in the answer below. The linked thread also contains other methods for backing up -- e.g., Dropbox, etc. – lawlist May 18 '15 at 19:44