Export (0) Print
Expand All

Backuphistory: Stsadm operation (Windows SharePoint Services)

SharePoint 2007

Updated: March 22, 2007

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2007-04-04

Displays a history of backup and restore operations that have been run. Specifies whether you want to display only the backup history, only the restore history, or all of the history. You can also specify a particular directory to locate all backups.

The backuphistory operation is used only for catastrophic backups (full or incremental). It does not display information for site collection backups or Volume Shadow Copy Service (VSS) backups.

stsadm -o backuphistory

   -directory <UNC path>

   [-backup]

   [-restore]

 

Parameter Value Required? Description

directory

Any one of the valid paths:

  • C:\folder_name

  • \\server_name\folder_name

Yes

The path where Windows SharePoint Services 3.0 backup packages generated from a catastrophic backup have been stored. For a basic installation, you can use local drive paths (for example, C:\Backup). However, for multiple computer installations that include Microsoft SQL Server 2005, it is highly recommended to use Universal Naming Convention (UNC) share paths so that the SQL database and search components are written to the same location (for example, \\computer_name\volume\Backup). If a UNC path is not used for a multiple computer configuration, you might receive the following error message:

"SQL Exception: Cannot open backup device 'c:\backup\spbr0000\0000000.bak'. Operating system error 3 (The system cannot find the path specified.).

BACKUP DATABASE is terminating abnormally."

Multiple backup packages can be stored in the same location. This is the same path that you would pass to the -directory parameter of the stsadm -o backup or stsadm -o restore operations.

backup

<none>

No

Filters the output so that the history of only backup operations is displayed. If both the -backup and the -restore parameters are absent, the history of both backup and restore operations is displayed.

restore

<none>

No

Filters the output so that the history of only restore operations is displayed. If both the -backup and the -restore parameters are absent, the history of both backup and restore operations is displayed.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft