Editing
Scanco Administration
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=====Archive Project Saveset to Tape===== Projects should be stored safely onto a backup tape once complete. Prior to archiving a project please create a directory in DISK4:[BONELAB.PROJECTS.COM] of the project name. Please copy over the com.dir so we can keep all of the scripts on the openVMS system <b>Summary</b> The following steps summarize the process: :* Archive the project directory to the tape (detailed instructions below). :* Change tape to "read only" to protect contents :* Check tape saveset to ensure proper backup :* Write name of tape on the project LOG sheet :* Copy project LOG sheet and bring to Bone Imaging Laboratory "completed" project book :* Bring copy of tape to the Bone Imaging Laboratory for safe keeping :* <b>Delete</b> the contents of the project from the disk In the project, there should be the regular set of directories including DOC, COM, MODELS, LOG. Once the project is stored to tape, ensure that the log sheet for that project include a note stating which tape it was backed up to. Take a photocopy of the log sheet and add it to our Bone Imaging Laboratory project book for COMPLETED projects. In the following example, a project titled BERN is backed up onto tape. Ideally, the name of the SAV file on tape is the same as the project (i.e., BERN). Note that <b>SAV files must have names with no more than 13 characters (including the .SAV)!</b> The following example backs the BERN project/directory onto tape IMA001. For large projects and/or critical projects, it is advisable to dedicate an entire tape. The three dots (...) indicate that ALL subfolders of DK0:[MICROCT.PROJECTS.BERN] will be included. <pre> $ mount/foreign tp0: $ backup/log dk0:[microct.projects.bern...]*.*;* tp0:proj_bern.sav - ! writes a saveset to tape /block=65534 /label=IMA001 - /media_format=nocompaction ! NEVER use the /rewind option here $ backup/log tp0:*.sav/select=*.isq DISK4:[BONELAB.PROJECTS.TBONE.ISQ_FROM_TAPE...]/by=parent ! extracts all ISQ files from the tape $ dismount tp0: $ dismount tp0: /nounload ! same as previous command, but does not eject the tape (i.e. if you want to read the tape once more) </pre> Note that the <code>/rewind</code> option should never be used for backup as it instructs the tape drive to rewind after backup is complete causing a major risk of over writing. Sometimes it might be handy to exclude certain files. For example, to exclude RSQ files: <code>/excl=*.rsq</code> A good reference for backup commands and ideas are available in the <code>UM:UCT_MOVE_FILES.COM</code> script which is used by the <code>UCT_BACKUP</code> program. See also the <code>help backup</code> instructions: <pre> $ help backup </pre> To view the contents of a tape to ensure you've successfully stored your project use the following commands (further details in "HowTo: View save set (SAV) contents"): To just view if the saveset is on tape (but not its contents): <pre> $ mount/ov=id tp0: $ dir/date tp0:*.* $ dismount tp0: </pre> Note: you can also save the saveset list in a text file using the /output qualifier. To view the files within a saveset on tape, and save the results in a file called <code>results.txt</code> This .txt file can be found in IDISK1[XTREMECT2]: <pre> $ mount/foreign tp0: $ backup/list=results.txt tp0:*.* $ dismount tp0: </pre> To delete a set of directories, use the <code>dl</code> command. <pre> $ cd ur BERN $ del *.*;* ! Deletes ALL files in a directory $ dl *.dir;* ! Will only delete empty directories (not nested directories) </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']]
Summary:
Please note that all contributions to bone.wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BoneWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Documents
Recent changes
Help
Tools
What links here
Related changes
Page information