
PowerProtect Data Manager 19.10 File System User Guide
Self-service file-level restore of file systems
You can perform self-service file-level restores of file systems using the ddfsrc command with the -I option.
Before starting the command, create a file that contains the list of files 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_DEVICE_PATH=Protection storage unit -h DFA_SI_DD_HOST=Protection storage system IP address -h DFA_SI_DD_USER=Protection storage system username -S savetime-value -I path-of-file-containing-list-of-files-for-restore -i R -d destination-path-for-restoring-files
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 taken in the last 55 days.
[root@XXXX ~]# ddfsadmin backup query -local -t=55d
-
Create an input file that contains the list of files to restore. For example:
[root@XXXX ~]# cat flr.txt
/new_ext3/file.txt
The flr.txt file specifies a single file to restore (file.txt).
- Run the
ddfsrc command. Ensure that you provide the complete path to the input file that you created.
NOTE Do not provide a relative path. If you provide a relative path, the command fails.
For example:
ddfsrc -h DFA_SI_DEVICE_PATH=Protection storage unit -h DFA_SI_DD_HOST=Protection storage system IP address -h DFA_SI_DD_USER=Protection storage system username -S savetime-value -I /root/flr.txt -d destination-path-for-restoring-files
where savetime-value is the save set ID identified in step 1.