Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

PowerProtect Data Manager 19.14 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
NOTE:In this command,
  • The parameter R renames the file.
  • If you replace the parameter R with Y, the file is overwritten.
  • If you use -g at the end of the command, only the specified file is restored. Else, the entire directory structure is restored to the destination folder. For example, if the file D:\Folder\file1.txt is restored to G:\CFLR,
    • Without -g, the file is restored to G:\CFLR\D\Folder\file1.txt.
    • With -g, the file is restored to G:\CFLR\file1.txt.

The following steps provide more detail:

  1. 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

  2. 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).

  3. 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.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\