How to take redmine database backup daily?
Added by Madan Mohan Reddy A almost 13 years ago
How to take redmine database backup daily?
Replies (6)
RE: How to take redmine database backup daily?
-
Added by Yuriy Vidineev almost 13 years ago
Just use any tool to backup redmine database (mysqldump fo MySQL for example)
RE: How to take redmine database backup daily?
-
Added by Madan Mohan Reddy A almost 13 years ago
Which tool is better?
RE: How to take redmine database backup daily?
-
Added by Yuriy Vidineev almost 13 years ago
What database you use?
RE: How to take redmine database backup daily?
-
Added by Ramon Risman almost 13 years ago
Script for daily backups:
- Database
/usr/bin/mysqldump -u <username> -p<password> <redmine_database> | gzip > /path/to/backup/db/redmine_`date +%y_%m_%d`.gz
- Attachments
rsync -a /path/to/redmine/files /path/to/backup/files
RE: How to take redmine database backup daily?
-
Added by jet brav almost 13 years ago
hope this works
RE: How to take redmine database backup daily?
-
Added by jet bravv over 12 years ago
thanks for the tips!