diff options
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -6,8 +6,8 @@ files automatically. Problem: Offsite backups could be as easy as a network filesystem - the problem is however that these usually implement deleting files aswell. In the case where a user's machine is comprimised by an attacker, these files could just be -deleted in the same way they were created, defeating the advantages of an -**offsite** backup. +deleted in the same way they were created, defeating some of the advantages of +an offsite backup. Solution: Implement a network "filesystem" that only supports non-destructive operations. Only implementing upload means that backups will accumulate on the @@ -62,7 +62,7 @@ encrypt it! 3. Start uploading a backup: `backuptool config.toml upload /path/to/backup` 4. List currently stored backups: `backuptool config.toml list` 5. Restore a remote backup by serial: - `backuptool config.toml download 2 /path/to/restore` + `backuptool config.toml download /path/to/restore` 6. See further usage `backuptool --help` ## Protocol @@ -79,3 +79,7 @@ disconnects you.First send a line with the shared secret, then send commands. - `download`: Client sends `download,<serial>` on a line. If accepted the server replies `ready,<size>` on a line and then continues sending exactly this many bytes before concluding with `done` on a line. + +## Todo + +- implement upload / download max rate |