by bronyx85 at 2013-03-08 03:47:34
Hi Does anyone know how to backup a site collection with no content, i.e just its structure?by DonJ at 2013-03-09 09:11:52
Backup-SPSite seems to backup the content too?
You might look into the other command-line tools in SP; at present, it’s just Backup-SPSite as far as I know.by AlexBrassington at 2013-03-09 12:14:04
Backup SP site always saves the contents. You might want something more like the SPWeb.SaveAsTemplate command. If memory serves you can’t backup sites with sub-webs so if you did want to make a multi tier backup you’d need to start at the bottom and delete as you go up. Messy but possible. The main failing would be that the deployment process would be clunky.by bronyx85 at 2013-03-11 03:47:19
Of course once you have your clean site Collection you could then back it up and restore it as a ‘clean’ build…
hmm. Ok. not to worry… i think the spweb.saveastemplate is a bit messy as there are loads of subsites…
thanks for your help though.