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