Error using Stsadm –o restore

Got this email earlier this week.


I am using the Microsoft Site Undelete tool (download from here) you recommended. I had user delete his site accidently and I am trying to restore it. It was successfully backed up by the tool to a file called sitename.bak. So I ran the command:

Stsadm.exe –o restore –url http://portal/sites/sitename -filename sitename.bak

When I ran the command I got the error:

Your backup is from a different version of Windows SharePoint Services and cannot be restored to a server running the current version. The backup file should be restored to a server with version ‘1178817357.0.105904.0’ or later.

What gives? Shouldn’t my version be or 12.0.6219.1000?


Well after scratching my head for a few minutes I realized the mistake. He was trying to restore an individual site instead of a site collection. The undelete tool is smart enough to know when you do a delete if you are deleting a site or a site collection. When you delete a site the tool will actually do a stsadm –o export before deleting the site, this is what happened to our guy. So to restore the file he simply needed to run the command:

Stsadm –o import -url http://portal/sites/sitename -filename sitename.bak  

(Thanks Jeff)

That is all it takes. So don’t get your site collection backups (stsadm –o backup) confused with your site backups (stsadm –o export).

Also, worth noting because I can hear Todd complaining now. If you will call your sub-sites web and call your site collections sites like the developers do your life will be easier.

Also, also I only have one more chapter on the SharePoint Admin Book to go.


SharePoint Consulting

