diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-14 04:50:33 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-14 04:50:33 +0200 |
commit | 6464aa6e109cb0ec450547ee9b86c260d35ff05a (patch) | |
tree | f9c12ddb7e78301e1b5d091443238d142c971611 /readme.md | |
parent | e4499d44e931d2ee7c70e7610bbfca3fefd00fea (diff) | |
download | online-offsite-backup-6464aa6e109cb0ec450547ee9b86c260d35ff05a.tar online-offsite-backup-6464aa6e109cb0ec450547ee9b86c260d35ff05a.tar.bz2 online-offsite-backup-6464aa6e109cb0ec450547ee9b86c260d35ff05a.tar.zst |
doc
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 |