You are on page 1of 8

NetBackup Tape Backup, Archive and

Restore
We can use NetBackup to perform back ups, archives and restores on a client (UNIX system).
I believe you are restricted to restoring the files to the same machine where the backup was created.
For information about jbpSA command options, see the jbpSA man page.
To start Backup, Archive and Restore, enter the following command
/usr/openv/netbackup/bin/jbpSA &
A backup copies items to tape. The original files remain on the source drive. User backups are saved for
one year.
This can be run manually or set up to run automatically on a predefined schedule.
An archive also copies items to tape. When the archive is finished and successful, the original files are
deleted from the source drive. User archives are saved indefinitely.
Backups and archives are done by using the same procedure. The archive option appears within the
backup procedure.
Tapes hold a little over 2.5T each. Tapes cost ~$177 each. To backup 100T to tape would take about 40
tapes, total cost of $7080.00.
See Symantec NetBackup documentation at
http://www.symantec.com/business/support/index?page=content&id=TECH126327
NRL IT has a short write-up on the system at
https://wiki.nrlmry.navy.mil/wiki/index.php/Backup_Policies_and_procedures

click the check box to the left of the item. in any pane. enter that information in the box labeled Keyword phrase to associate with this backup or archive (optional) Default log files are saved in /usr/openv/netbackup/logs/user_ops/<username>/logs. Click Start Backup. select the option to Archive files (delete files after successful backup) To associate a keyword phrase to the backup. probably a good idea to specify a meaningful log file directory and name rather than accepting the default. . In the Backup Files dialog box. Click the Backup button. To select the items you want to back up.To archive files to tape • • • • • • • Click the Backup Files tab.

.

.

To select the items you want to restore. select Archived Backups. In the Restore type drop-down list.One way to restore from archived backups • • • • • • • • • • Click the Restore Files tab. Specify the date range for the archive tape by selecting the start and end dates. Select Restore everything to a different location (maintaining existing structure). Click View -> Refresh. Type in the desired directory under Browse directory. . Click Start Restore. in any pane. Click Restore. Type your desired destination directory in the Destination box. click the check box to the left of the item.

.

.

The bparchive command can be found in /usr/openv/netbackup/bin. You then can restore the image by specifying the keyword phrase with the -k option on the bprestore command. the command exits with a timeout status. minutes. -k keyword_phrase Specifies a keyword phrase to be associated with the image created by this archive operation. possibly having that script run periodically via a cron.bparchive Another way to archive files to tape is from a script.master_server.. . If the wait time expires before the archive is complete. bparchive [-p policy] [-s schedule][-L progress_log[-en]] [-S master_server [.. You can optionally specify a wait time in hours.]] [-t policy_type] [-w[hh:mm:ss]] [-k "keyword_phrase"] -f listfile | filenames Suggested switches are –w and –k as follows: -w [hh:mm:ss] Causes bparchive to wait for a completion status from the server before it returns you to the system prompt. In which case you want to use the bparchive command. and seconds..