Age | Commit message (Collapse) | Author | Files | Lines |
|
fix: allow generation temporary files to be automatically deleted
Closes #36
See merge request larswirzenius/obnam!106
|
|
Previously client.yaml used a directory that only exists in my home
directory, making the example config not be useful for others, unless
they changed it.
|
|
By not calling NamedTempFile::persist, the files get deleted
automatically when the file is closed or the struct is dropped.
Previously we were deleting the temporary files manually, which meant
that sometimes they weren't deleted if the program crashed at an
unfortunate time.
|
|
feat: store user and group who own each file
Closes #18
See merge request larswirzenius/obnam!105
|
|
Actually, these aren't yet actually stored in the backup. That will
happen when there's a way to verify file metadata stored in the
backup. But this adds the code to look up the data during a backup so
that at least that part gets some exercise.
|
|
feat: install the APT signing key for the Obnam package repository
Closes #57
See merge request larswirzenius/obnam!103
|
|
|
|
refactor: move downloading of previous generation to backup_run
See merge request larswirzenius/obnam!102
|
|
|
|
Support Unix domain sockets and named pipes
Closes #43
See merge request larswirzenius/obnam!101
|
|
|
|
|
|
refactor(check): simplify how quietness is implemented
See merge request larswirzenius/obnam!100
|
|
|
|
refactor: use bytesize::MIB constant for clearer size
See merge request larswirzenius/obnam!99
|
|
|
|
fix: drop benchmark binaries from Debian package
Closes #72
See merge request larswirzenius/obnam!98
|
|
|
|
progress bar improvements
Closes #77 and #76
See merge request larswirzenius/obnam!97
|
|
|
|
Previously, we were showing "N/M", where N is the number of files
found in the current backup run, and M the number of files in the
previous backup. I found this confusing if the new run finds more
files than were in the previous run. Now we increment M if N goes
beyond it.
|
|
Previously it showed "N/M", where N was the number of files found in
the current backup run, and M was the number of files found in the
previous generation. But that made no sense for an initial backup, so
now we only show N.
|
|
|
|
It didn't actually show any progress and so was useless.
|
|
This is clearer, easier to modify than having a flag to indicate which
variant we're running.
|
|
This makes it possible to later have different progress bars for
initial and incremental backup runs. However, for now the bars are
identical.
|
|
refactor: move server config into src/server.rs
See merge request larswirzenius/obnam!96
|
|
|
|
doc(tutorial.md): add a rudimentary tutorial
See merge request larswirzenius/obnam!95
|
|
|
|
doc(obnam.md): add the start of threat modeling
Closes #65
See merge request larswirzenius/obnam!94
|
|
This is intentionally very simplistic. I'm not experienced at this and
I need to take it slow. It also leaves the details of how encryption
is implemented open, for now.
|
|
Fix a couple typos in the systemd service file
See merge request larswirzenius/obnam!91
|
|
fix(check): don't pass -v for check on to test.py
See merge request larswirzenius/obnam!93
|
|
Previously, -v was obeyed by check itself, but also passed onto the
test program it generates with Subplot. This removes -v from the list
of arguments passed on to the test program. This makes -v actually be
useful.
|
|
fix: don't use the matched! macro
See merge request larswirzenius/obnam!92
|
|
Rust compiler gives an error due to it being too new.
|
|
|
|
...as this is where the Debian package puts the binaries.
|
|
Ignore files that can't be read during backup
Closes #27
See merge request larswirzenius/obnam!90
|
|
|
|
Such files won't be restored, as they'd be restored as empty file, and
that would be confusing and thus bad.
|
|
New name is more precise. The meaning of the enum variant hasn't changed.
|
|
Just in case the SQLite DB stores a reason this version of Obnam
doesn't understand, we handle that now.
|
|
feat! back up multiple roots
Closes #54
See merge request larswirzenius/obnam!89
|
|
This changes the client configuration file "root" field (with a single
string) to "roots" (a list of strings).
|
|
Make chunk size configurable
Closes #44
See merge request larswirzenius/obnam!88
|
|
|
|
Use the chunk_size setting for file data. For the SQLite file, use a
hard-coded size instead.
|
|
We don't want to require the user to have to specify every possible
setting in client configuration files. Having reasonable defaults when
possible is a better way.
|