Skip to content

Commit

Permalink
docs: update internal_open_discussion.md
Browse files Browse the repository at this point in the history
  • Loading branch information
florianrusch committed Oct 26, 2023
1 parent 764e4f4 commit bd72be4
Showing 1 changed file with 108 additions and 0 deletions.
108 changes: 108 additions & 0 deletions internal_open_discussion.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,112 @@
# Agile notes

## Planned features

- Step: 1
- Init cobra & viper setup
- Dynamic config loading with viper (`type`)
- Step: 2
- Init slog setup
- Implement Filesystem to Filesystem backup
- Think about the interfaces
- Implement Vault to Filesystem backup

For later:

- Define multiple destinations
- Azure Blob
- Support additional auth mechanism
- Creating full-backups from
- SSH/Rsync
- MongoDB
- PostgreSQL
- Disk
- Delete backups that are older than X
- Create incremental backups from
- MongoDB
- PostgreSQL
- Define multiple sources
- K8s Volume replication
- Encryption
- Compression
- Implement command `check-config`
- Implement command `generate-config`

## Config ideas

```yaml
source:
type: "hashicorpvault"
address: http://localhost:8200
token: xxx


destination:
type: azureBlob
containerName: backup
accountName: xxx
accountKey: xxx
```
```shell
lb backup
```

---
```yaml
sources:
production-env:
type: hashicorpvault
address: http://localhost:8200
token: xxx

destination:
my-backup:
type: azureBlob
containerName: xxx
accountName: xxx
accountKey: xxxx
```
```shell
lb backup --source=production-env --destination=my-backup
```

---

```yaml
source:
type: "hashicorpvault"
name: "production-env"
address: http://localhost:8200
token: xxx

sources:
- type: "hashicorpvault"
name: "production-env"
address: http://localhost:8200
token: xxx


destination:
type: azureBlob
name: backup
containerName: xxx
accountName: xxx
accountKey: xxx

destinations:
- type: azureBlob
name: backup
containerName: xxx
accountName: xxx
accountKey: xxx
```
```shell
lb backup
lb backup --source=production-env --destination=backup
```

## Excalidraw

Expand Down

0 comments on commit bd72be4

Please sign in to comment.