Talk:Application API: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
 
(Media Formats)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:




== Media Formats ==


The following was on the main page, but seems to be to be a small, easy design decision at some point down the road (phase 3 or 4).  It's here for posterity, anyway.


At present, there are two tape formats: Traditional and Spanned. In the future, more formats might be added. The Application API will not change this. Indeed, the on-tape format will not change at all; you could still restore a '''gnutar''' dump under the Application API using some earlier version of Amanda. The only thing that changes is the terminology:


=== Traditional ===
When dumping, we continue to write a 32k Amanda header followed by the complete set of collections provided by the client. As before, these are written as 32K tape blocks. On restore, we can use the BSR command to seek the tape drive to the appropriate tape block, and then read the desired collections. Thus the index need only store the byte offset of each collection.


To recover without Amanda, you can still use <tt>dd</tt> to read the tape contents into the tool directly.


=== Spanned ===
When using the Spanned tape format with the Application API, we again take the complete set of collections provided by the client, treating it as a single BLOB, and dividing it into chunks. We continue to write a 32k Amanda header at the beginning of each chunk, followed by a number of 32k tape blocks. On restore, we again can use the BSR command to find the appropriate tape block and read the desired collections. Under this scenario, we must again note where each collection is stored. This could be done by storing the byte-offset of each collection, along with chunk information for the job as a whole, or else by storing the chunk and byte offset for each piece of each collection.


 
=== Future ===
 
There are several limitations in the existing tape formats that may be addressed in the future. A new tape format might also take better advantage of Application API features. But such a change is not directly connected to or required by this API.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<div  style="display:none">
[We are delicate. We do not delete your content.]
[l_sp91]
[http://sitepalace.com/indoortanningbeds/ indoor tanning beds]
[http://sitepalace.com/cleo/daybedcomfortersets/ daybed comforter sets]
[http://sitepalace.com/cleo/southwesternbedding/ southwestern bedding]
[http://sitepalace.com/cleo/leathersectionalsofa/ leather sectional sofa]
[http://home.graffiti.net/thomasville_bedding/ thomasville bedding]
[http://home.graffiti.net/naturalizer_shoes/ naturalizer shoes]
[http://home.graffiti.net/designer_dog_beds/ designer dog beds]
[http://mujweb.cz/www/k1visa/ k1 visa]
[http://mujweb.cz/www/k1visa/fiancee-visa/ fiancee visa]
[http://rivotril.google.if.ua rivotril]
[http://republika.pl/cleo06/cingular-ringtone.htm cingular ringtone]
[http://republika.pl/cleo06/nail-fungus.htm nail fungus]
[http://republika.pl/cleo06/bridesmaid-dress.htm bridesmaid dress]
[http://republika.pl/cleo06/formal-prom-dresses.htm formal prom dresses]
[http://republika.pl/cleo06/bcbg-shoes.htm bcbg shoes]
[http://mysite.com.ua/xdem8200/pagesxdem8200/1_1.html tramadol hcl]
[http://mywebpage.netscape.com/burochka/cingular-ringtone.htm cingular ringtone]
[http://mywebpage.netscape.com/burochka/bcbg-shoes.htm bcbg shoes]
[http://mywebpage.netscape.com/burochka/bridesmaid-dress.htm bridesmaid dress]
[http://mywebpage.netscape.com/burochka/formal-prom-dresses.htm formal prom dresses]
[http://mywebpage.netscape.com/burochka/nail-fungus.htm nail fungus]
[http://www.buddyprofile.com/viewprofile.php?username=tanningbed tanning bed]
[http://www.buddyprofile.com/viewprofile.php?username=bcbgshoes bcbg shoes]
[http://www.buddyprofile.com/viewprofile.php?username=naturalizershoes naturalizer shoes]
[http://www.buddyprofile.com/viewprofile.php?username=leathersectionalsofa leather sectional sofa]
[http://www.buddyprofile.com/viewprofile.php?username=designerdogbeds designer dog beds]
[http://www.buddyprofile.com/viewprofile.php?username=heatedmattresspad heated mattress pad]
[http://www.buddyprofile.com/viewprofile.php?username=bridesmaiddress bridesmaid dress]
[http://www.buddyprofile.com/viewprofile.php?username=2006promdresses 2006 prom dresses]
[http://www.buddyprofile.com/viewprofile.php?username=formalpromdresses formal prom dresses]
[http://www.buddyprofile.com/viewprofile.php?username=sexypromdresses sexy prom dresses]
[http://www.buddyprofile.com/viewprofile.php?username=cheappromdresses cheap prom dresses]
[http://www.buddyprofile.com/viewprofile.php?username=nextelringtone nextel ringtone]
[http://www.buddyprofile.com/viewprofile.php?username=verizonringtones verizon ringtone]
[http://www.buddyprofile.com/viewprofile.php?username=cingularringtone cingular ringtone]
[http://www.buddyprofile.com/viewprofile.php?username=freesprintringtone free sprint ringtone]
[http://www.buddyprofile.com/viewprofile.php?username=freenextelringtone free nextel ringtone]
[http://dianabol.google.if.ua dianabol]
[http://tribulus-terrestris.blogs.eurosport.com tribulus terrestris]
[http://nutrex-lipo-6.blogs.eurosport.com nutrex lipo 6]
[http://tribex.blogs.eurosport.com Tribex]
[http://xyience.blogs.eurosport.com Xyience]
[http://vasopro.blogs.eurosport.com Vasopro]
[http://caffeine.blogs.eurosport.com caffeine pills]
[http://scifit.blogs.eurosport.com scifit]
[http://twinlab.blogs.eurosport.com twinlab]
[http://imean.com/blog/faxlesspaydayloans/ faxless payday loans]
 
</div>

Latest revision as of 20:07, 12 December 2008


Media Formats

The following was on the main page, but seems to be to be a small, easy design decision at some point down the road (phase 3 or 4). It's here for posterity, anyway.

At present, there are two tape formats: Traditional and Spanned. In the future, more formats might be added. The Application API will not change this. Indeed, the on-tape format will not change at all; you could still restore a gnutar dump under the Application API using some earlier version of Amanda. The only thing that changes is the terminology:

Traditional

When dumping, we continue to write a 32k Amanda header followed by the complete set of collections provided by the client. As before, these are written as 32K tape blocks. On restore, we can use the BSR command to seek the tape drive to the appropriate tape block, and then read the desired collections. Thus the index need only store the byte offset of each collection.

To recover without Amanda, you can still use dd to read the tape contents into the tool directly.

Spanned

When using the Spanned tape format with the Application API, we again take the complete set of collections provided by the client, treating it as a single BLOB, and dividing it into chunks. We continue to write a 32k Amanda header at the beginning of each chunk, followed by a number of 32k tape blocks. On restore, we again can use the BSR command to find the appropriate tape block and read the desired collections. Under this scenario, we must again note where each collection is stored. This could be done by storing the byte-offset of each collection, along with chunk information for the job as a whole, or else by storing the chunk and byte offset for each piece of each collection.

Future

There are several limitations in the existing tape formats that may be addressed in the future. A new tape format might also take better advantage of Application API features. But such a change is not directly connected to or required by this API.