OSDN Git Service
(root)
/
redminele
/
redminele.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30cafe4
)
fixed restore command
author
Akihiro Ono
<a-ono@users.sourceforge.jp>
Mon, 27 Jun 2011 07:02:53 +0000
(16:02 +0900)
committer
Akihiro Ono
<a-ono@users.sourceforge.jp>
Mon, 27 Jun 2011 07:02:53 +0000
(16:02 +0900)
script/lib/backup_restore.rb
patch
|
blob
|
history
diff --git
a/script/lib/backup_restore.rb
b/script/lib/backup_restore.rb
index
bb9faa8
..
c051c7c
100644
(file)
--- a/
script/lib/backup_restore.rb
+++ b/
script/lib/backup_restore.rb
@@
-131,7
+131,7
@@
module BackupRestore
else
if File.file?(backup_db)
puts "Restore database"
- system_or_raise(%[sqlite3
"#{backup_db}" ".restore redmine/db/redmine.db
"])
+ system_or_raise(%[sqlite3
redmine/db/redmine.db ".restore '#{backup_db}'
"])
end
sync(files_dir, "redmine/files") if File.directory?(files_dir)