danie1k / rsync-backup

A simple bash script wrapper for the rsync command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A simple bash script wrapper for the rsync command

License:MIT License


Languages

Language:Shell 98.7%Language:Makefile 1.3%