2008년 3월 28일 금요일 오후 6:45
Can anyone help me with this? I am trying to save a site as a template. The site is 130MEGS. I expanded
the size using the stsadm.exe command to 500MEGS. I moved sites before saving them as templates, copying them to a new server, running the stsadm.exe addtemplate....... Then creating a new site using this custom template.
This works to move sites. I do lose some permissions and some customizations but that is easy to work with.
I need to do it the way described above because backup\restore or import\export is not an option because the server has a different name and when I did this I have links that point to both servers.
2008년 4월 4일 금요일 오후 6:41
- stsadm.exe -o export -url http://intranet/test -includeusersecurity -nofilecompression -filename C:\backup
Once you finish your export use the stsadm import command with the same nofilecompression attribute. For example:
stsadm.exe -o import -url http://intranet/test -includeusersecurity -nofilecompression -filename C:\backup
Check out Ragav's blog post for more detailed information: http://ragavj.blogspot.com/2008/02/failure-decompressing-data-from-cabinet.html
2008년 4월 29일 화요일 오전 6:15
i tried the first command but it's givin' me that "stsadm.exe" is not recognized as an internal or external command, operable program or batch file.
2008년 11월 17일 월요일 오전 10:24The Stsadm execute is stored in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
So you need to change to this directory in the command promt as shown below:
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\> cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\12
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm.exe -o export -url http://yoursite
or alternatively add the the driectory to your machines Environment Variables as a PATH and then you will not need to chnage the directory in the command promt.
2008년 11월 18일 화요일 오후 10:36Just create a PATH variable, and run the commands using stsadm instead of stsadm.exe
- Access Environment Variables
- Go to your server's System Properties
- RClick 'My Computer' > Properties
- Click Advanced tab
- Click Environment Variables button
- Select the variable Path in System Variables
- Click Edit button
- In the edit window, add the directory path for stsadm at the end. Make sure you add a semicolon before the path.
- C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\
- Click the OK button
2012년 6월 27일 수요일 오후 9:58In my case the site has a custom site definition which I am trying to remove by recreating the site from scratch using 'blank site template' and copying the existing data. The list items need to keep their original ID values. Probably custom code is the only solution?
- 편집됨 Marcel Balcarek 2012년 6월 27일 수요일 오후 9:59