Restore up a SharePoint 2010 site collection using Stsadm.exe


Open SharePoint 2010 Management Shell:

stsadm.exe -o restore -url -filename
-filename

Back up a SharePoint 2010 site collection using Stsadm.exe


Open SharePoint 2010 Management Shell:

stsadm.exe -o backup -url -filename

Restore SharePoint 2010 databases to a new SQL Server instance


In this case, I have a virtual development server called vDev and I want to restore the database from production server

stsadm.exe -o restore -directory \\backupservername\sharename
-restoremethod new -backupid -newdatabaserver vDev

Backup full server using Stsadm.exe in Catastrophic Mode


stsadm.exe -o backup -directory \\backupservername\backups\
-backupmethod full

Restore SharePoint 2010 server farm using Windows PowerShell


If your backing up in a shared drive
Restore-SPFarm -Directory \\app01\backups -BackupId 123456 (Check the folder for backup ID)

If you want to backup in local drive
Restore-SPFarm -Directory C:\backups -BackupId 123456