The ddfsadmin utility provides the following command line options for file system recovery.
ddfsadmin backup query
Before running the
ddfsrc command to perform a self-service image-level restore of file systems, you can use the
ddfsadmin backup command to query a list of all the local and remote backups taken for a particular host, as shown in the following:
ddfsadmin backup query -local -v=volume name -t=time value [h = hour,d = days,w = weeks,m = months] queries the local record file for listing backups.
ddfsadmin backup query -remote -d=Protection storage system -s=storage unit -u=username -p=DD password -c=hostname -v=volume name -t=time value [h = hour,d = days,w = weeks,m = months] queries the record file on the protection storage system for listing backups.
Example usage
ddfsadmin backup query -local -v="C:\\" -t=5 will display a list of local backups in C:\ taken within the last five days.
ddfsadmin sync
This command ensures the catalogs that are on the local machine and in the DD system are synchronized. The following is the usage for the
ddfsadmin sync command:
sync -local options: Sync local record file with record file on DD
sync -remote options: Sync remote record file with file in the local
options:
-d=<DD host>: Protection storage system host IP
-u=<DD username>: Protection storage system username
-s=<DD device path>: Protection storage system device path
-p=<DD password>: Protection storage system password.[Optional]