Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-01-05 | refactor: add BackedUpFile to avoid using a tuple | Lars Wirzenius | 1 | -4/+34 | |
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 | 1 | -2/+2 | |
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 | refactor: add a type alias for file identifiers in generations | Lars Wirzenius | 1 | -15/+18 | |
2021-01-04 | feat! record whether file was backed up and why, in a generation | Lars Wirzenius | 1 | -22/+31 | |
This changes SQL schema. | |||||
2021-01-04 | feat: add an index for chunk ids lookups | Lars Wirzenius | 1 | -0/+1 | |
2021-01-01 | feat: use SQL to look up information for a file, by filename | Lars Wirzenius | 1 | -14/+24 | |
This speeds things up a lot compared to iterating over all files. | |||||
2021-01-01 | feat! use signed 64 bit integers as file numbers, file counts | Lars Wirzenius | 1 | -17/+15 | |
2021-01-01 | refactor: move SQL use into sub-module | Lars Wirzenius | 1 | -58/+92 | |
This keeps all the SQL related functions closer together, making it easier to make changes to them. | |||||
2020-12-31 | feat: incremental backup | Lars Wirzenius | 1 | -0/+32 | |
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 | -55/+59 | |
This splits the use of NascentGeneration to more cohesive "new generation being built" versus "existing generation being restored". | |||||
2020-12-30 | feat: add GenerationList | Lars Wirzenius | 1 | -0/+1 | |
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/+3 | |
This changes the output format of "obnam list". | |||||
2020-12-27 | add FinishedGeneration | Lars Wirzenius | 1 | -1/+30 | |
2020-12-27 | refactor: rename Generation to NascentGeneration | Lars Wirzenius | 1 | -4/+4 | |
New name is more descriptive. | |||||
2020-12-11 | feat! store file metadata as JSON | Lars Wirzenius | 1 | -24/+11 | |
This avoids having to add extra columns when we add more metadata support. This may be worth re-thinking later, once things stabilize. | |||||
2020-11-23 | feat: progress reporting to backups and restores | Lars Wirzenius | 1 | -18/+37 | |
2020-11-10 | feat: restore a generation | Lars Wirzenius | 1 | -5/+57 | |
2020-11-09 | fix: minor fixes found by clippy | Lars Wirzenius | 1 | -1/+1 | |
2020-11-08 | feat: add Generation to represent data in a backup generation | Lars Wirzenius | 1 | -0/+94 | |
The data is stored in an SQLite database file. |