Backup:
stsadm -o backup -url http://site1.com/sitecoll1 -filename c:\backup\backup1.dat
Restore:
stsadm -o restore -url http://site2.com/sitecoll1 -filename c:\backup\backup1.dat -overwrite
Export and import a subsite, list, or library
Export:
stsadm -o export –url http://site1.com/sites/portal/Shared%20documents –filename c:\backup\lib.bak -quiet -overwrite
Import:
stsadm -o import –url http://site2.com/sites/portal/Shared%20documents –filename c:\backup\lib.bak -quiet
No comments:
Post a Comment