Книга: Windows Server 2012 R2 Storage, Security, & Networking Pocket Consultant
Using backup management commands
Using backup management commands
You can manage backups and their configurations by using the following commands and command-line syntaxes:
? DELETE SYSTEMSTATEBACKUP Deletes the system state backup or backups from a specified location.
wbadmin delete systemstateBackup [-backupTarget:{VolumeName}]
[-machine: BackupMachineName]
[-keepVersions: NumberOfBackupsToKeep | -version: VersionIdentifier |
— deleteOldest]
[-quiet]
? DISABLE BACKUP Disables scheduled daily backups so that they no longer run.
wbadmin disable backup [-quiet]
? ENABLE BACKUP Enables or modifies a scheduled daily backup.
wbadmin enable backup [-addTarget:{BackupTargetDisk}]
[-removeTarget:{BackupTargetDisk}]
[-schedule: TimeToRunBackup]
[-include: VolumesToInclude]
[-allCritical]
[-quiet]
? START BACKUP Starts a one-time backup by using the specified parameters. If no parameters are passed and scheduled backups are enabled, the backup uses the settings for scheduled backups.
wbadmin start backup [-backupTarget:{TargetVolume |
TargetNetworkShare}]
[-include: VolumesToInclude]
[-allCritical]
[-noVerify]
[-user: username]
[-password: password]
[-inheritAcl: InheritAcl]
[-vssFull]
[-quiet]
? STOP JOB Stops the currently running backup or recovery job. Stopped jobs cannot be restarted from where they were stopped.
wbadmin stop job [-quiet]
- Using general-purpose commands
- Installing the Windows backup and recovery utilities
- Getting started with the Backup Command-Line utility
- Working with Wbadmin commands
- Using recovery management commands
- Appendix A. Detailed explanations of special commands
- Caveats using NAT
- Using Double Quotes to Resolve Variables in Strings with Embedded Spaces
- Commands
- Data Binding Using the GridView Control
- Using the kill Command to Control Processes
- gbak BackupRunner