summaryrefslogtreecommitdiff
path: root/subplot
AgeCommit message (Collapse)AuthorFilesLines
2021-03-12feat: show warnings for any problems backing up filesLars Wirzenius3-1/+11
Previously, we either ignored it or aborted the backup. Neither is good. Now we ignore the problem, except to show a warning at the end of the backup run.
2021-03-12test: give better error messages for file manifests differingLars Wirzenius2-0/+34
This makes it easier to see what the problem is.
2021-03-12fix: create symlink as requested in test dataLars Wirzenius1-1/+1
Link name/target were swapped. I keep making this mistake even when checking that I'm doing it the right way.
2021-02-19feat: backup and restore named pipes (FIFOs)Lars Wirzenius2-0/+7
2021-02-19feat: back up and restore Unix domain socketsLars Wirzenius2-0/+9
2021-02-07test: add scenario for live data file being unreadableLars Wirzenius2-0/+20
2021-02-06test: add scenario for checking chunk-sizeLars Wirzenius4-17/+26
2021-02-06feat: client verifies server's TLS certificate by defaultLars Wirzenius1-0/+1
Configuration setting can disable it.
2021-02-04test: add scenario test for obnam config subcommandLars Wirzenius3-2/+37
2021-01-16feat: backup run now ends with a summaryLars Wirzenius1-1/+2
"obnam backup" now writes a summary like the following at the end: status: OK duration: 24 file-count: 119245 generation-id: ef353c79-a94f-4903-bd80-e741ea454c84 We can add more fields to that later, as needed and requested. This was the data that's easily at hand.
2021-01-04feat: verify checksum of chunks downloaded from serverLars Wirzenius7-505/+34
2021-01-04feat! record whether file was backed up and why, in a generationLars Wirzenius2-0/+36
This changes SQL schema.
2021-01-03feat: load chunk metadata into index at startupLars Wirzenius2-1/+5
This needs to be replace with a database or something, but it'll do for now.
2020-12-31chore: update vendored subplot librarires: runcmd, daemonLars Wirzenius9-117/+509
2020-12-30feat: allow restoring latest generationLars Wirzenius2-2/+13
2020-12-26test: add verification test for non-UTF8 filenamesLars Wirzenius2-0/+9
2020-12-23feat! only specify base URL of server, without /chunksLars Wirzenius1-5/+5
2020-12-23feat! let server address be configuredLars Wirzenius1-5/+10
Instead of just specifying port, let the address (or name) be configured.
2020-12-23feat! add a global --config optionLars Wirzenius2-2/+12
This breaks all invocations of the Obnam client, as the option needs to come before the subcommand name. The benefit of this breakage is simpler, less repetitive code.
2020-12-12feat: back up and restore symlinksLars Wirzenius2-0/+7
2020-12-12test: add scenario for restoring mode bitsLars Wirzenius2-0/+7
2020-12-11fix: how manifests are created and comparedLars Wirzenius1-4/+5
2020-12-08refactor: move functions around so that data stuff is in data.yamlLars Wirzenius4-48/+37
2020-12-06test: change backup/restore smoke test to verify metadataLars Wirzenius5-0/+543
2020-11-27feat! make obnam-server always use TLSLars Wirzenius1-1/+1
This will ruin my benchmark results, but it's the right thing to do.
2020-11-22feat! use temporary files for SQLite databasesLars Wirzenius2-4/+3
The user should not have to specify filenames for the databases, since they don't actually care where they're stored.
2020-11-18feat! change client config to take a base URL instead of host, portLars Wirzenius2-11/+7
2020-11-13refactor: split obnam's bindings, functions for clarityLars Wirzenius7-194/+146
The old subplot/obnam.{yaml,py} were starting to get large enough that it was hard to understand them. Also, were partly overlapping in functionality with runcmd.
2020-11-13chore: update runcmd Subplot library, move to sublot/vendoredLars Wirzenius3-0/+261
2020-11-13refactor: put all client functionality into one programLars Wirzenius2-4/+24
2020-11-13test: add scenario for smoke testing backup+restoreLars Wirzenius2-0/+79
2020-10-18chore: make ./check run on Debian bullseyeAlexander Batischev1-1/+5
Debian bullseye (which is the current testing branch) installs `daemonize` to /usr/bin rather than /usr/sbin: https://salsa.debian.org/alvinch_chen-guest/daemonize/-/commit/4cfa62a019599c1e96c702052e912d1642a256ac
2020-10-10chore: update runcmd.py from Subplot, use new getter functionsLars Wirzenius2-31/+52
2020-10-04chore: update lib/runcmd.py from Subplot, make required changesLars Wirzenius3-84/+233
2020-10-03feat: add rudimentary backup clientLars Wirzenius2-1/+37
Also, a bit of logging for server.
2020-09-19feat: search, delete chunks on chunk serverLars Wirzenius2-2/+70
Also heavily refactor the now-long scenario by splitting out a happy path and some unhappy paths.
2020-09-18refactor: move ancillary subplot files to subplot/Lars Wirzenius4-0/+325
This way, the root of the source tree is less cluttered. I'm leaving the subplot.md file in the root, though, since it's meant to be more visible, more "in your face".