Restoring individual files on UNIX
To restore individual files, locate and mount the snapshot file system. Copy files from that file system using system commands, such as cp and ftp, as follows.
To restore individual files on UNIX
- To list the identifiers of current snapshots, use the bpfis command with the query option:
/usr/openv/netbackup/bin/bpfis query
This returns the ID (FIS IDs) of all current snapshots. For example:
INF - BACKUP START 3629 INF - FIS IDs: 1036458302 INF - EXIT STATUS 0: the requested operation was successfully completed
- For each snapshot identifier, enter bpfis query again, specifying the snapshot ID:
/usr/openv/netbackup/bin/bpfis query -id 1036458302
This returns the path of the original file system (snapshot source) and the path of the snapshot file system. For example:
INF - BACKUP START 3629 INF - Snapshot image host : ricopico INF - Snapshot image owner: GENERIC INF - Time created : Mon Oct 7 19:35:38 2002 INF - REMAP FILE BACKUP /mnt/ufscon USING/tmp/_vrts_frzn_img_26808/mnt/ufscon
OPTIONS:ALT_PATH_PREFIX=/tmp/_vrts_frzn_img_26808,FITYPE=MIRROR, MNTPOINT=/mnt/ufscon,FSTYPE=ufs INF - EXIT STATUS 0: the requested operation was successfully completedIn this example, the primary file system is /mnt/ufscon and the snapshot file system is /tmp/_vrts_frzn_img_26808/mnt/ufscon.
- Copy the files from the mounted snapshot file system to the original file system.