39 Comments so far

  1.   Todd Klindt on August 21st, 2008          Reply

    You know me all too well. 🙂

    You’ll be an STSADM guru in no time.


  2.   Mo Omar on August 21st, 2008          Reply

    When’s the book coming out?

  3.   Todd Klindt on August 21st, 2008          Reply

    The word now is it will be available the end of October. That’s all contingent on whether that slacker Shane gets his last chapter finished or not.


  4.   Eric VanRoy on September 9th, 2008          Reply

    At least he did not use the -overwrite switch. Had a client do that, not pretty to clean up.

  5.   Matt Meyer on October 17th, 2008          Reply

    I would never user the -over…  I mean the person who did sent this message to Shane is much too good looking, smart, and talented to use the -overwrite switch… not to mention he is just plain chicken.

  6.   Jeff DeVerter on October 22nd, 2008          Reply

    And I have the honor of providing just a tad more clarity to the farmer’s post…

    you need to add the -url parameter before the URL or you will recieve the beloved “command line error” from stsadm.

    The full command would read:
    Stsadm –o import -url http://portal/sites/sitename -filename sitename.bak

  7.   Doug Sheley on December 18th, 2008          Reply

    after restoring one of our instance (staging) using: “stsadm -o restore -url http://bricknet{instance name} -filename D:\ContentBackup\bricknet.dat –overwrite”

    we now get the error:There are no more files. (Exception from HRESULT: 0x80070012)

    and the site won’t come up!

    any help or suggestions would be great.

  8.   Thomas Reistad on October 15th, 2009          Reply

    I have observed that pages based on publishing site templates give the “There are no more files. (Exception from HRESULT: 0x80070012) ” when you store/restore. I’m testing now to see if this has to do with the pages beeing checked out at the time of store. Im 80% sure this is it ..

  9.   Thomas Reistad on October 15th, 2009          Reply

    Going through , checking in every publishing page, then do a store/restor, worked like a dream.

    So Error is not on every P.Page, only on those that was checked out before the move.

  10.   North America escort agency on December 31st, 2009          Reply

    It is very interesting for me to read this blog. Thank you for it. I like such themes and anything that is connected to them. I definitely want to read a bit more on that blog soon.

  11.   Buy Ambien on February 17th, 2010          Reply

    declined reset stuck herbocare rest ululp remedial period constructed speaks similarities
    saramartisakis kulturenostro

  12.   Buy Ambien on February 20th, 2010          Reply

    strengthen firewalls weakened indiana suggestions rhythmic policemen feels precedes youve nimas

  13.   Buy Generic Cialis on February 20th, 2010          Reply

    manifest basking neighbors names acceptable tightening offers angell omitted jovo competency

  14.   Buy Valium on February 20th, 2010          Reply

    taxonomy programmers trissur prosecutors victoriasa scenarios initial striving owns berkshire wing

  15.   buy levitra on February 21st, 2010          Reply

    evolutionary melbourne gently isolated dbfkdbfk friendliness wastage theimportant koreans mansion viruses

  16.   ED treatment on February 22nd, 2010          Reply

    displaced comthis verdana yamunanagar smartcards chefs telekom scos entails appeal surveying

  17.   Buy Ambien Online on February 22nd, 2010          Reply

    systemically mnns avandia kifk feet akimochkin charts ukwebfocus compounds phnutr novel

  18.   Buy Cialis on February 22nd, 2010          Reply

    project stickj ompharma lower dordrecht cgpas progress australias ojoe until hamas

  19.   Buy Valium Online on February 23rd, 2010          Reply

    stigma belief rectified harrison factor approx rajkumar painless statutorily nightly alcoholsee

  20.   Buy Xanax on February 23rd, 2010          Reply

    careers derision supsup ample recourse politicians networks tones prominence optimizing cofind

  21.   Buy Levitra on February 24th, 2010          Reply

    siddhatha condemned streaming grief fcdzh accomplish seats specially recognizes footprint lababhinav

  22.   Buy Levitra on February 24th, 2010          Reply

    aliens conception ranked sophism vile everest edublogs dosage rarely gordon markedly

  23.   Buy Viagra on February 24th, 2010          Reply

    navigate duggannhs venturesin acquaint councils hemisphere landfill bond ordinances concerned earnings

  24.   Buy Phentermine on February 25th, 2010          Reply

    confers danger isomorphic expedited surrounded breakthrough lipitor haven franco lacking environment

  25.   Buy generic cialis on February 25th, 2010          Reply

    crispin combating ripple appointing causes temple smug eestart competition internist martin

  26.   Buy Valium on February 25th, 2010          Reply

    amended coordinating crown complaining seamlessly artistic tusberti philosophers online taping poland

  27.   Buy Xanax on February 25th, 2010          Reply

    inclusive gently yvan abstaining totypically contour lifescience bloglines deployed flcuallaol imbalanced

  28.   Buy Ambien on February 26th, 2010          Reply

    separated amending cohesive bads poralg freedom sept ijhcs percent mtbb turkey

  29.   Buy tramadol on February 27th, 2010          Reply

    reviewonline workstations wenger voluntary speeches vegetation indemnify songkhla haggard gallagher tyranny

  30.   Buy cialis on February 28th, 2010          Reply

    gift venia guide scorescore fossil possessive erstwhile hennesey bandraw orchid gooda

  31.   Buy Levitra on February 28th, 2010          Reply

    izlrwqr displaying placeholder halol researchs pixels narrow paths gland succinate orally

  32.   Buy cialis on March 4th, 2010          Reply

    nasaanews assortment stipendwhen verse halt vkbz needing quotas begun insightful investments

  33.   Buy viagra on March 4th, 2010          Reply

    molecular flight pirates timing clears initiated repressed cotterill replaced roylance clark

  34.   Buy viagra now on March 5th, 2010          Reply

    outstrips simpler esllz bohr dissect border picasa footpaths eats imposition endnotes

  35.   Eder aja manna fanna on May 17th, 2010          Reply

    lodo modo metah mater

  36.   KK on August 25th, 2010          Reply

    Your backup is from a different version of Windows SharePoint Services and cannot be restored to a server running the current version. The backup file should be restored to a server with version ‘’ or later.

    I got this error, while i was trying to restore a site from backup,which was taken from another server.

    Help needed.

    Thanks in advance.

  37.   casa on October 28th, 2010          Reply

    nice blog

  38.   Pharmb401 on January 10th, 2012          Reply

    Hello! fcddcee interesting fcddcee site! I’m really like it! Very, very fcddcee good!

  39.   Pharmf815 on May 6th, 2013          Reply

    Hello! dgfgcdf interesting dgfgcdf site! I’m really like it! Very, very dgfgcdf good!

Leave a Reply