Changes between Version 109 and Version 110 of FAQ


Ignore:
Timestamp:
2014-10-20T18:47:50Z (10 years ago)
Author:
zooko
Comment:

add FAQ about backups of root caps

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v109 v110  
    114114'''[=#Q15_same_file_same_cap Q15:] If upload the same file again and again, Tahoe-LAFS will return the same capability. How does Tahoe-LAFS identify that the client is same, when I upload files mutiple times, is it based on node ID?'''
    115115
    116 A: For immutable files this is true—the resulting capability will be the same each time you upload the same file contents.  The capability is derived from two pieces of information:  The content of the file and the "[https://tahoe-lafs.org/trac/tahoe-lafs/wiki/Convergence%20Secret convergence secret]". By default, the convergence secret is randomly generated by the node when it first starts up, then stored in the node's base directory ({{{~/.tahoe}}}) and re-used after that. So the same file content uploaded from the same node will always have the same cap string. Uploading the file from a different node with a different convergence secret would result in a different cap string—and in a second copy of the file's contents stored on the grid. If you want files you upload to converge (also known as "deduplicate") with files uploaded by someone else, just make sure you're using the same convergence secret as they are.
     116A: For immutable files this is true—the resulting capability will be the same each time you upload the same file contents.  The capability is derived from two pieces of information:  The content of the file and the "[//trac/tahoe-lafs/wiki/Convergence%20Secret convergence secret]". By default, the convergence secret is randomly generated by the node when it first starts up, then stored in the node's base directory ({{{~/.tahoe}}}) and re-used after that. So the same file content uploaded from the same node will always have the same cap string. Uploading the file from a different node with a different convergence secret would result in a different cap string—and in a second copy of the file's contents stored on the grid. If you want files you upload to converge (also known as "deduplicate") with files uploaded by someone else, just make sure you're using the same convergence secret as they are.
    117117
    118118'''[=#Q15.1_dedupe_dangers Q15.1:] Isn't deduplication dangerous? Can someone figure out whether or not I have a certain file?'''
     
    233233
    234234The default logfiles provided by Tahoe do not provide much information. To really see what's going on, you will need to use the "flogtool" utility to expose detailed logging. For more information, see [source:trunk/docs/logging.rst]
     235
     236'''[=#Q35_backing_up_caps Q36:] How do I backup the decryption key and other information necessary to recover my files?
     237
     238In Tahoe-LAFS the decryption keys are bundled together with the other information into a short string called a ''capability'' (see the [//trac/tahoe-lafs/browser/docs/architecture.rst#capabilities architecture document]). To backup your capabilities, we recommend printing two or more copies of them out on a printer and storing the resulting pieces of paper in a safe place.