Книга: 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]

Оглавление книги


Генерация: 2.042. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз