Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Actually save some data

  • Loading branch information...
commit 7a7fb9522dd94291e9e057f86bf6defc5fd9902e 1 parent ddea446
@stevendanna authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  plugins/backup_restore.rb
View
2  plugins/backup_restore.rb
@@ -81,6 +81,8 @@ def restore_standard(component, klass)
files = Dir.glob(File.join(config[:backup_dir], component, "*.json"))
files.each do |f|
ui.msg "Updating #{component} from #{f}"
+ updated = loader.load_from(component, f)
+ updated.save
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.