summaryrefslogtreecommitdiff
path: root/subplot/client.py
AgeCommit message (Collapse)AuthorFilesLines
2021-11-21refactor: add simple scenario step to setup Obnam for a scenarioLars Wirzenius1-0/+12
Make the setup of an installed Obnam and a running Obnam server be one step instead of two. This is not a huge change, but even a little helps, given how many scenarios need it. Sponsored-by: author
2021-09-11test: run Obnam binaries from where Cargo puts themLars Wirzenius1-1/+4
Sponsored-by: author
2021-05-29refactor: only have client config without passwordsLars Wirzenius1-1/+10
This means the config is always the config, and not sometimes the config or the config and passwords. Also, there's no config option for encrypting, anymore. It will not be optional now.
2021-04-25feat: expand tilde notation in configuration fileLars Wirzenius1-0/+9
Backup roots and log file can now say ~/foo/bar to refer to files relative to the user's home directory.
2021-04-09refactor: make tests install a config in the default locationLars Wirzenius1-22/+11
This way, every step doesn't need to specify a --config option to the Obnam client.
2021-03-27refactor: use generic step to run command, instead of custom oneLars Wirzenius1-4/+0
2021-03-12feat: show warnings for any problems backing up filesLars Wirzenius1-0/+5
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-02-06feat: client verifies server's TLS certificate by defaultLars Wirzenius1-0/+1
Configuration setting can disable it.
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 Wirzenius1-0/+15
2021-01-04feat! record whether file was backed up and why, in a generationLars Wirzenius1-0/+27
This changes SQL schema.
2020-12-30feat: allow restoring latest generationLars Wirzenius1-2/+10
2020-12-23feat! add a global --config optionLars Wirzenius1-1/+11
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-08refactor: move functions around so that data stuff is in data.yamlLars Wirzenius1-34/+0
2020-12-06test: change backup/restore smoke test to verify metadataLars Wirzenius1-0/+29
2020-11-22feat! use temporary files for SQLite databasesLars Wirzenius1-3/+2
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 Wirzenius1-4/+2
2020-11-13refactor: split obnam's bindings, functions for clarityLars Wirzenius1-0/+60
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.