STSADM.exe export
Hi guys
Can anyone confirm the below:
Running STSADM –o export –url http://<something> -filename D:\data\backup.bak –version 1
Will use the C drive space for temporary data storage?
I ran this query on a clients site that has room on D drive but not on C. Before the run C drive showed 2 GB remaining, midway through I noticed the space dropped down to 800MB. I had to stop the export when I noticed.
Anyone know of this issue and if so where the data is stored?
Cheers
Mark Huynh
February 17th, 2010 9:55am
Hi Mark You must ensure you you have enough disk space on the drive of the server you are running the STSADM export command on. If you have a site with a lot of sub sites and lots of content, the export will be very large. And, while the export is running it is packing your files in .dat files in the <root>/Documents and Settings/<user>/Local Settings/Temp/<number>. Cheers Geoff
Free Windows Admin Tool Kit Click here and download it now
February 17th, 2010 11:40am
Hi...Just change the %temp% path to your temp folder on the d-drive.../dan
February 17th, 2010 12:22pm
By default, the STSADM command would use the space in the %Temp% location which is on the C drive and hence will use space from there.Incase you want to point it to another drive, you will have to modify the Environemtnvariables on the macine you are going to run the command on.I have used this in past and do not see an issue IF YOU REMEMBER TO SET I BACK.To change:Open the properties of my computerIn Advanced Tab, click on "environment variables" button under "startup and recovery"Under the "System Variables" select "TEMP" and click EDIT and change the Default path "%SystemRoot%\TEMP" to Drive:\TEMP, where Drive is the partition having enough space. make sure you have TEMP directory created over there.For Failsafe, assign everyone full control on the box.Log off and login back.IMPORTANT: Make sure to turn it back after you are done.I LOVE MS.....
Thanks and Regards,
Kshitiz
(Posting is provided "AS IS" with no warranties, and confers no rights.)
Free Windows Admin Tool Kit Click here and download it now
February 17th, 2010 1:57pm
Thanks Dan and KshitizsYep, temporary files were being stored in %SystemRoot%\TEMP. Made the change to complete the export and changed the temp back to original.Worked great.
February 18th, 2010 1:30am


