Star

Created With

linkHooks

If you want to perform some commands before and/or after a backup, you can use hooks.

They consist of a list of before/after commands that will be executed in the same directory as the target from.

.autorestic.yml
1linklocations:

2link my-location:

3link from: /data

4link to: my-backend

5link hooks:

6link before:

7link - echo "Hello"

8link - echo "Human"

9link after:

10link - echo "kthxbye"

Hooks

Home Quick Start Installation Configuration Upgrade

Locationschevron_right
Backendchevron_right
CLIchevron_right

Examples

QA

Contributors