Skip to content

Repository to host the first Distributed Systems project, a third year course @FEUP

Notifications You must be signed in to change notification settings

joao-conde/feup-sdis-backup-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDIS FILE BACKUP DISTRIBUTED SYSTEM

Compile

sh compile.sh

After compilation folders bin and res are created as well as files state file, chunk states file and deleted files file to keep track of peer state.

Running Peer

sh run.sh <protocol_version> <peer_id> <peer_access_point>

Running Test Client

Backup a file

java backup.Test <host/accesspoint> BACKUP <file_path> <replication_degree>

Restore a file

java backup.Test <host/accesspoint> RESTORE <file_name>

Delete a file

java backup.Test <host/accesspoint> DELETE <file_name>

Reclaim space

java backup.Test <host/accesspoint> RECLAIM <newSpace (KB)>

State

java backup.Test <host/accesspoint> STATE

About

Repository to host the first Distributed Systems project, a third year course @FEUP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published