modify from https://github.com/KsenZ/redmine_backup
-
git clone git@github.com:mouson/redmine_backup.git
-
Copy conf.sh.sample to conf.sh
cp conf.sh.sample conf.sh
-
modify config file "conf.sh"
-
testing
cd redmine_backup
./redmine_backup.sh
./redmine_backup.sh d
- add cron job
5 3 * * * /home/backup/redmine_backup/redmine_backup.cron > /dev/null 2>&1