Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
1 result

simple_backup.sh

  • Clone with SSH
  • Clone with HTTPS
  • Simple backup

    This is just a very simple script that save several directorys to a destination via rsync, then prompt for shutdown.

    This script is meant to be run by small buisness at closing time.

    Install

    1. Install dependencies : apt-get install zenity rsync
    2. Copy simple_backup.env.sample to simple_backup.env and edit it to your needs
    3. Add a crontab entry like 0 19 * * 1-5 /path/to/simple_backup.sh