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!
===Saveset=== ====Saveset Naming Convention==== The Scanco backup program stores raw (RAW) and image (IMA) data as save sets (SAV). *RAW save sets contain RSQ files and IMA savesets contain all other file types. *The saveset filename is composed of the 8-digit measurement number plus "_RAW.SAV" for raw data and "_IMA.SAV" for image data. *For example, the data for a scan with measurement number 1234 would be stored as: <pre> 00001234_RAW.SAV ? RSQ 00001234_IMA.SAV ? all other files, ISQ, AIM, GOBJ, TXT, SCV, etc. </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ====Create and Unpack Saveset==== Savesets are OpenVMS backup files, similar to a zip. Use the backup command. <pre> $ BACKUP/LOG disk3:[microct.projects.buie...] disk3:[microct.projects]buie2012.sav/sav !Creates a saveset file of disk3:[microct.projects.buie]. !The ... after the folder indicates to include all subfolders and files. $ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie] !Unpacks the whole saveset to disk3:[microct.projects.buie] $ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie...] !The ... at the end of the output location indicates to unpack the saveset and maintain the original directory structure. $ BACKUP/LOG mysaveset.sav/sav/select=*.aim disk3:[microct.projects.buie] !The select flag is used to indicate extraction of only aim file types. $ BACKUP/LOG mysaveset.sav/sav/select=[microct.data...] disk3:[microct.projects.buie] !The select flag is used to indicate extraction of the folder data and all subfolders and files. $ HELP BACKUP !More information on the backup command. </pre> You may want to exclude some files: <pre> $ set default DK0:[MICROCT.DATA] $ BACK/LOG [.00000031.00000600]/EXCL=(*_TRNSFR.COM,*.SAV,*.ZIP,ZI*,*.RSQ) DK0:[MICROCT.DATA.00000031.00000600]3418_00000031_00000600_IMA.SAV/SAV </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ====View Saveset Contents==== To view contents of a saveset (SAV) on disk: <pre> $ backup/list upat_print_list_nomatch.sav/sav </pre> To view the savesets (SAV) on a tape: <pre> $ mount/ov=id tp0: $ dir/date tp0:*.* $ dismount tp0: </pre> To view contents of a saveset (SAV) on a tape: <pre> $ mount/foreign tp0: $ backup/list tp0:*.* ! OR, backup/list tp0:*.SAV or $ backup/list=results.txt tp0:*.* ! save output in results.txt $ dismount tp0: </pre> An idea to get the results of the backup/list into a text file: Run the procedure in a submitted script and save the resulting log file with all the output. [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ====Extract a single file from SaveSet==== In a large SaveSet, sometimes we only want one file extracted, not the whole archive extracted. This can be done with $ backup /log /select=myfile.txt mysaveset.sav /sav disk1:[microct.scratch] or [] as destination will put the file in the current directory. This can take a while as it looks through all the saveset. Once it logs that the file has been restored, you may interrupt with F6. Else it goes on looking through the rest of the saveset. [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ====Transfer Saveset from microCT to XtremeCT==== You can create a SAV set of your project on the VivaCT and transfer it to the Xtreme system, or vice-versa. First, create the SAV set using the command: <pre> For example: $ BACKUP/LOG DISK3:[MICROCT.PROJECTS.SB.MYPROJECT...]*.*;* - SYS$SCRATCH:MYPROJECT.SAV/SAV </pre> This creates the MYPROJECT.SAV file in the scratch directory. Now zip the file: <pre> $ cd sys$scratch $ zip "-V" MYPROJECT.ZIP MYPROJECT.SAV (NOTE: must use quotes and a capital V!!!!) </pre> FTP the .ZIP file to SODOR ( in binary mode!!!), and then FTP it off onto your destination system (Viva or Xtreme). See the appropriate HowTo for FTP instructions. Once you've FTP'd it, unzip the file: <pre> $ unzip MYPROJECT.ZIP </pre> Finally, unpack the contents of the .SAV file: <pre> $ BACKUP/LOG MYPROJECT.SAV/SAV DISK3:[MICROCT.PROJECTS.MYPROJECT] <--- or whatever destination directory </pre> NOTE: transferring a .SAV directly from VMS to VMS should work, but not via any third operating system (like SODOR) - so zipping is always the safe way to make sure it works. [[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