Veritas NetBackup™ Commands Reference Guide
- Introduction
- Appendix A. NetBackup Commands
Name
bpfis — create or delete a snapshot, or return information about existing snapshots
SYNOPSIS
delete [-force] -id id -copy copynum
query [-fq] [-id id -copy copynum]
On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/
On Windows systems, the directory path to this command is <install_path>\NetBackup\bin\
DESCRIPTION
The bpfis command can delete or query (discover) snapshots of a client system (file system or volume).
Note:
To store the image on tape or other media requires that you run a separate backup job.
For more information about the locale of your system, see "About specifying the locale of the NetBackup installation" in the NetBackup Administrator's Guide, Volume II.
For detailed examples and procedures about using bpfis, see the NetBackup Snapshot Client Administrator's Guide.
You must have administrator privileges to run this command.
OPTIONS
- -copy copynum
Identifies the copy number. When used with the query function, -copy lists detailed information for the specified copy number of the snapshot. With the delete function, -copy specifies the copy number of the snapshot to be deleted.
- delete
Deletes the snapshot that -id identifies.
- -force
Forces the delete operation.
- -fq
Generates a full query which includes a detailed description and information about a given snapshot.
- -id
Returns the path of the original file system (snapshot source) and the path of the snapshot file system. The default ID is a timestamp that shows when the image was created.
For bpfis delete, this option designates the ID of the snapshot to be deleted.
For bpfis query, this option designates the ID of the snapshot for which to return information.
- query
Retrieves detailed information on the specified snapshot of a client system.
EXAMPLES
Example 1 - Obtain information about a particular snapshot on the local host. The output shows the path of the snapshot source (UNIX: /mnt/ufscon
) and the path of the snapshot file system (UNIX: /tmp/_vrts_frzn_img_26808/mnt/ufscon
).
# bpfis query -id 1034037338 INF - BACKUP START 26838 INF - Frozen image host : ricochet INF - Frozen image owner: GENERIC INF - Time created : Mon Oct 7 19:35:38 2011 INF - REMAP FILE BACKUP /mnt/ufscon USING (UNIX systems) INF - REMAP FILE BACKUP E: USING <GUID> (Windows systems) /tmp/_vrts_frzn_img_26808/mnt/ufscon (UNIX systems) OPTIONS:ALT_PATH_PREFIX=/tmp/_vrts_frzn_img_26808,FITYPE=MIRROR, MNTPOINT=/mnt/ufscon,FSTYPE=ufs (UNIX systems) MNTPOINT=E:\,FSTYPE=NTFS (Windows systems) INF - EXIT STATUS 0: the requested operation was successfully completed
Example 2 - Delete a snapshot on the local host:
# bpfis delete -id 1034037338 INF - BACKUP START 26839 INF - EXIT STATUS 0: the requested operation was successfully completed