Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tahoe-lafs [2014/11/05 12:07] – anonymous | tahoe-lafs [2022/05/08 11:42] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
==== What is Tahoe ==== | ==== What is Tahoe ==== | ||
- | [[https:// | + | [[https:// |
+ | |||
+ | * cryptographic capabilities model which acts like a distributed access control system | ||
+ | * erasure-encoding | ||
+ | * verified end-to-end crypto | ||
- | * secure | ||
- | * decentralized | ||
- | * fault-tolerant | ||
- | * encrypted | ||
- | * peer-to-peer | ||
You can use it to host and serve files or for your backups.\\ | You can use it to host and serve files or for your backups.\\ | ||
Line 21: | Line 20: | ||
This page is meant to be a resource of Tahoe knowledge. In the hope of making it as easy as possibly for others to start using it. | This page is meant to be a resource of Tahoe knowledge. In the hope of making it as easy as possibly for others to start using it. | ||
- | |||
- | ==== Details ==== | ||
- | |||
- | A group of servers providing storage is called a **storage grid**. | ||
- | Files stored on a grid are split into parts. Each node gets only part of your file. Each part is encrypted as well. To later restore a file you only need a limited number of it's parts. For example you spread parts of your file onto 10 nodes but only three of them are needed to restore it. | ||
- | |||
- | There' | ||
===== Installation (with Tor) ===== | ===== Installation (with Tor) ===== | ||
- | In the installation we configure Tahoe to use Tor. All nodes are hidden services. | + | In the installation we configure Tahoe to use Tor. All services |
==== Required Packages ==== | ==== Required Packages ==== | ||
Line 102: | Line 94: | ||
==== Backup Files ==== | ==== Backup Files ==== | ||
- | TODO | + | === Create Backup === |
+ | |||
+ | > tahoe backup < | ||
+ | |||
+ | Afterwards we can //ls// the new backup folder | ||
+ | |||
+ | > tahoe ls < | ||
+ | |||
+ | Within it we now see two folders: //Latest// and // | ||
+ | |||
+ | > tahoe ls < | ||
+ | > tahoe ls < | ||
+ | |||
+ | The //Archive// folder includes further directories with timestamped versions of our backup. | ||
+ | |||
+ | === Backup Integrity === | ||
+ | |||
+ | Tahoe spreads chunks of our files over different shares. Should too many shares go offline our backup will be lost. This is why we should check it's health on a regular basis. This is done with Tahoe' | ||
+ | |||
+ | > tahoe deep-check < | ||
+ | |||
+ | The resulting output looks like this: | ||
+ | |||
+ | > tahoe deep-check ouralias: | ||
+ | > done: 4 objects checked, 4 healthy, 0 unhealthy | ||
+ | |||
+ | Shares will go offline. And there' | ||
+ | |||
+ | > tahoe deep-check --repair < | ||
+ | |||
+ | Shares also have a garbage collection policy. When a file hasn't been accessed for too long it is elligible for removal. This prevents shares from running out of disk space too early.\\ | ||
+ | To keep them alive you to renew their so calles **lease**. | ||
+ | |||
+ | > tahoe deep-check --repair --add-lease < | ||
+ | > tahoe deep-check --repair --add-lease < | ||
+ | > tahoe deep-check --repair --add-lease < | ||
+ | |||
+ | === Restore from Backup === | ||
+ | |||
+ | Restoring files involves only a copy. | ||
+ | |||
+ | > tahoe cp < | ||
+ | > tahoe cp < | ||
+ | > tahoe cp < | ||
+ | |||
+ | ===== Missing Sections ===== | ||
+ | |||
+ | * links | ||
+ | * capabilities: | ||
+ | * setup your own grid | ||
+ | * setup a node and add it to an existing grid |