Home Download Buy Blog Forum Support

How to make Sublime more safe

How to make Sublime more safe

Postby mickoz on Mon Jul 07, 2014 7:55 pm

Hi,
I just posted a problem about losing all my modified "contents". I do not even want to think about how much works and "important" notes I have potentially lost.

Following this I was wondering if ST3 backup session info somewhere?

If not, like I have the feeling, any suggestion to make it more "safe" (I do not care if ST3 crash as long as it remember my windows settings AND MOSTLY its content -- especially non-saved texts). It could be settings, plugins, using project/workspace (never really checked those features), external solutions (e.g. backup of certains files like Sublime.session or all Sublime folder, on a regular basis, like daily at least).

Thanks
Last edited by mickoz on Thu Jul 10, 2014 6:10 pm, edited 2 times in total.
mickoz
 
Posts: 6
Joined: Thu Apr 03, 2014 6:45 pm

Re: How to make Sublime more safe / Can I recover an old session

Postby iamntz on Mon Jul 07, 2014 8:16 pm

You opened a thread about you opening a thread few minutes ago?
Why don't you open another thread to point to this thread then? o.O
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: How to make Sublime more safe / Can I recover an old session

Postby mickoz on Mon Jul 07, 2014 8:43 pm

Yes it could've been put in the same place.

But one thread was mainly about my problem and hoping I can recover.

This thread's goal is no matter the answer, to find solutions to make Sublime more safe proactively. I have the feeling there is no backup for the Session.sublime_session by default. :( -- I should edit a bit the description. I think (hope) any text editor would make sure data is safe. If program crash but data are all there, there is no real damage.

However, I see these files in my \AppData\Roaming\Sublime Text 3\Local:
Auto Save Session.sublime_session
Session.sublime_metrics
Session.sublime_session
-----

So it actually has two session files... But probably no backup. :'(
mickoz
 
Posts: 6
Joined: Thu Apr 03, 2014 6:45 pm

Re: How to make Sublime more safe

Postby iamntz on Mon Jul 07, 2014 9:26 pm

You are using a version control system AND a back-up service? If yes, your problem is solved.
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: How to make Sublime more safe

Postby iamntz on Mon Jul 07, 2014 10:27 pm

Then again, Sublime is about the only text editor I know where you routinely need to employ your backup systems' restore function.


Did you ever considered, only for a second or so, that there are small, very small chances that there are some issues on your end? Yeah, i know, other editors works & co, but maybe there is a conflict with your other installed apps.

In 3-4 years since i started to use ST, if i count every data loss or restore backup caused by sublime i will get exactly zero.
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: How to make Sublime more safe

Postby pete340 on Mon Jul 07, 2014 11:01 pm

iamntz wrote:In 3-4 years since i started to use ST, if i count every data loss or restore backup caused by sublime i will get exactly zero.


Same here.
pete340
 
Posts: 76
Joined: Mon Oct 10, 2011 9:45 pm

Re: How to make Sublime more safe

Postby pete340 on Tue Jul 08, 2014 12:16 am

eMarvin wrote:
pete340 wrote:
iamntz wrote:In 3-4 years since i started to use ST, if i count every data loss or restore backup caused by sublime i will get exactly zero.


Same here.


What's the point of this anecdotal evidence? mickoz above lost data. So did I on one occasion. There's a bug that needs to be fixed, no need to make excuses.


What's the point of your anecdotal evidence? <g>

As iamntz said, the problem may be something bogus on the system where the data loss occurs. If you've lost data because an ill-behaved application corrupted Sublime's internal data, it's not a Sublime bug. Pointing out that other uses **never** encounter this problem ought to encourage you to dig around and see if there's something on your system that's causing this.
pete340
 
Posts: 76
Joined: Mon Oct 10, 2011 9:45 pm

Re: How to make Sublime more safe

Postby ntenney on Tue Jul 08, 2014 9:54 am

eMarvin wrote:
pete340 wrote:As iamntz said, the problem may be something bogus on the system where the data loss occurs


Except it's not, I can easily reproduce it with atomic save on (my data loss on real data happened once, I no longer use atomic save in production for this reason). I personally suspect it's the same bug that causes lock errors on windows 64-bit, but hard to tell without the source...

And yes, support@sublimetext.com has received the receipt.


Do you mind posting the steps to reproduce? Like others, I have never experienced data loss, and I've never disabled atomic save. I'd like to see if I can reproduce the error on my systems.
ntenney
 
Posts: 66
Joined: Thu May 03, 2012 9:10 pm

Re: How to make Sublime more safe

Postby iamntz on Tue Jul 08, 2014 10:23 am

My anecdotical evidence is sustained by a bunch of other sublime users which i personaly know, plus other users on this forum.

About file locking: i also have this issue when i'm using grunt watch and sometimes (very, very rare, about once a day or less) saving fails and i have to save again. But considered that runing grunt sometimes fail as well because of file locking (without even having ST opened), i'm inclined to believe the problem is in another place.
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: How to make Sublime more safe

Postby pete340 on Tue Jul 08, 2014 1:50 pm

eMarvin wrote:
pete340 wrote:As iamntz said, the problem may be something bogus on the system where the data loss occurs


Except it's not, I can easily reproduce it with atomic save on (my data loss on real data happened once, I no longer use atomic save in production for this reason). I personally suspect it's the same bug that causes lock errors on windows 64-bit, but hard to tell without the source...

And yes, support@sublimetext.com has received the receipt.


What's the point of your anecdotal evidence? I've had bogus software that **consistently** produced bad effects in other software; the problem was the bogus software, not the software that actually failed.
pete340
 
Posts: 76
Joined: Mon Oct 10, 2011 9:45 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 30 guests