Skip to content

A simple bash script wrapper for the rsync command

License

Notifications You must be signed in to change notification settings

danie1k/rsync-backup

Repository files navigation

Lint Test MIT License

rsync-backup

A simple bash script wrapper for the rsync command

Requirements

Usage

$ ./rsync_offsite_backup.sh [OPTIONS]

Options

Argument Description
-c string Path to config file for this job
-d Dry run
-l Show list of the currently running jobs and exit
-n string Custom name of the job
-h Shows help

Use case scenarios

Starting new rsync job

$ ./rsync_offsite_backup.sh -c path/to/config.yml [-d] [-n]

Getting list of currently active jobs

$ ./rsync_offsite_backup.sh -l

Attaching to the screen of the active job

$ ./rsync_offsite_backup.sh -r

License

MIT