autoSaver v1.0

Even best software sometimes crashes. The plugin is aimed to provide a basic autosave functionality for project file and for modified layers currently in edit mode. Test it and give feedback.

download plugin

Image

 

Advertisements

11 comments

  1. lepoSs

    Hi Enrico,

    you know what ? A few days ago I thought that it was quite strange that there was no possibilities to automatically savec changes made on a layer (I just had lost 2 working hours because I forgot to save…); Then you did it !! You’re already there when needed 🙂

    Bye
    Stef

  2. enricofertest

    thanks stephane, you are really very kind. I am not a professional programmer, I made these tools for me, and I share then hoping they could help someone else. It’s a pleasure to know you find them interesting. bye.

  3. Akhil

    Hey, Thank you so much for the plugin. It is quite an assurance to have.. I have one query though. I understand that it creates .bak files of my work, at the given interval… But in case I need to restore that .bak file, how do I do that? Saving is great, but how to go back to a past instance using a .bak file in QGIS ?

    • enricofertest

      Happy to help you to Save Your work.
      To get autosaved projects in .bak mode
      simply manually rename the file erasing .bak
      suffix from the name of file. The right extension
      For qgis projects is .qgs
      consider also to uncheck the option “Save to alternate .bak”
      from plugin settings. In this case the actual project file
      Will be overwritten at specified interval
      and you Will get Always the last modified Version.

  4. Akhil

    Thank you so very much.. It is not very often that plugins are created for the simplest, but important needs… Cheers !!

  5. Kalle

    Very useful plugin! However, when using “strange” scandinavian letters like æ, ø, å in the file names, Python throws an error.

    • Kalle

      Error:
      An error has occured while executing Python code:

      Traceback (most recent call last):
      File “C:/Users/Kalle/.qgis2/python/plugins\autoSaver\autosave.py”, line 299, in cronEvent
      self.saveCurrentProject()
      File “C:/Users/Kalle/.qgis2/python/plugins\autoSaver\autosave.py”, line 319, in saveCurrentProject
      print “project autosaved to: “,bakFileName
      UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe5′ in position 52: ordinal not in range(128)

      Python version:
      2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

      QGIS version:
      2.8.2-Wien Wien, 1b929ef

  6. Stephen du Preez

    Hi Enrico, I have a query regarding your plugin.
    Does the plugin create an actual backup of the individual shapefile layers in a project or only the project file itself?
    Reason I ask is that I accidentally and carelessly saved edits made in error and as result, lost half a days work. So would this plugin “autosave the individual layers” into a seperate folder perhaps?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s