SharePoint stsadm backup operation
Example of stsamd backup command tool
stsadm -o backup -url http://sharepoint -filename c:\sharepoint.bak
Here is a list of params that can be used in conjunction with the stsadm backup command line utility
Param |
Value |
Description |
url |
http://server-name |
Site collection web address |
filename |
Backup.bak |
Name of the file you want your backup to be. |
nositelock |
N/A |
Locking site collection during backup |
overwrite |
N/A |
Used to overwrite site collection prior backup |
directory |
C:\folder \\network\folder |
Location of the SharePoint backup files |
backupmethod |
Full or Deferential |
Backups entire set of data or data which is new or different from last backup |
force |
N/A |
Does not check for disk space |
item |
Web\App |
Full SharePoint farm patch. You may use –showtree in order to get proper name Indicates which part of |
percentage |
1 to 100 |
Visual queue of the backup progress |
backupthreads |
1 to 10 |
Count of threads you want backup utility to use while backing up process is running |
showtree |
N/A |
Used to show farm tree. Backup will not be done if this param is present |
quiet |
N/A |
Stop backup process from presenting user with the progress bar or any backup related stats information |