Guest User

Untitled

a guest
Jan 26th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. mysqldump --single-transaction --user=user_name --password=your_password redmine_database > backup.sql
  2.  
  3. tar czvf redmine_backup.tar.gz /path/too/redmine/installation
  4.  
  5. # Database
  6. /usr/bin/mysqldump -u <username> -p<password> <redmine_database> | gzip > /path/to/backup/db/redmine_`date +%y_%m_%d`.gz
  7.  
  8. # Attachments
  9. rsync -a /path/to/redmine/files /path/to/backup/files
Add Comment
Please, Sign In to add comment