There are three ways you can backup your SharePoint environment:
- Using the Central Administration user interface
- Using STSADM
- Using automated backup scripts
I personally never use the first option. Through my experiences with
backing up MOSS and WSS Farms, I learned that the best way to run a
backup and restore is through the STSADM utility. Some may argue this,
but I feel extremely comfortable with STSADM since I use it for almost
all my SharePoint operations, so I tend to stick with it. Also, the
admin interface failed me once when I was restoring an entire farm,
whereas the STSADM utility has never failed me yet.
So what are the types of backups we can perform. There are two types:
- Full backup
- Differential backup
Before you create a differential backup however, you need to at
least perform a full backup for the first time. Since this post is
talking about how to run backup and restore using STSADM, I'm going to
skip the instructions on how to do it through the admin interface; it's
pretty much self-explanatory, so I'm sure you can figure it out
yourself.
To restore a site collection, use the following command line:
stsadm -o backup -url <URL of the site collection> -filename <name of the backup file>
To restore an entire farm, use the following command line:
stsadm -o restore -directory <UNC path or local drive> -restoremethod <overwrite or new>
Go through this link:
http://geeksconnected.com/muhanad/Lists/Posts/Post.aspx?List=c7e6fc19%2Dbbfc%2D4349%2Db19b%2D500d67afc925&ID=32