Backup / Restore using STSADM command.
Command to take Backup of a sharepoint site:
Go To :
1. \program files\common files\Microsoft shared\web server extensions\12\bin.
2. Run stsadm -o backup -url -filename.
For ex: stsadm -o backup -url http://dev:8585/ -filename file://dev/filename.dat.
Command to restore backup of a sharepoint site:
1.\program files\common files\microsoft shared\web server extensions\12\bin.
2. Run stsadm -o restore-url -filename .
For ex: stsadm -o restore -url http://dev:8585/ -filename file://dev/filename.dat.
3. If you want to overwrite the existing site, use -overwrite command.
For ex : stsadm -o restore -url http://dev:8585/ -filename file://dev/filename.dat - overwrite.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment