Skip to content

alenpeacock/flud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

319 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flud backup

flud backup is experimental software. This release is not meant for use as a reliable backup mechanism. It is capable of performing backup and restore of data, especially among networks of trusted nodes, or for experiments and measurements on emulated flud networks contained on a single computer. The software is very much a work in progress, and major components of the architecture are not complete.

The next releases of flud backup will contain functional trust and fairness mechanisms that will allow, for the first time, the instantiation of the public flud network. Until then, this release serves as a preview and experimentation platform.

Installation

See INSTALL for guidance on installing flud backup.

Running

Start a flud node:

fludnode <bootstraphost> <bootstrapport>

If this is the first node in the flud network, you can omit the bootstrap host and port. When the public flud network becomes more generally available, an alternate mechanism will be used to automatically find and use it.

Other processes:

fludscheduler      # start the scheduler
fludlocalclient    # start a command-line client

All of the above commands honor the FLUDHOME environment variable for alternate locations of the ~/.flud directory. The shipped runtime is asyncio-native.

Experimenting

Start an emulated flud network of N nodes:

start-fludnodes N

View storage consumed by flud nodes in an emulated flud network:

gauges-fludnodes ~/.flud 1-n

Stop the emulated flud network of N nodes:

stop-fludnodes N

Clean out data from all emulated flud nodes:

clean-fludnodes

Testing

Common test entry points are available through make:

make test
make test-integration
make test-stress
make test-all

These map to:

  • make test: native pytest suite excluding stress tests
  • make test-integration: tests marked integration
  • make test-stress: tests marked stress
  • make test-all: all pytest-discovered tests

For more detailed test commands, custom pytest options, and the retained manual file-op system runner, see flud/test/README.md.

See http://www.flud.org/wiki/Emulated_flud_Networks for instructions and examples of how to run and test emulated flud networks.

Feedback

All discussion, feedback, and bug reports should be directed to the flud-devel mailing list at flud-devel@flud.org (archive and subscriber information at http://flud.org/mailman/listinfo/flud-devel_flud.org).

About

decentralized backup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors