implement backup cli for borgbackup

This commit is contained in:
lassulus
2023-12-04 17:05:37 +01:00
parent 4ace326aeb
commit e772d29f44
10 changed files with 125 additions and 53 deletions

View File

@@ -0,0 +1,22 @@
import logging
from cli import Cli
from fixtures_flakes import FlakeForTest
log = logging.getLogger(__name__)
def test_backups(
test_flake: FlakeForTest,
) -> None:
cli = Cli()
cli.run(
[
"--flake",
str(test_flake.path),
"backups",
"list",
"testhostname",
]
)