----------------------------------------- 2006-08-15 How to restore backed up files There are some instructions in "Users Guide to Netbackup Archiving.doc", at (PPPL login required to access this) http://sharepoint.pppl.gov/Computer%20Division/Document%20Library/Users%20Guide%20to%20Netbackup%20Archiving.doc which is listed at: http://sharepoint.pppl.gov/Computer%20Division/default.aspx but these instructions are missing some details on how to get this to work on the PPPL setup. Below are the extra details you need to restore accidentally deleted files from backup tapes. Variations of this presumably can be used to archive files to tape or restore files from archive tapes. ---------------- First determine which computer your files are really on: ----------------------------- $ cd /p/gs2/hammett $ df . Filesystem 1K-blocks Used Available Use% Mounted on unixsrv1.pppl.gov:/p2/gs2 516335200 447654784 63517088 88% /p/gs2 ----------------------------- This tells us that the /p/gs2 disk is actually /p2/gs2 on computer unixsrv1. In some of the notes below, you might need to replace references to "unixsrv4" with "unixsrv1" or whatever computer is reported by the "df" command above. Next do: ----------------------------- ssh archive.pppl.gov run jbpSA login select "Actions", and "Specify NetBackup Machines and Policy Type" select "edit client list" and add "unixsrv1" (in this case) select unixsrv4 for the Source client for restore. leave the server as scribe-28 and the destination for restore as "archive". back in main window, set the browse director to /p2/gs2/hammett (note, this is what is reported by the above "df ." command, and is not /p/gs2/...). select files you want to restore, and click restore change the location for the restored file from /p2/gs2/... to /p/gs2/... (or somewhere else). To get a listing of available backups of a given file, ssh to archive.pppl.gov, and do: bplist -B -C unixsrv4 /user3/hammett/filename ----------------------------------------- Date: Tue, 06 Jul 2004 13:01:51 -0400 From: Ken Silber Subject: Tape Library backup policy To: Greg Hammett Cc: Steve Davis Greg, Below is a description of our backup policies. If you have any questions, give me a call. Unix Tape Library Backup/retention policy This document describes the backup and tape retention policy for the Unix ATL P3000 Tape Library. The following backup policies apply to Unix Cluster home directories, scratch disks and more or less for AFS file systems: 1) daily incremental >> All files modified since last Netbackup save >> 6 days a week starting at 12:00 Midnight >> overwritten after 1 month 2) weekly cumulative incremental >> All files changed since last full or cumulative incremental >> Once per week starting Saturday at midnight >> overwritten after 2 months 3) monthly full >> All files >> Once per month on scheduled day Saturday and Sunday >> Overwritten after 3 months 4) monthly duplicates >> All files >> Once per month per client done in a cron scheduled job on Master Tape Server scribe that runs on monday morning at 7:00am. >> retained as follows (taken out of box) Years 1-2: all monthly duplicates are kept Years 2-4: Only Jan, Apr, Jul, Oct are kept Years 4-: Jan and July are kept forever 5) user demand archive/backups (e.g. NSTX data, CDX-U, Reflect) >> retained for 25 years A special policy is created for people that need to archive files (once backed up to tape, they are deleted from disk). The tape stays in the box for file retrieval. Generally people doing this type of archiving have a large amount of data files. PROJECT DISKS: The project areas on ranger1 and ranger2 are done alittle different because of the volume of files being backed up. We still do daily backups as well as weekly cumulatives which stay in the box for 6 months (only for files that have changed). Manual quarterly backups are done (by admin) and NO duplication is done of the rangers full backup. The original is pulled from the library and sent offsite with the other monthly duplicates. >>> I understand the project disks are backed up nightly, but how long >>> are those kept? (I.e., if I accidentally delete a file, and >>> discover its missing 3 weeks later, will I be able to get it from a >>> backup?) >>> >>> Thanks, >>> >>> Greg So to answer your question, yes you can get a file back from a project area either by requesting a file that has CHANGED over the last 6 months, or a file that was on disk for a week (saved by daily incrementals) or if the file was from 3 months ago we would have to import the proper tape back into the tape library from either our in house storage or from off site storage. -- Ken Silber ksilber@pppl.gov Unix System Administrator / Webmaster Computer Systems Division Princeton University Plasma Physics Lab PO Box 451 US Route #1 Princeton, NJ 08543 Office-(609) 243-2544 _____________________ Fax-(609) 243-3086 You can visit the home page of the Princeton Plasma Physics Laboratory at http://www.pppl.gov