Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Backup
Backup [message #35841] Fri, 27 February 2009 08:41 Go to next message
Gunter Pfeiffer is currently offline Gunter PfeifferFriend
Messages: 30
Registered: July 2009
Member
Hello,

today we had a unexpected power off at an pc.
On this reason we had lost a big file.
(We working with eclipse 3.4 and last DLTK for TCL)
It was completely destroyed. It was a new file from this morning and so we
have no backup. On this reason i was looking for temporary backup file.
But eclipse will not do anything like that. So i want to ask, is there
any way to switch on an temp. backup file. Like an automatic save ?
best regrads
Gunter
Re: Backup [message #35874 is a reply to message #35841] Fri, 27 February 2009 10:16 Go to previous messageGo to next message
Andrei Sobolev is currently offline Andrei SobolevFriend
Messages: 72
Registered: July 2009
Member
Hi Gunter,

Eclipse track file modification using Local History.
Local history are configurable from Eclispe properties. General-> Workspace-> Local History.
To restore lost file from Local History, project context menu -> "Restore from local history" could be used.

Best regards,
Andrei Sobolev.

> Hello,
>
> today we had a unexpected power off at an pc.
> On this reason we had lost a big file. (We working with eclipse 3.4 and
> last DLTK for TCL)
> It was completely destroyed. It was a new file from this morning and so
> we have no backup. On this reason i was looking for temporary backup
> file. But eclipse will not do anything like that. So i want to ask, is
> there any way to switch on an temp. backup file. Like an automatic save ?
> best regrads
> Gunter
>
>
Re: Backup [message #35907 is a reply to message #35874] Fri, 27 February 2009 12:09 Go to previous messageGo to next message
Gunter Pfeiffer is currently offline Gunter PfeifferFriend
Messages: 30
Registered: July 2009
Member
Hello Andrei,

thank you for your answer.
I have check the local history.
It seems like that there are the default values are set.
But when i try to restore a file from the main node of the project, i get
the messages:
no deleted resources in local history for selected container.

I found out, only files that i have deleted with eclipse will possible to
restore.
But normally we do not delete files with eclipse because we use perforce
for control our sources.

So what i need is a function like a task tag that will do periodically
backups from open files.
In this case you have the possibility to restore the last saved file when
your actual file is broken. Is there any way ???
Best regards
Gunter
Re: Backup [message #35940 is a reply to message #35907] Fri, 27 February 2009 17:22 Go to previous messageGo to next message
Shawn Clark is currently offline Shawn ClarkFriend
Messages: 70
Registered: July 2009
Member
Gunter,

Not sure if you have tried this but I use it as a good reference all the
time. If you open up the History view ( Window -> Show View -> Other ->
Type in "History" for the filter and select the one for Team -> History)
you will be presented with the history of any file when you are working
with that file. Make sure you select the "Link With Editor and Selection
(the double arrow <- ->). Open up the file that you want to get previous
copies of and in that history should be a listing of all the times you
saved the file and you can open up / compare the files in the history
with the current opened file.

Unfortunately there is no auto save functionality that I have seen. I
have just become very accustomed to pressing CTRL+S anytime I feel I
have been making enough of a change that I want a history to be created
for it.

--
Shawn Clark

Gunter Pfeiffer wrote:
> Hello Andrei,
>
> thank you for your answer.
> I have check the local history.
> It seems like that there are the default values are set.
> But when i try to restore a file from the main node of the project, i
> get the messages:
> no deleted resources in local history for selected container.
>
> I found out, only files that i have deleted with eclipse will possible
> to restore.
> But normally we do not delete files with eclipse because we use perforce
> for control our sources.
>
> So what i need is a function like a task tag that will do periodically
> backups from open files.
> In this case you have the possibility to restore the last saved file
> when your actual file is broken. Is there any way ???
> Best regards
> Gunter
>
>
Re: Backup [message #36044 is a reply to message #35940] Mon, 02 March 2009 07:48 Go to previous messageGo to next message
Gunter Pfeiffer is currently offline Gunter PfeifferFriend
Messages: 30
Registered: July 2009
Member
Hello Shawn,

thank you very much.
Your answer was very helpful.

Maybe you have any more information about this?
Like: on witch place will be the history information saved?
And how log will there be save?
Is this configurable ?
And when yes, where ?

Thanks a lot.

best regards
Gunter
Re: Backup [message #36078 is a reply to message #36044] Mon, 02 March 2009 18:32 Go to previous messageGo to next message
Shawn Clark is currently offline Shawn ClarkFriend
Messages: 70
Registered: July 2009
Member
Gunter,

I believe the history information is stored in the workspace that you
have setup for your Eclipse IDE.

The time to live and size settings are within the Preferences. Filter on
"history" and there should be an entry for Workspace -> Local History.
By default it is set to store the history for 7 days with 50 history
points per file and a max size of 1MB per file. Personally I put this to
30 days, 100 entries, and 10MB but that is because we don't have as
rigorous of a CVS policy. If you are committing every night then the
default should be fine.

--
Shawn Clark

Gunter Pfeiffer wrote:
> Hello Shawn,
>
> thank you very much.
> Your answer was very helpful.
>
> Maybe you have any more information about this?
> Like: on witch place will be the history information saved?
> And how log will there be save?
> Is this configurable ?
> And when yes, where ?
>
> Thanks a lot.
>
> best regards
> Gunter
>
Re: Backup [message #36111 is a reply to message #36078] Tue, 03 March 2009 07:41 Go to previous message
Gunter Pfeiffer is currently offline Gunter PfeifferFriend
Messages: 30
Registered: July 2009
Member
Thank you very much for your support.
Best regards
Gunter
Previous Topic:DLTK vs IMP vs XText
Next Topic:Debugging Engine is not properly configured for Tcl
Goto Forum:
  


Current Time: Fri Nov 28 10:06:58 GMT 2014

Powered by FUDForum. Page generated in 0.04060 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software