SharePoint data organized in sites and site collections. Sometimes SharePoint sites get corrupted due to system failure, operating system failure & we are unable to access our site. Get back your data using BACKUP & RESTORE Commands:
You can use SharePoint's STSADM command-line utility to backup & restore your SharePoint database. STSADM command-line utility run by using Windows command prompt or task scheduler. Stsadm is located at the following path: C:\Program Files\COMMON PROGRAM FILES\microsoft shared\web server extensions\12\bin.
Through STSADM command you can take backup of a site as well as a site collection.
Site collection backup using this command:
stsadm -o backup -url
stsadm -o restore -url
In order to backup a whole site, you can use this command:
stsadm -o export -url
In order to import a whole site, you can use this command:
stsadm -o import- url
These are the steps to backup & restore SharePoint sites as well as Site collections but in most cases we could not recover SharePoint sites through this command than we can use SharePoint Recovery Software to recover our corrupted SharePoint site.