Files
herolib/lib/installers/sysadmintools/restic
Mahmoud-Emad ecdc8f4a2a feat: Add heroscript serialization/deserialization functions
- Add heroscript_dumps and heroscript_loads functions
- Replace paramsparser with encoderhero import
- Add ulist_get and upload functions to docker installer
- Add ulist_get and upload functions to zola installer
2025-10-13 22:25:18 +03:00
..
...
2025-10-13 11:41:26 +04:00
...
2025-10-13 11:41:26 +04:00
...
2025-10-13 11:41:26 +04:00

restic

To get started



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

!!restic.configure
    homedir: '/home/user/restic'
    username: 'admin'
    password: 'secretpassword'
    title: 'Some Title'
    host: 'localhost'
    port: 8888