longkey1 / rsync-backup

tiny backup tool using rsync.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rsync-backup

Usage

$ backup.sh [<options>]

Options

  • -s source directory
  • -d distination directory
  • -n number of backup stores [default: 30]
  • -l log file path [default: /var/log/rsync-backup.log]
  • -r rsync executable path [default: /usr/bin/rsync]
  • -e exclude path [example: /aaa /bbb]
  • -o rsync option [default: -avz --delete]
  • -x execute mode [default: dry run mode]

About

tiny backup tool using rsync.


Languages

Language:Shell 100.0%