SharePoint Backup & Restore Command Line
Backup & Restore Command Line
# Backup Sharepoint Site
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\stsadm" -o backup -url http://site:port/ -filename "\\server\share\Backup_Site.bak"
# Restore Sharepoint Site
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\stsadm" -o restore -url http://server:port/ -filename "\\server\share\Backup_Site.bak"
The "-filename" can be put to local disk "c:\temp\Backup_Site.bak"
# Backup Sharepoint Site
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\stsadm" -o backup -url http://site:port/ -filename "\\server\share\Backup_Site.bak"
# Restore Sharepoint Site
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\stsadm" -o restore -url http://server:port/ -filename "\\server\share\Backup_Site.bak"
The "-filename" can be put to local disk "c:\temp\Backup_Site.bak"
Comentários
Postar um comentário