Commit graph

13 commits

Author SHA1 Message Date
Tom Wiesing
ef1243ea39
Rename packages 2022-09-14 14:17:08 +02:00
Tom Wiesing
a4f91ae7cf
{backup,snapshort}: Improve behaviour
This commit improves the behaviour of 'backup' and 'snapshot' by
treating symbolic links properly, as well as writes proper reports.
2022-09-13 11:44:32 +02:00
Tom Wiesing
a360324f62
Refactor Package structure
This commit cleans up the package structure, to make two new top-level
packages `internal` (for internal-use packages) and `pkg` (for general
shared utility code).
2022-09-12 15:42:21 +02:00
Tom Wiesing
17011a277f
backup.go: Fix typo 2022-09-12 14:42:17 +02:00
Tom Wiesing
4b357476a3
Add 'dis' component
This commit adds a new 'dis' component to the distillery that serves a
list of all known instances for the moment.
2022-09-09 17:10:24 +02:00
Tom Wiesing
35bb95c5ca
Show a warning when using wrong executable
This commit updates the 'wdcli' command to show a warning when using the
wrong executable.
2022-09-09 13:35:02 +02:00
Tom Wiesing
4bffc9e92a
backup: Prune old backups
This commit updates the backup command to prune old backups.
2022-09-08 14:39:05 +02:00
Tom Wiesing
fc3b9170a6
wdcli: Implement backup & snapshot
This commit implements command backup and snapshot.
2022-09-08 14:39:05 +02:00
Tom Wiesing
d818cb93a5
Rename backups => snapshot 2022-09-08 14:39:05 +02:00
Tom Wiesing
bb73a73f57
backup: Move taking snapshot to separate function
This commit moves taking a snapshot of a running instance to a separate
function.
2022-09-08 14:39:05 +02:00
Tom Wiesing
3c64689068
cmd/backup: Fix snapshot not being removed 2022-09-08 14:39:05 +02:00
Tom Wiesing
09431c4869
env: Move each component into a separate struct
This commit cleans up the distillery code by making each component a
distinct struct. Each of these components is also returned by by a new
Component() function that replaces the Stacks() function.
2022-09-08 14:39:04 +02:00
Tom Wiesing
2a14d93d3c
Implement initial 'wdcli backup_instance' command
This commit performs an initial implementation of the 'backup_instance'
command.
2022-09-08 14:39:04 +02:00