Files
herolib/lib/installers/sysadmintools/restic/readme.md
2025-10-12 12:30:19 +03:00

41 lines
613 B
Markdown

# restic
To get started
```v
import incubaid.herolib.installers.something.restic as restic_installer
heroscript:="
!!restic.configure name:'test'
password: '1234'
port: 7701
!!restic.start name:'test' reset:1
"
restic_installer.play(heroscript=heroscript)!
//or we can call the default and do a start with reset
//mut installer:= restic_installer.get()!
//installer.start(reset:true)!
```
## example heroscript
```hero
!!restic.configure
homedir: '/home/user/restic'
username: 'admin'
password: 'secretpassword'
title: 'Some Title'
host: 'localhost'
port: 8888
```