Need help - any backup by default?

33 views
Skip to first unread message

Luka

unread,
Jun 14, 2022, 5:56:15 AM6/14/22
to leo-e...@googlegroups.com
Please help!

Leo did not save my .leo file, so I have zero size file with all data lost. Does leo make any backup files by default, so that I could restore my data?

Luka

unread,
Jun 14, 2022, 9:22:08 AM6/14/22
to leo-e...@googlegroups.com
I found a copy of my .leo file in the system tmp directory! Today I am lucky. Actually it was a reminder for me to always make backups of everything. The problem seems to be not in Leo, but in the file system in this case.

вт, 14 июн. 2022 г., 12:56 Luka <luka.go...@gmail.com>:

tbp1...@gmail.com

unread,
Jun 14, 2022, 9:32:45 AM6/14/22
to leo-editor
Whew! Glad to hear it.  I have gotten into the habit of saving frequently (not just with Leo), and backing up my drive frequently, too.

Edward K. Ream

unread,
Jun 14, 2022, 10:56:06 AM6/14/22
to leo-editor
On Tue, Jun 14, 2022 at 8:32 AM tbp1...@gmail.com <tbp1...@gmail.com> wrote:
Whew! Glad to hear it.  I have gotten into the habit of saving frequently (not just with Leo), and backing up my drive frequently, too.

I suggest backing up to a free GitHub repo. It should be safer than physical backups.

Edward

tbp1...@gmail.com

unread,
Jun 14, 2022, 11:07:39 AM6/14/22
to leo-editor
Yes, there's a place for both.  I usually have a lot of files or even projects that don't seem to fit a Github repo.  I don't feel inclined to echo my whole hard drive to Github, and anyway, I re-organize parts often enough that keeping a Github repo up with them would be a real pain.

I do have some of those things in my own on-computer Mercurial repo, though.

Luka

unread,
Jun 15, 2022, 8:57:08 AM6/15/22
to leo-e...@googlegroups.com
Thank you! I wrote a bash script with the following logic:
1) Auto-commit every day during startup
2) Backup full repo on a separate computer every week.



вт, 14 июн. 2022 г. в 18:07, tbp1...@gmail.com <tbp1...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/982e83e0-ed34-4c2a-9d4b-057445b76aefn%40googlegroups.com.

Edward K. Ream

unread,
Jun 15, 2022, 12:38:25 PM6/15/22
to leo-editor
On Wed, Jun 15, 2022 at 7:57 AM Luka <luka.go...@gmail.com> wrote:
Thank you! I wrote a bash script with the following logic:
1) Auto-commit every day during startup
2) Backup full repo on a separate computer every week.

Sounds like a good plan.

Edward
Reply all
Reply to author
Forward
0 new messages