autosave backup v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Sebastian Elsner
Website: www.risefx.com
Automatically backup your autosave files
Requirements:
or later
15 Jun 2010
1029
Sometimes nuke scripts do not get saved properly and even the autosave file is corrupt or not existing any more. By hooking this script into the save process autosave files are handled in a way shake did: create incremented backup files with a max number of files.

Installation:
1) Drop the script in you nuke path
2) Add this lines to your menu.py

1
2
3
import autosave_backup
 
nuke.addOnScriptSave(autosave_backup.backup_autosave)

 

create a script, save it and watch it create the autosave iterations.

Please login in order to download these files.

Comments   

 
0 # owen williams 2011-01-20 10:22
Hi Sebastian. I have no clue about python, but have a real issue with NUKE only have 1 autosave, and cant seem to have increments. Does this script fix this? Could you do a more detailed breakdown on how to make this work. sorry if im not understanding this. Im not really any good at this kind of thing.
 
 
0 # Sebastian Elsner 2011-01-21 01:03
Hi owen, the info is all here on nukepedia. Please read the user guides python section and/or watch the very good tutorials by frank. then do what I outlined above.
 
 
0 # Shane Holloman 2011-04-26 12:52
Sebastian... thanks for this, I have done everything as I would normally add add python script and all seems well except "Attention! You do not have an autosave file!" Do we need to use certain syntax or naming convention on the initial file save name

Thank you in advance for your advice
Shane
 
 
0 # Shane Holloman 2011-04-26 12:55
I typically use filename_V1.nk for my first save is this not what your script expects?
 
 
0 # Shane Holloman 2011-04-26 13:02
I see this in the script: if os.path.exists( autosave_file): Are we to make this file and place it in our .nuke path, if so, do we call it: autosave_file.n k or??
 
 
0 # Sebastian Elsner 2011-04-26 23:22
You dont have to. this should work out of the box. "Attention! You do not have an autosave file!" only means that there is nof .autosave. Make sure, there is one before you save. If there is none, there is something wrong on your end, otherwise its a script thing (which I doubt because we are using it here in our studio...)
 
 
0 # srihari babu 2011-12-09 10:09
than k u
 
 
0 # Johan Wentzel 2016-12-15 09:19
Hi
This works so well, thankyou.
Any chance you can help me change the location of the autosave files? to be local? for example... %USERPROFILE%\M y Documents\nuke_ autosave
 
 
0 # G. Scott Scribner 2020-02-14 01:28
Works great but I had to disable after "You don't have a backup!" keeps popping up every time I save.
I'm trying to avoid pop-ups.

If there's a way to disable that warning, I love it.
 

You have no rights to post comments

We have 4293 guests and 130 members online