Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Help on Using STSadm.exe

  Asked By: Jena    Date: Oct 04    Category: Sharepoint    Views: 1860

1. i want to backup the my site http://pcserver/mysite/default.aspx
my syntax for backup is
"stsadm.exe -o backup -url http://pcserver/mysite/ -filename
c:\mysite.dat"
but i got the message "The specified URL is a not a top-level
website. The backup and restore operation work only for top-level
websites...."

--> a. Is there a way to backup subsites without backing up the whole
site?

2. Let's say that i have succesfully created a backup
using "stsadm.exe -o backup -url http://pcserver/ -filename
c:\mysite.dat". When i tried to restore it to the same
site "stsadm.exe -o restore -url http://pcserver/ -filename
c:\mysite.dat". I got the message that the site address is already in
use.

--> a. do i have to delete the site http://pcserver/ and create a new
one just to see it can be restored? how?

3. Are the documents in the document library included in the backup
file?

4. If i deleted all files in the document library after the backup,
will the document library be re-populated when i restored succesfully?

5. I created a backup of my site using stsadm and smigrate; stsadm
yielded a 20mb backup file while smigrate only produced a 5mb file.
why is it so?

Sorry for all the questions, i'm very new to WSS.

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Carley Lott     Answered On: Oct 04

Answer to 1: You can only use the stsadm  command for top-level websites
Answer to 2: you have to add the -overwrite parameter to your stsadm command
line

Read these documents  about backup  and restore
www.microsoft.com/.../stsf" target="_blank" rel="nofollow">www.microsoft.com/.../stsf\
20.mspx
www.microsoft.com/.../stsf" target="_blank" rel="nofollow">www.microsoft.com/.../stsf\
19.mspx

I am very new to SPS2003 too. In fact I just found this today.

 
Answer #2    Answered By: Aastha Tatpatti     Answered On: Oct 04

You can use smigrate  to migrate a single site  collection

 
Answer #3    Answered By: Roop Kapoor     Answered On: Oct 04

I guess i overlooked the -overwrite tag for restore, i
thought it is only for backup  since all the white papers that i have
read does not mention putting -overwrite in restoring in the same
sites.

 
Answer #4    Answered By: Kelley Obrien     Answered On: Oct 04

I meant a specific site  in any site collection....

 
Didn't find what you were looking for? Find more on Help on Using STSadm.exe Or get search suggestion and latest updates.




Tagged: