Skip to content

Distributed Backup Service in Java that can back up files in an environment of a distributed system.

Notifications You must be signed in to change notification settings

jflcarvalho/SDIS-FEUP

Repository files navigation

SDIS-FEUP

BCH compliance

Start the initial Database Peer run the following command:
#WINDOWS:
java -cp out\production\SDIS-FEUP Main Database 1024

#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Main Database 1024
To add more Database Peer
#WINDOWS:
java -cp out\production\SDIS-FEUP Main Database 1024 <contact ip (127.0.0.1:1024)>

#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Main Database 1024 <contact ip (127.0.0.1:1024)>
Start the initial Woker Peer run the following command:
#WINDOWS:
java -cp out\production\SDIS-FEUP Main Worker 1025 127.0.0.1:1024

#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Main Worker 1025 127.0.0.1:1024
To add more Workers Peers
#WINDOWS:
java -cp out\production\SDIS-FEUP Main Worker 1025 127.0.0.1:1024 <contact ip (127.0.0.1:1025)>

#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Main Worker 1025 127.0.0.1:1024 <contact ip (127.0.0.1:1025)>
Start the Server Peer run the following command:
#WINDOWS:
java -cp out\production\SDIS-FEUP Server 2000 127.0.0.1:1024 127.0.0.1:1025

#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Server 2000 127.0.0.1:1024 127.0.0.1:1025
Start the Client Peer run the following command:
#WINDOWS:
java -cp out\production\SDIS-FEUP Client 127.0.0.1 2000 

#LINUX/UNIX:
java -cp out/production/SDIS-FEUP Client 127.0.0.1 2000

About

Distributed Backup Service in Java that can back up files in an environment of a distributed system.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages