Before restoring a site collection, you can check how to take backup of a site collection.
There are different ways that you can restore a site collection in SharePoint 2010 like stsadm, powershell.
Stsadm:
Here is the command to take backup of site collection:
STSADM -o restore -url -filename [-overwrite]
Example:
STSADM -o restore -url http://your-site-url -filename c:\backup\MySiteCollection.bak
PowerShell:
Here is the powershell command to restore a site collection.
Restore-SPSite -Path [-force]
Also there are lots of parameters of this command.
Example:
Restore-SPSite http://your-site-url -path c:\backup\MySiteCollection.bak [-force]
There are different ways that you can restore a site collection in SharePoint 2010 like stsadm, powershell.
Stsadm:
Here is the command to take backup of site collection:
STSADM -o restore -url -filename [-overwrite]
Example:
STSADM -o restore -url http://your-site-url -filename c:\backup\MySiteCollection.bak
PowerShell:
Here is the powershell command to restore a site collection.
Restore-SPSite -Path [-force]
Also there are lots of parameters of this command.
Example:
Restore-SPSite http://your-site-url -path c:\backup\MySiteCollection.bak [-force]