Skip to content

autorestic - High backup level CLI utility for restic.

Documentation

The commands will work with the configuration saved to ~/.autorestic.yaml you can also specify a different config file with the -c flag.

The --ci flag is used for the exec command to prevent colors from being printed.

Init backend

autorestic check

Backup

# all
autorestic backup --all

# specific locations
autorestic backup --locations "<location1>,<location2>"

Show stats for a backend

autorestic --ci exec -vb <backend> stats

Show snapshots for a backend

autorestic --ci exec -vb <backend> snapshots

Check a backend for errors

autorestic --ci exec -vb <backend> check

Mount repository on backend

mkdir -p /mnt/restic
autorestic --ci exec -vb <backend> mount -- /mnt/restic