|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.project.BackupProjectTool
public class BackupProjectTool
A tool for saving a project from the Tranche network to a disk drive. The project is saved in chunked data form, not as actual files. To retrieve the data once created, set up a Flat File Tranche Server on the directory.
| Field Summary | |
|---|---|
java.util.ArrayList<TrancheServer> |
downloadFromServers
Servers from which to backup data. |
| Constructor Summary | |
|---|---|
BackupProjectTool(java.lang.String projectHash,
java.math.BigInteger partitionSize,
java.io.File rootLocation)
|
|
BackupProjectTool(java.lang.String projectHash,
java.math.BigInteger partitionSize,
java.io.File rootLocation,
java.lang.String passphrase)
|
|
| Method Summary | |
|---|---|
void |
addOutput(java.io.PrintStream out)
Add a PrintStream to collection; output statements will be printed to all PrintStream instances. |
void |
run()
Executes the backup process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.ArrayList<TrancheServer> downloadFromServers
Servers from which to backup data.
| Constructor Detail |
|---|
public BackupProjectTool(java.lang.String projectHash,
java.math.BigInteger partitionSize,
java.io.File rootLocation)
throws java.lang.Exception
projectHash - partitionSize - rootLocation -
java.lang.Exception
public BackupProjectTool(java.lang.String projectHash,
java.math.BigInteger partitionSize,
java.io.File rootLocation,
java.lang.String passphrase)
throws java.lang.Exception
projectHash - partitionSize - rootLocation - passphrase -
java.lang.Exception| Method Detail |
|---|
public void run()
throws java.lang.Exception
Executes the backup process.
java.lang.Exceptionpublic void addOutput(java.io.PrintStream out)
Add a PrintStream to collection; output statements will be printed to all PrintStream instances.
out -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||