Data Backup

This script was written after seeing several people lose weeks or months of work due to unexpected computer failures (power-outage, hardware failure, etc). For some reason, when RM crashes, there is a chance that some or all of the data files will be wiped out.

This problem only seems to affect data files, so my solution is to regularly create back-ups. This can be done manually, but if you are not conditioned to create backups regularly it may be useful to have a script automatically do it for you.

If your project still does not load after restoring the backups, try replacing the rvproj2 file with a new one.

Download

Script: download here

If your backups are still corrupted after computer failure, report it and I will look into the issue.

Usage

Copy into your project and it will run automatically everytime you playtest.
Each backup copies all of your data files into a separate folder. The name of the folder is the time-stamp that the backup was run, which is a combination of the current year, month, date, hour, minute, and second.

There are a few configuration options but they don’t do much.

  • Run_Script – whether the script will run
  • Backup_Path – where the backups will be created. This is rooted in your project directory

You may also like...

16 Responses

  1. Conday says:

    This is such an awesome script, do you have any plans to make it usable as a plugin for RPG Maker MV? Thanks.

  2. Jackus says:

    Hey! This script saved my project today! Thanks!
    I was working on my project, and I saved, and then my PC just froze and I had to force it off by holding the Power Button.
    Anyway, once I powered back on, I realised all my data was gone! But then I remembered adding this script a while back and forgettong.

    Thank you!! Now I don’t have to redo my whole project! 🙂

    • Hime says:

      Always good to have backups 🙂
      There are always stories of people losing their data because of unforeseen accidents.

      • Jackus says:

        Yeah, the last game I was making died because I didn’t make backups, so I just made a different game. Glad this one didnn’t die the same way. 🙂

  3. Chaco says:

    I love your scripts, this one is going to leave my heart at rest 😉

  4. Tsukihime says:

    I dropbox all of my projects so I can easily revert if I need to. Since the thing automatically uploads whenever I save I don’t have to worry about losing data.

  5. estriole says:

    just got blue screen when writing my EST – BUILD AND DECOR script….
    if it’s game i’m developing… i back it up frequently. but never backup the ‘script development’ projects.

    the worst thing is… all the version changes is in the project (4 version changes). luckily i still have the prototype version in other project. but still have to redo all those works…. i remember vaguely how i done the script before. but i forgot how i manage to fix victor pixel movement airship bugs. strangely i found another method that fix that (i’m sure it’s 100% different from what i done before :D).

    guess i have to make this script standard on all my script development project then…

  6. Dekita-RPG says:

    just had to mention, your a fucking genius. this works perfectly.
    Other than the amount of excess data generated in my project folder this is ideal ( and the data can be removed so its all good )

Leave a Reply

Your email address will not be published. Required fields are marked *