Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-12 | feat: show warnings for any problems backing up files | Lars Wirzenius | 1 | -10/+30 | |
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-12 | fix: backup and restore of symlink | Lars Wirzenius | 1 | -4/+2 | |
2021-03-03 | fix: allow generation temporary files to be automatically deleted | Lars Wirzenius | 4 | -97/+53 | |
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. | |||||
2021-02-23 | feat: have separate progress bar for each backup phase | Lars Wirzenius | 1 | -8/+8 | |
2021-02-19 | feat: backup and restore named pipes (FIFOs) | Lars Wirzenius | 2 | -1/+18 | |
2021-02-19 | feat: back up and restore Unix domain sockets | Lars Wirzenius | 2 | -12/+32 | |
2021-02-16 | refactor: use bytesize::MIB constant for clearer size | Lars Wirzenius | 1 | -1/+2 | |
2021-02-16 | refactor: split BackupRun into initial, incremental variants | Lars Wirzenius | 1 | -15/+25 | |
This is clearer, easier to modify than having a flag to indicate which variant we're running. | |||||
2021-02-07 | feat: if file can't be read, log that, don't end backup in error | Lars Wirzenius | 1 | -1/+5 | |
Such files won't be restored, as they'd be restored as empty file, and that would be confusing and thus bad. | |||||
2021-02-06 | feat! back up multiple roots | Lars Wirzenius | 1 | -23/+47 | |
This changes the client configuration file "root" field (with a single string) to "roots" (a list of strings). | |||||
2021-02-06 | feat: use the chunk size setting from the client configuration | Lars Wirzenius | 1 | -3/+7 | |
Use the chunk_size setting for file data. For the SQLite file, use a hard-coded size instead. | |||||
2021-02-06 | feat: client verifies server's TLS certificate by default | Lars Wirzenius | 5 | -5/+5 | |
Configuration setting can disable it. | |||||
2021-02-04 | feat: add obnam config subcommand | Lars Wirzenius | 2 | -0/+10 | |
2021-02-04 | refactor: have per-module error enums | Lars Wirzenius | 6 | -30/+44 | |
This means that a function that parses step bindings can't return an error that the document is missing a title. Such an error return would be nonsensical, and we use the Rust type system to prevent it, at a small cost of being a bit verbose. Additional benefit is that the library portion of Obnam doesn't return anyhow::Result values anymore. | |||||
2021-01-16 | feat: add "obnam show-generation" subcommand | Lars Wirzenius | 2 | -0/+49 | |
2021-01-16 | feat: backup run now ends with a summary | Lars Wirzenius | 1 | -3/+10 | |
"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-10 | feat! use SQLite db for chunk index on server | Lars Wirzenius | 1 | -2/+3 | |
This speeds startup a lot. However, the backup repository needs to be re-created from scratch and internal APIs have change in incompatible ways. | |||||
2021-01-05 | refactor: add BackedUpFile to avoid using a tuple | Lars Wirzenius | 2 | -8/+9 | |
The struct is easier to use right. | |||||
2021-01-05 | refactor: move policy on whether to back up a file into a module | Lars Wirzenius | 2 | -151/+14 | |
This commit also splits up the src/cmd/backup.rs module into other, smaller, more cohesive modules that are easier to understand and use. | |||||
2021-01-04 | feat: verify checksum of chunks downloaded from server | Lars Wirzenius | 2 | -0/+18 | |
2021-01-04 | feat! record whether file was backed up and why, in a generation | Lars Wirzenius | 4 | -20/+105 | |
This changes SQL schema. | |||||
2021-01-01 | feat! use signed 64 bit integers as file numbers, file counts | Lars Wirzenius | 2 | -7/+7 | |
2020-12-31 | feat: incremental backup | Lars Wirzenius | 1 | -27/+111 | |
This uses the previous, latest generation as a guideline to see what is new or changed. | |||||
2020-12-31 | refactor: add LocalGeneration type for read-only operations | Lars Wirzenius | 1 | -19/+6 | |
This splits the use of NascentGeneration to more cohesive "new generation being built" versus "existing generation being restored". | |||||
2020-12-30 | feat: allow restoring latest generation | Lars Wirzenius | 1 | -1/+9 | |
2020-12-30 | feat: add GenerationList | Lars Wirzenius | 1 | -3/+2 | |
Various part of Obnam will need to deal with lists of generations. Abstract this. | |||||
2020-12-30 | feat! store and show timestamp for each backup generation | Lars Wirzenius | 1 | -2/+4 | |
This changes the output format of "obnam list". | |||||
2020-12-27 | refactor: rename Generation to NascentGeneration | Lars Wirzenius | 2 | -6/+6 | |
New name is more descriptive. | |||||
2020-12-26 | refactor: rename FileSystemEntry::path to pathbuf | Lars Wirzenius | 2 | -7/+9 | |
This is a step towards changing how filenames are stored in FileSystemEntry. | |||||
2020-12-23 | feat: re-enable progress bars for backup and restore | Lars Wirzenius | 2 | -2/+2 | |
2020-12-23 | feat! add a global --config option | Lars Wirzenius | 3 | -9/+3 | |
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-12 | feat: back up and restore symlinks | Lars Wirzenius | 2 | -3/+26 | |
2020-12-12 | feat: restore metadata as well as file contentents | Lars Wirzenius | 1 | -16/+81 | |
2020-11-23 | feat: progress reporting to backups and restores | Lars Wirzenius | 2 | -5/+51 | |
2020-11-22 | feat! use temporary files for SQLite databases | Lars Wirzenius | 2 | -3/+35 | |
The user should not have to specify filenames for the databases, since they don't actually care where they're stored. | |||||
2020-11-22 | refactor: use the same ClientConfig for both backups and restores | Lars Wirzenius | 1 | -16/+2 | |
2020-11-18 | feat! change client config to take a base URL instead of host, port | Lars Wirzenius | 3 | -5/+4 | |
2020-11-13 | refactor: put all client functionality into one program | Lars Wirzenius | 4 | -0/+157 | |