
PowerProtect Data Manager 19.11 File System User Guide
Self-service system state restore for disaster recovery
You can perform self-service system state restores for disaster recovery asset using the ddfsrc command with the -I option.
Before starting the command, create a file that contains the list of writers to be restored. Provide the location of this file as an input to the -I option, as shown in the following example.
ddfsrc command with input file specified
ddfsrc -h DFA_SI_DD_HOST=Protection storage system IP address -h DFA_SI_DD_USER=Protection storage system username -h DFA_SI_DEVICE_PATH=Protection storage unit -h DFA_SI_DR_SSRONLY=TRUE -I path-of-file-containing-list-of-writers-to-restore -S savetime-value
where:
- -a "DFA_SI_DD_HOST=server_name"
- Specifies the name of the protection storage system server that contains the backup. When you have a remote (secondary) protection storage system server that has replicated databases to restore, type the name of the secondary server. A user on the secondary protection storage system server must be in the same group as the primary protection storage system server.
- -a "DFA_SI_DD_USER=protection_storage_system_user"
- Specifies the protection storage system username. You must register the hostname and the DD Boost username in the lockbox to enable Microsoft application agent to retrieve the password for the registered user.
- -a "DFA_SI_DEVICE_PATH= storage_unit_and_path"
- Specifies the name and the path of the storage unit that contains the backup.
- -a " DFA_SI_DR_SSRONLY=TRUE"
- Specifies the flag status to TRUE if you want to perform SSR restore. The default flag value is FALSE.
- -I "path-of-file-containing-list-of-writers-to-restore"
- Specifies the path of the file containing the list of writers to be restored.
- -S "savetime-value"
- Specifies the save set ID of a backup copy which needs to be restored.
The following steps provide more detail:
-
Use the ddfsadmin command to list all the available backups. If you know the save set ID of the backup from which you want to restore, skip this step.
For example, the following command lists all backups that are taken in the last 55 days.
ddfsadmin backup query -local -t=55d
-
Create an input file that contains the list of writers to restore. For example:
Notepad.exe ssr.txt- The
ssr.txt file specifies a single writer to restore. For example,
System Writer
or
- The
ssr.txt file specifies multiple writers that must be restored, where each writer name should be specified in new line. For example,
System Writer
Registry Writer
Task Scheduler Writer
WMI Writer
- The
ssr.txt file specifies a single writer to restore. For example,
System Writer
- Run the
ddfsrc command. Ensure that you provide the path to
ssr.txt file that you created.
For example:
ddfsrc -h DFA_SI_DD_HOST=Protection storage system IP address -h DFA_SI_DD_USER=Protection storage system username -h DFA_SI_DEVICE_PATH=Protection storage unit -h DFA_SI_DR_SSRONLY=TRUE -I C:\\ssr.txt -S savetime-value
where savetime-value is the save set ID identified in step 1.