User`s guide

132
NetBackup User’s Guide - Microsoft Windows
B
bparchive
NAME
bparchive - archive files to the NetBackup server
SYNOPSIS
install_path
\NetBackup\bin\bparchive
[
-c
class] [
-s
schedule] [
-S
master_server [,master_server,...]] [
-t
class_type] [
-L
progress_log] [
-
w
[hh:mm:ss]]
[
-help
] [
-k "
keyword_phrase
"
]
-f
listfile
|
filenames
DESCRIPTION
bparchive
processes files that you list on the command line or in the file you
specify with the
-f
listfile option. Any file path entered can be a file or
directory name. If the list of files includes a directory,
bparchive
archives all
files and subdirectories of that directory starting at the directory itself.
By default, you are returned to the system prompt after
bparchive
is
successfully submitted. The command works in the background and does not
return completion status directly to you. The
-w
option lets you change this
behavior so
bparchive
works in the foreground and returns completion
status after a specified time period.
bparchive
writes its informative and error messages to a progress-log file.
You must create this file prior to the execution of the
bparchive
command
and then specify it with the
-L
progress_log option. If
bparchive
cannot
archive any of the requested files or directories, you can use the progress log to
determine the reason for the failure.
If you create an install_path
\NetBackup\logs\bparchive\
directory with
write access,
bparchive
creates an activity log file in this directory that you
can use for troubleshooting.
The following restrictions apply to this command:
To archive files with the bparchive command, you must have permission
to delete the file and the file must not be read-only. Otherwise, NetBackup
saves the files but does not delete them from the disk.
bparchive does not archive the "." or ".." directory entries, and does not
archive disk-image backups.