Commit Graph

79 Commits (1acfc9c4225231bf326f443d7c5d3744c495e0c7)

Author SHA1 Message Date
Jef Roosens 1acfc9c422
refactor: have fun with rust's functional stuff
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-07-08 13:39:51 +02:00
Jef Roosens fc8e8d37d3
refactor: remove some code duplication
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-07-08 10:32:56 +02:00
Jef Roosens 5567323473
feat: initially working export command
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-07-07 23:12:07 +02:00
Jef Roosens 80b814bcff
feat: further use State abstraction 2023-07-07 18:06:15 +02:00
Jef Roosens 4ec336eb86
feat: abstract State 2023-07-07 17:05:24 +02:00
Jef Roosens 6e216aa88f
feat: define delta difference & strict difference 2023-07-06 15:46:36 +02:00
Jef Roosens 75e9d7a9d2
chore: bumb version to 0.3.0
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/tag/lint Pipeline was successful Details
ci/woodpecker/tag/clippy Pipeline was successful Details
ci/woodpecker/push/release Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/tag/build Pipeline was successful Details
ci/woodpecker/tag/release Pipeline was successful Details
2023-07-04 15:55:52 +02:00
Jef Roosens e6fa8a0eeb
docs: add a few docstrings 2023-07-04 15:49:16 +02:00
Jef Roosens 55c5f24937
feat: specify output dirs for restore instead of using config & world
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-07-04 15:36:12 +02:00
Jef Roosens 36c441b8c2
feat: respect backup list filter option 2023-07-04 14:15:00 +02:00
Jef Roosens f71db90922
feat: store end time as metadata
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-07-03 12:59:50 +02:00
Jef Roosens 2c256cf904
refactor: quick maths 2023-07-03 12:40:40 +02:00
Jef Roosens bfd278abbe
feat: show backup sizes in list command
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-07-03 12:11:41 +02:00
Jef Roosens c5193f0f3c
feat: store backup sizes in metadata file 2023-07-03 11:54:11 +02:00
Jef Roosens a4a03ca4c5
feat: improve list view
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-24 13:51:37 +02:00
Jef Roosens 5159bfdddd
feat: basic list command 2023-06-24 13:35:59 +02:00
Jef Roosens 0eda768c03
chore: update readme
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-24 12:16:53 +02:00
Jef Roosens a4e2a1276f
feat: restore backup chains using cli commands
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-23 22:47:38 +02:00
Jef Roosens e373fc85f1
feat: create backups from cli for specific layer 2023-06-23 18:02:38 +02:00
Jef Roosens 1cfe13674d
refactor: structure code to allow expanding cli functionality
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-23 15:51:17 +02:00
Jef Roosens d5cea49c8b
feat: further generalize backup code 2023-06-23 15:00:39 +02:00
Jef Roosens 03e21fda87
feat: show message describing what layer is backing up
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-23 13:01:19 +02:00
Jef Roosens 29636ffcdb
feat: implement backup layers using meta manager 2023-06-23 12:30:10 +02:00
Jef Roosens a236c36a4f
feat: take backup layers as arguments 2023-06-23 10:53:17 +02:00
Jef Roosens 0a459ee30b
refactor: let backup manager calculate next backup time
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-22 21:15:40 +02:00
Jef Roosens 4e8d0a8d25
refactor: we go rusty 2023-06-22 20:23:13 +02:00
Jef Roosens 188fb30343
fix: better serde bounds
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-22 20:10:37 +02:00
Jef Roosens 53dc3783ca
feat: store server info in metadata file; change cli flags
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-20 19:31:50 +02:00
Jef Roosens ef631fab1d
refactor: separate backup logic into own module
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-19 14:04:38 +02:00
Jef Roosens 74a0b91fd1
refactor: remove open function
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-18 23:33:56 +02:00
Jef Roosens b48c531d80
feat: configurable parameters for incremental backups
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-18 22:48:11 +02:00
Jef Roosens b51d951688
feat: re-implement remove old backups
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-18 21:56:43 +02:00
Jef Roosens bb7b57899b
refactor: store backups in nested vecs instead; introduce concept of
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
chains
2023-06-18 21:15:05 +02:00
Jef Roosens f7235fb342
refactor: move iterating over files to Path extension trait
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-17 12:08:46 +02:00
Jef Roosens 5275356353
feat: added backup cli command
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-16 17:23:36 +02:00
Jef Roosens 27d7e681c3
feat: temporarily disable "remove old backups"
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-15 22:54:17 +02:00
Jef Roosens 8add96b39b
feat: persistently store backup state
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
2023-06-15 20:38:52 +02:00
Jef Roosens d204c68400
fix: actually working incremental backup
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline failed Details
2023-06-15 09:56:40 +02:00
Jef Roosens a9e7b215d1
feat: move running server to subcommand 2023-06-14 22:17:53 +02:00
Jef Roosens fcc111b4ef
feat: possible incremental backup implementation using new abstraction 2023-06-14 21:47:59 +02:00
Jef Roosens b7a678e32f
feat: lots of backup stuff 2023-06-13 17:43:47 +02:00
Jef Roosens 703a25e8be
refactor: use utc time 2023-06-13 15:12:30 +02:00
Jef Roosens 29d6713486
feat: implement own listing of files 2023-06-13 15:12:30 +02:00
Jef Roosens 4958257f6e
refactor: move backup logic to separate module 2023-06-13 15:12:30 +02:00
Jef Roosens 90aa929b73
feat: show backup time in message 2023-06-13 15:12:26 +02:00
Jef Roosens 9ce8199d5f
fix: use correct env var for backup dir
ci/woodpecker/push/release Pipeline was successful Details
ci/woodpecker/tag/clippy Pipeline was successful Details
ci/woodpecker/tag/lint Pipeline was successful Details
ci/woodpecker/tag/build Pipeline was successful Details
ci/woodpecker/tag/release Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
2023-06-13 13:44:08 +02:00
Jef Roosens 375a68fbd6
chore: bump versions
ci/woodpecker/push/build unknown status Details
ci/woodpecker/push/clippy unknown status Details
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/release Pipeline was successful Details
ci/woodpecker/tag/clippy Pipeline was successful Details
ci/woodpecker/tag/lint Pipeline was successful Details
ci/woodpecker/tag/build Pipeline was successful Details
ci/woodpecker/tag/release Pipeline was successful Details
2023-06-13 13:02:27 +02:00
Jef Roosens ce3dcdd4b1
chore: please clippy
ci/woodpecker/push/build unknown status Details
ci/woodpecker/push/clippy unknown status Details
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/release Pipeline was successful Details
2023-06-13 13:01:47 +02:00
Jef Roosens 5ae23c931a
feat: change jvm flags order 2023-06-13 13:00:42 +02:00
Jef Roosens b08ba3853f
feat: add --dry flag 2023-06-13 12:53:50 +02:00