1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dvr Backup And Restore Software for Windows (DvrBARS)

Discussion in 'TiVo Upgrade Center' started by ggieseke, Apr 13, 2013.

  1. Jul 2, 2013 #241 of 1474
    tvmaster2

    tvmaster2 Active Member

    2,057
    4
    Sep 9, 2006
    thanks - the quick restore seemed to work, and since there was nothing else on the drive it's likely OK. What's your recommendation for checking drives for errors once they've been formatted for use in the Tivo?
     
  2. Jul 2, 2013 #242 of 1474
    ggieseke

    ggieseke Active Member

    4,029
    12
    May 30, 2008
    Personally, I trust SpinRite as the ultimate drive test / recovery software more than anything else. The downside is that it takes forever and it only runs in DOS.

    Most of the time I just use the factory diags from Seagate or WD depending on who made the drive.
     
  3. Jul 2, 2013 #243 of 1474
    tvmaster2

    tvmaster2 Active Member

    2,057
    4
    Sep 9, 2006
    I didn't realize the WD app would work if the drive was formatted for Tivo. Cool. thanks. Agreed - Spinrite can take a loooooonnnnnggggg time :)
     
  4. Jul 6, 2013 #244 of 1474
    HerronScott

    HerronScott Well-Known Member

    2,786
    27
    Jan 1, 2002
    Staunton, VA
    Greg,

    Great tool! I just used to get truncated backup of an original TiVoHD 160GB drive (used though). Size was 1.1GB while the WinMFS truncated backup was only 466MB. Just curious how the 2 compare?

    I did donate as well. :)

    Scott
     
  5. Jul 6, 2013 #245 of 1474
    ggieseke

    ggieseke Active Member

    4,029
    12
    May 30, 2008
    First of all, THANKS!

    WinMFS is pretty aggressive when it comes to truncated backups. It leaves out all of the "alternate" partitions, the swap partition, and even the /var partition. It also uses a proprietary file format and compression.

    That's cool and it has saved countless folks over the years including me, but after more than 20 years in IT my basic instinct is to back up everything and I used a published file format. When I started DvrBARS my only real goal was to back up Premieres, and I wanted the result to fit on a single-layer DVD or a cheap flash drive, so anything under 4.7GB was fine with me.

    There's also a fair amount of compression still on the table if you zip or rar the VHD image. DvrBARS uses 2MB blocks, and even if only 512 bytes are needed the entire 2MB block it lives in is still copied. Zipping them seems to give about 40% compression on truncated images, and there's an option to skip the alternate Root partition which will shave another few hundred meg or so.

    Spike's still the true genius that figured out enough of the proprietary MFS file system to let folks like me stand on his shoulders. I'm waiting for the S5s this fall since some predictions are that they've broken the 2TB barrier. THAT's gonna be a challenge...
     
  6. Jul 6, 2013 #246 of 1474
    HerronScott

    HerronScott Well-Known Member

    2,786
    27
    Jan 1, 2002
    Staunton, VA
    Greg,

    Thanks for the explanation. I'm in IT as well and backups are a good thing (the more the merrier). So in that spirit, I pulled out my original S3 OLED 250GB hard drives (we have 2) and performed truncated backups with DvrBARS. Interestingly, one was 2.54GB and the other was 5.08GB in size. These had been in use for about a year and a half before I upgraded both to 1TB drives using WinMFS.

    Scott
     
  7. Jul 7, 2013 #247 of 1474
    ggieseke

    ggieseke Active Member

    4,029
    12
    May 30, 2008
    Maybe a web download, Amazon movie, or something along those lines snuck in. Basically I add every file to the backup, then for truncated backups I go back through the /Recording directory and remove the shows listed there.

    I'm just guessing. tvmaster2 got some unusual results too (7GB one day, 2.8GB the next). I should probably add a detailed log to the next version.
     
  8. Jul 28, 2013 #248 of 1474
    MTWomg

    MTWomg New Member

    19
    0
    Nov 21, 2009
    Could I get the 746320 image?
     
  9. Jul 28, 2013 #249 of 1474
    ggieseke

    ggieseke Active Member

    4,029
    12
    May 30, 2008
    PM sent.
     
  10. Jul 29, 2013 #250 of 1474
    CJDOG

    CJDOG New Member

    13
    0
    Feb 29, 2004
    Northeast
  11. Jul 29, 2013 #251 of 1474
    ggieseke

    ggieseke Active Member

    4,029
    12
    May 30, 2008
    Wow, that's one I haven't seen before. Microsoft's description of that error code is "The semaphore timeout period has expired". I have no idea what the heck that means.

    That DeviceIoControl call has been troublesome since I released DvrBARS, but I thought that I had covered all of the weird hardware configurations that I've come across so far and it won't work without it. I have a beta that ignores all errors and continues on despite them. I'll send you a PM link.

    Vista is the one OS that I haven't really tested it against due to my utter horror at what MS came up with in that fit of insanity. XP (because I still love it), 7 & 8 have been pretty solid so far.

    If you run Disk Manager (don't let it initialize anytnig it finds) what does it say about Disk 2?
     
  12. Jul 30, 2013 #252 of 1474
    CJDOG

    CJDOG New Member

    13
    0
    Feb 29, 2004
    Northeast
    Yeah, the system I have with eSATA connectors came with Vista so...
    OK, after the virtual disk driver eventually calmed down I can see the drive and was able to restore my original 160GB image to it.
    Thanks!
     
  13. Aug 3, 2013 #253 of 1474
    dougdingle

    dougdingle HD Tech

    623
    0
    Jul 4, 2007
    West Coast
    So I just discovered that if I'm doing a restore where the VHD file is on a network share, the green progress bar never appears, although I do have other indications that the file is being pulled across the network and the target drive is writing.

    Is this a bug or a feature? ;-)

    Edit: My mistake. It was the painful slowness that stopped the bar from appearing. Over a gig network, by my calculations it would have taken a mere 300 hours to copy a 1TB VHD file to the drive. I moved the drive to the machine where the file lives, and things are going much faster now.
     
  14. Aug 4, 2013 #254 of 1474
    ggieseke

    ggieseke Active Member

    4,029
    12
    May 30, 2008
    It's definitely not by design. I use standard Windows API calls like CreateFile & ReadFile, and a restore is basically just a bunch of sequential 2MB reads.

    If you're using Vista or Windows 7, some routers like my old Cisco 831 don't play well with certain features that the new IP stack uses. It drove me nuts because smaller packets like web browsing were fine but when it started using larger packets to download files it slowed down to about 5MB per hour. If you think that could be happening in your case open a Command Prompt as Administrator and enter the following command.

    netsh interface tcp set global autotuninglevel=disabled

    IMHO that autotuning layer is useless anyway and you can always turn it back on if it doesn't help. Unless every piece of hardware and software in your network supports "huge" packets and the ability to negotiate packet sizes over the MTU settings it doesn't help, and in some cases it may hurt a lot.
     
  15. Aug 4, 2013 #255 of 1474
    dougdingle

    dougdingle HD Tech

    623
    0
    Jul 4, 2007
    West Coast
    On a slightly different note, if you are working on a new version, please consider supporting drive to drive copies.

    And what would be REALLY cool is an option to continue on read errors without manual intervention, with a log at the end of the process if there were any errors.
     
  16. Aug 4, 2013 #256 of 1474
    ggieseke

    ggieseke Active Member

    4,029
    12
    May 30, 2008
    Adding direct copy from drive to drive is my next goal, and since I already have most of the code written for that it shouldn't be a problem. The continue / log on error will take more coding but it's something I have been thinking about, but as noted in my first post, "It is not intended as a recovery tool for corrupt or failing drives". Don't be surprised if v1.0.0.5 doesn't have it.

    That's my disclaimer and I'm sticking to it. :p

    Seriously though, it's a big jump from backing up or restoring a healthy drive to compensating for all of the problems that a corrupt or failing drive might present. The "if this or that error occurs" decision trees are endless. I set my basic design goals back in 2012 - back up a working Premiere to a 4GB file or less. Adding S1-S3 compatability along the way was just me being stubborn because I still use old TiVos.
     
  17. Aug 4, 2013 #257 of 1474
    jmbach

    jmbach der Neuerer

    1,557
    10
    Jan 1, 2009
    All that might be more of a DvrExplorer feature.
     
  18. Aug 5, 2013 #258 of 1474
    dougdingle

    dougdingle HD Tech

    623
    0
    Jul 4, 2007
    West Coast
    Yes, I can see that.

    But the program already stops on source disk read errors when creating a vhd file, and will ignore the error and continue once I click "OK". I want the option for the program to click "OK" and carry on so I don't have to babysit it.

    The log would just be a bonus, so I knew the drive had unrecoverable read errors.
     
  19. Aug 5, 2013 #259 of 1474
    nooneuknow

    nooneuknow TiVo User Since 2007

    3,554
    0
    Feb 5, 2011
    Cox Cable...
    While there are a few things I'd like to see modified or added, I wouldn't be so aggressive in "I want this, and I want that", without clicking on the Donate button. If you have given a donation, then :up: to you.

    Even then, I wouldn't feel entitled to demand changes.

    Maybe I'm wrong, but it seems like some people are getting a bit aggressive, over things that they want in a FREE program.
     
  20. Aug 5, 2013 #260 of 1474
    dougdingle

    dougdingle HD Tech

    623
    0
    Jul 4, 2007
    West Coast
    I made a donation immediately after the current version of the program allowed me to back up a failing drive, where nothing else would.

    And I'm not demanding anything. I am suggesting what I consider to be useful features. The author seems quite receptive to suggestions, and so I'm making them.
     

Share This Page