/rsync-backup

A simple bash script wrapper for the rsync command

Primary LanguageShellMIT LicenseMIT

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