MOSS 2007 STSADM: enumsites and backup syntax, ideas

Just a quick post on some work I am doing migrating all the My Sites on my intranet. I was having a tough time outputting the enumerated sites to a text file & finally figured it out, so here is the syntax. My problem was that i was trying to use the -filename toggle instead of ">>", ugh:

Then once I had the list, I was able to massage the My Sites list for this type of thing as a big BAT file running Backups:

Last, I find this is a nice way to Backup the larger sites with timestamps nested around stsadm backup commands…outputted from a BAT file at the command line. This was good for me to estimate the time it would take for backups / restores in a Test environment in prep for the same thing in Production:

 

Leave a Reply