summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-01-24Merge branch 'release-build' into 'main'v0.1.1Lars Wirzenius2-0/+114
Release build scripts See merge request larswirzenius/obnam!71
2021-01-24release: add script to build a release Debian packageLars Wirzenius1-0/+54
2021-01-24release: add script list new, unbuilt release tagsLars Wirzenius1-0/+60
2021-01-23Merge branch 'release-checklist' into 'main'Lars Wirzenius2-0/+46
_doc: add preliminary release checklist See merge request larswirzenius/obnam!70
2021-01-23_doc: add preliminary release checklistLars Wirzenius2-0/+46
2021-01-23Merge branch 'cert' into 'main'Lars Wirzenius5-29/+135
Use Let's Encrypt for server TLS certificates Closes #39 See merge request larswirzenius/obnam!69
2021-01-23doc: update README.md with server installation instructionsLars Wirzenius1-3/+49
2021-01-23install: change Ansible playbook for server to support Let's EncryptLars Wirzenius4-26/+86
The playbook now optionally gets a TLS certificate from Let's Encrypt, or it can use a pre-generated certificate as before.
2021-01-19Merge branch 'errors' into 'main'Lars Wirzenius3-9/+10
refactor: use ChunkId directly in errors, instead of String See merge request larswirzenius/obnam!68
2021-01-19refactor: use ChunkId directly in errors, instead of StringLars Wirzenius3-9/+10
2021-01-17Merge branch 'default-config-file' into 'main'Lars Wirzenius3-3/+20
feat: add a default configuration file Closes #45 See merge request larswirzenius/obnam!67
2021-01-17feat: add a default configuration fileLars Wirzenius3-3/+20
The ~/.config/obnam/obnam.yaml file will be used as the configuration file by default. The ~/.config directory can be overridden by setting the XDG variable (XDG_CONFIG_HOME), or the whole file can be overridden with the --config option to obnam.
2021-01-16Merge branch 'showgen' into 'main'Lars Wirzenius3-1/+55
feat: add "obnam show-generation" subcommand Closes #51 See merge request larswirzenius/obnam!66
2021-01-16feat: add "obnam show-generation" subcommandLars Wirzenius3-1/+55
2021-01-16Merge branch 'backupinfo' into 'main'Lars Wirzenius3-4/+13
feat: backup run now ends with a summary See merge request larswirzenius/obnam!65
2021-01-16feat: backup run now ends with a summaryLars Wirzenius3-4/+13
"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-10Merge branch 'server-index' into 'main'Lars Wirzenius10-176/+251
feat! use SQLite db for chunk index on server Closes #48 See merge request larswirzenius/obnam!64
2021-01-10feat! use SQLite db for chunk index on serverLars Wirzenius10-176/+251
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-05Merge branch 'iterattor' into 'main'Lars Wirzenius4-13/+56
refactor: add BackedUpFile to avoid using a tuple See merge request larswirzenius/obnam!63
2021-01-05refactor: add BackedUpFile to avoid using a tupleLars Wirzenius4-13/+56
The struct is easier to use right.
2021-01-05Merge branch 'policy' into 'main'Lars Wirzenius9-156/+258
refactor: move policy on whether to back up a file into a module Closes #38 See merge request larswirzenius/obnam!62
2021-01-05refactor: move policy on whether to back up a file into a moduleLars Wirzenius9-156/+258
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-04Merge branch 'checksum' into 'main'Lars Wirzenius17-532/+118
Checksum See merge request larswirzenius/obnam!61
2021-01-04refactor: use fetch_chunk to fetch generationLars Wirzenius2-13/+9
Also, add GenerationChunk::from_data_chunk function.
2021-01-04feat: verify checksum of chunks downloaded from serverLars Wirzenius14-509/+108
2021-01-04Revert "test: make sure Cargo.toml and debian/changelog versions match"Lars Wirzenius2-10/+1
This reverts commit 4a779c234c3dbf2685ad81be92a96688266fec58. CI munges the Debian version, making the version check always fail. Back to the drawing board for this.
2021-01-04Merge branch 'version' into 'main'Lars Wirzenius2-1/+10
test: make sure Cargo.toml and debian/changelog versions match Closes #22 See merge request larswirzenius/obnam!60
2021-01-04test: make sure Cargo.toml and debian/changelog versions matchLars Wirzenius2-1/+10
2021-01-04Merge branch 'type' into 'main'Lars Wirzenius1-15/+18
refactor: add a type alias for file identifiers in generations See merge request larswirzenius/obnam!59
2021-01-04refactor: add a type alias for file identifiers in generationsLars Wirzenius1-15/+18
2021-01-04Merge branch 'reason' into 'main'Lars Wirzenius9-43/+235
feat! record whether file was backed up and why, in a generation Closes #31 and #30 See merge request larswirzenius/obnam!58
2021-01-04feat! record whether file was backed up and why, in a generationLars Wirzenius9-43/+235
This changes SQL schema.
2021-01-04Merge branch 'opt' into 'main'Lars Wirzenius1-0/+1
feat: add an index for chunk ids lookups See merge request larswirzenius/obnam!57
2021-01-04feat: add an index for chunk ids lookupsLars Wirzenius1-0/+1
2021-01-03Merge branch 'ansible' into 'main'Lars Wirzenius8-2/+102
feat: add Ansible playbook to provision an Obnam server See merge request larswirzenius/obnam!54
2021-01-03feat: add Ansible playbook to provision an Obnam serverLars Wirzenius8-2/+102
2021-01-03Merge branch 'persisten' into 'main'Lars Wirzenius6-5/+95
feat: load chunk metadata into index at startup See merge request larswirzenius/obnam!56
2021-01-03feat: load chunk metadata into index at startupLars Wirzenius6-5/+95
This needs to be replace with a database or something, but it'll do for now.
2021-01-01Merge branch 'sqlookup2' into 'main'Lars Wirzenius3-79/+121
SQL lookup See merge request larswirzenius/obnam!55
2021-01-01feat: use SQL to look up information for a file, by filenameLars Wirzenius1-14/+24
This speeds things up a lot compared to iterating over all files.
2021-01-01feat! use signed 64 bit integers as file numbers, file countsLars Wirzenius3-24/+22
2021-01-01refactor: move SQL use into sub-moduleLars Wirzenius1-58/+92
This keeps all the SQL related functions closer together, making it easier to make changes to them.
2020-12-31Merge branch 'inc' into 'main'Lars Wirzenius6-36/+150
feat: incremental backup Closes #8 See merge request larswirzenius/obnam!53
2020-12-31feat: incremental backupLars Wirzenius6-36/+150
This uses the previous, latest generation as a guideline to see what is new or changed.
2020-12-31Merge branch 'daemon' into 'main'Lars Wirzenius10-118/+510
chore: update vendored subplot librarires: runcmd, daemon See merge request larswirzenius/obnam!52
2020-12-31chore: update vendored subplot librarires: runcmd, daemonLars Wirzenius10-118/+510
2020-12-31Merge branch 'local' into 'main'Lars Wirzenius4-82/+98
LocalGeneration See merge request larswirzenius/obnam!51
2020-12-31refactor: add LocalGeneration type for read-only operationsLars Wirzenius3-80/+90
This splits the use of NascentGeneration to more cohesive "new generation being built" versus "existing generation being restored".
2020-12-30debugLars Wirzenius2-2/+8
2020-12-30Merge branch 'fix' into 'main'Lars Wirzenius1-1/+1
Fix See merge request larswirzenius/obnam!50