Salvador
A peer-to-peer distributed data backup
Rodrigo Araújo and Daniel Almeida
Salvador: A peer-to-peer distributed data backup
Motivation
Modern file hosting services are widely used to store sensitive files.
Salvador: A peer-to-peer distributed data backup
Motivation
Common commercial solutions:
Client-Server Architecture (Cloud-based)
Salvador: A peer-to-peer distributed data backup
Motivation
Common solutions: Client-Server Architecture
![](https://s3.amazonaws.com/media-p.slid.es/uploads/326946/images/3307786/dropbox_logo_detail.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/326946/images/3307787/01_mega_logo.svg.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/326946/images/3307800/OneDrive_logo.svg.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/326946/images/3307805/Google-Drive-Logo-2esegzl.jpg)
Salvador: A peer-to-peer distributed data backup
Motivation
Problems with Client-Server Architecture
Salvador: A peer-to-peer distributed data backup
Motivation
Problems with Client-Server Architecture
Sharing whole copies of the file
Salvador: A peer-to-peer distributed data backup
Motivation
Sharing whole copies of the file
Trusting your data to one single company
Problems with Client-Server Architecture
Salvador: A peer-to-peer distributed data backup
Solution
Enters: Salvador
Salvador: A peer-to-peer distributed data backup
Solution
Backup of files without sharing entire copies of a file
Inspired by known technologies
Enters: Salvador
Salvador: A peer-to-peer distributed data backup
Features
Backup && Restore files
Access only by owner (no sharing)
Semantics inspired by Dropbox
P2P Backup and Restores
Incentive system
Command line interface
Salvador: A peer-to-peer distributed data backup
Challenges
Many known challenges:
Maintain metadata of files
Peers failure/unavailability
Peers joining the network
File availability
Blocks size
Network load
Block redundancy
Delayed communication
And many unknown challenges
Salvador: A peer-to-peer distributed data backup
Development plan && Architecture
Baby-steps development
Version 1
Version 2
Salvador: A peer-to-peer distributed data backup
Development plan && Architecture
Baby-steps development
Central server for metadata
Distributed clients
No failures
Hybrid P2P
Version 1
Version 2
Salvador: A peer-to-peer distributed data backup
Development plan && Architecture
Baby-steps development
Distributed clients
No failures
Hybrid P2P
Version 1
Version 2
Full P2P
Central server for metadata
Fault tolerant
Salvador: A peer-to-peer distributed data backup
Development plan && Architecture
Version 1
![](https://s3.amazonaws.com/media-p.slid.es/uploads/326946/images/3311686/DIAGRAM_2V3.png)
Salvador: A peer-to-peer distributed data backup
Development plan && Architecture
Version 2
![](https://s3.amazonaws.com/media-p.slid.es/uploads/326946/images/3307890/1__6_.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/326946/images/3311603/spreadv3.png)
Questions?
Salvador
By Rodrigo Araújo
Salvador
- 1,572