hstore_restore.rb hstore_name
[backup_directory] [export_filename]
This will restore hstore_name from the export_filename you provide. If
export_filename is optional. By default the export filename will be
determined by finding the last exported filename. The backup_directory is
optional and is used to store the backup files the default is
./hstore_backup. See import() in hstore.rb for
more details.
Examples:
cd ../applets
ruby -r notes.rb ../hstore_restore.rb notes.hs
ruby -r reminders.rb ../hstore_restore.rb reminders.hs
ruby -r todos.rb ../hstore_restore.rb todos.hs
ruby -r timer.rb ../hstore_restore.rb timer.hs
# the -r is needed so backup_store knows what to do with the internal data stored in each HStore.