Forum Discussion

kaseyprichard's avatar
13 years ago

EMERGENCY - Data Loss - Please help!

So, as many do, I back up my files. However, I do not back up every day.

Also, I have owned 5 laptops in my short life and I have never EVER had one hard drive issue in them, they are all still running.

This weekend was my time. I am freaking out...waiting to tell the boss what I have lost. I have lost the current version of our channel's source code as well as all Photoshop graphics and much much more.

One thing that I would have trouble recreating is our channel's current version of source. I only have backups for version 1.0 and 1.1.

I have been testing version 1.2 and 1.3 on our developer Roku box, so it has one of the 2 version on there. Also, I have uploaded version 1.2 to our channel manager on the Roku Developer website, but it has not been published yet.

Does anyone know if a way to access our source from either the developer side of the Roku box, or could someone pull the source from the *.pkg file?

Thanks.

3 Replies

  • destruk's avatar
    destruk
    Streaming Star
    If nobody from Roku can help you, I've used R-Studio before. It was able to recover most of my data files I had lost on a damaged platter of a hard drive.
    http://www.r-studio.com/
    It's not 'free' but it's cheaper than sending the drive off to an actual repair shop to take it apart. Otherwise you will need to reach into your last backup and replace or rewrite the code you had added since then.
  • Other options are SpinRite, from Gibson Research (not free, highly recommended by many industry folk however) and PhotoRec (open source, and don't let the name fool you, it's good for all kinds of data). I've used both with success over the years.

    Also, I think you can access some/all of your code through the debugger if you still have the app side-loaded. You may be able to recover enough of the changes to get the old backup updated with the changes you've made recently. It'll be a little tedious, but probably easier than starting from scratch.
  • "gonzotek" wrote:
    Also, I think you can access some/all of your code through the debugger if you still have the app side-loaded. You may be able to recover enough of the changes to get the old backup updated with the changes you've made recently. It'll be a little tedious, but probably easier than starting from scratch.

    Yeah, if you know the file structure, if you CTRL-C to break into the debugger, commands like the following should output the code to the console for copy/paste:
    print ReadAsciiFile("pkg:/source/main.brs")