Star

Created With

link🐣 Examples

linkList all the snapshots for all the backends

1link$autorestic exec -av -- snapshots

linkUnlock a locked repository

This can come in handy if a backup process crashed or if it was accidentally cancelled. Then the repository would still be locked without an actual process using it. Only do this if you know what you are doing and are sure no other process is actually reading/writing to the repository of course.

1link$autorestic exec -b my-backend -- unlock

linkUse hooks to integrate with healthchecks

Thanks to @olofvndrhr for providing it ❤️

1linkextras:

2link healthchecks: &healthchecks

3link hooks:

4link backup:

5link before:

6link - 'curl -m 10 --retry 5 -X POST -H "Content-Type: text/plain" --data "Starting backup for location: ${AUTORESTIC_LOCATION}" https://<healthchecks-url>/ping/<uid>/start'

7link failure:

8link - 'curl -m 10 --retry 5 -X POST -H "Content-Type: text/plain" --data "Backup failed for location: ${AUTORESTIC_LOCATION}" https://<healthchecks-url>/ping/<uid>/fail'

9link success:

10link - 'curl -m 10 --retry 5 -X POST -H "Content-Type: text/plain" --data "Backup successful for location: ${AUTORESTIC_LOCATION}" https://<healthchecks-url>/ping/<uid>'

11link

12linklocations:

13link something:

14link <<: *healthchecks

15link from: /somewhere

16link to:

17link - somewhere-else

🐣 ExamplesList all the snapshots for all the backendsUnlock a locked repositoryUse hooks to integrate with healthchecks

Home Quick Start Installation Configuration Upgrade

Locationschevron_right

Overview Hooks

Optionschevron_right

Cron Docker Volumes

Backendchevron_right
CLIchevron_right
Migrationchevron_right

Examples Docker QA Community Contributors