LinuxCommandLibrary

resticprofile

Manage restic backup profiles and schedules

TLDR

Run backup

$ resticprofile backup
copy
Run specific profile
$ resticprofile -n [profile] backup
copy
Show configuration
$ resticprofile show
copy
Initialize repository
$ resticprofile -n [profile] init
copy
Schedule backups
$ resticprofile schedule
copy
Run forget and prune
$ resticprofile forget
copy
List snapshots
$ resticprofile snapshots
copy
Generate config template
$ resticprofile generate
copy

SYNOPSIS

resticprofile [-n profile] [options] command [args]

DESCRIPTION

resticprofile is a configuration wrapper for the restic backup tool that organizes backup settings into named profiles. Each profile defines a repository location, backup paths, exclusion patterns, retention policies, and scheduling rules, allowing complex backup strategies to be managed through a single configuration file rather than lengthy command-line arguments.
The tool integrates with system schedulers to automate backup operations. On Linux it creates systemd timers or cron jobs, and on macOS it uses launchd. Retention policies can differ between profiles, so frequently changing data can have short retention while archives keep longer histories. Pre- and post-operation hooks enable notifications, database dumps before backup, and cleanup tasks after completion.
All standard restic commands (backup, forget, prune, restore, snapshots) can be run through resticprofile with profile-specific settings automatically applied. The generate command creates starter configuration templates.

PARAMETERS

-n, --name PROFILE

Profile to use.
-c, --config FILE
Configuration file.
-v, --verbose
Verbose output.
-q, --quiet
Quiet mode.
--dry-run
Simulate only.

CONFIGURATION

profiles.conf / profiles.toml / profiles.yaml

Default configuration file (searched in current directory) defining backup profiles, repositories, schedules, and retention policies. Format auto-detected by extension.

COMMANDS

backup

Run backup.
forget
Apply retention.
prune
Remove unused data.
snapshots
List snapshots.
restore
Restore files.
schedule
Manage schedules.
init
Initialize repository.

CAVEATS

Requires restic installed. Config file format specific to resticprofile. Scheduler varies by OS.

HISTORY

resticprofile was created as a configuration wrapper for restic backup. It simplifies managing multiple backup profiles and scheduling.

SEE ALSO

restic(1), borgbackup(1), cron(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community