Skip to content

brazhin/redmine_restore_issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

redmine_restore_issue

Restore deleted issue from redmine

Before restoring issue, restore dump from backup to temporary base and rename it in script.
Usage: restore.sh #List issue number
Example:

./restore.sh 32830 23 98 76

In addition, you need to restore attachment files. Their locations can be found with this:

RAILS_ENV=production bin/rails r "Attachment.where(container_id: ${issue_id}).sort.each do |_a| puts _a.diskfile; end" 

P.S. Thanks guys from https://www.redmine.org/issues/1380

About

Restore deleted issue from redmine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages