From 2c5e1328b8f3e447c5ed58886c1135ec69d43a88 Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Fri, 6 Oct 2017 16:14:50 +0200 Subject: [PATCH] More doc --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 128e05e..b7b6155 100644 --- a/Readme.md +++ b/Readme.md @@ -8,7 +8,7 @@ This script is meant to be run by small buisness at closing time. ## Install 0. Clone this repo `git clone https://gitlab.tetras-libre.fr/tetras-libre/simple_backup.sh`, if required, install git before `sudo apt-get install git` -1. Install dependencies : `apt-get install zenity rsync` +1. Install dependencies : `sudo apt-get install zenity rsync` 2. Copy `simple_backup.env.sample` to `simple_backup.env` and set directories and destination 3. Add fstab entry to mount destination for instance for a NFS, add the following line to `/etc/fstab` : `//<serverip>/<directory> /media/user/backup cifs user,username=<user>,password=<password> 0 0 `, adapt every field between `<>` to your needs. 3. Add a crontab entry with command `crontab -e` like `30 18 * * * /path/to/simple_backup.sh` -- GitLab