regardless to the points, i think this question is popular enough to keep it in history, especially if there is an answer.
Main Topics
Browse All TopicsI am trying to use the following code to backup all the top-level sites. The problem is all the *.bak files are the same size. When I try restore, I find out only the first site is backuped properly. All the rest *.bak backup the firts site too. Please help. Thanks.
dim ga as new SPGlobalAdmin
dim sc as SPSiteCollection = ga.VirtualServers(0).Sites
for each SPSite site in sc
sc.backup(site.url, "d:\" & filename & ".bak", True)
Next
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: kg_bangPosted on 2005-10-25 at 04:26:27ID: 15153351
i get the same thing here.
roup/ micro soft.publi c.sharepoi nt.windows services/t ree/browse _frm/ threa d/5d239bea a0bce6d/c2 acd96a6abd 68db?rnum= 11&hl=en& q =backup+SP SiteCollec tion+forea ch& _done=% 2Fgroup%2F microsoft. public.sha repoint.wi ndowsservi ces%2Fbrow se_frm%2Ft hread%2F5d 239beaa0bc e6d%2Fb186 48b0c16ef7 99%3Flnk%3 Dst%26q%3D backup+ SPS iteCollect ion+ foreac h%26rnum%3 D1%26hl%3D en%26#doc_ 2d5c4a8764 d99b08
t/SMoveFor SharePoint .aspx
did you consider backing up your sites using STSADM.exe?
take a look at this post: http://groups.google.com/g
also, you can check out smove: http://blogs.tamtam.nl/mar