lib/wyrm/restore.rb
# assume the table name is the base name of table_file pathname
assume the table name is the base name of table_file pathname
assume the table name is the base name of table_file pathname
def restore_table( table_file )
      logger.info "restoring from #{table_file}"
      pump.table_name = table_file.basename.sub_ext('').sub_ext('').to_s.to_sym
      open_bz2 table_file do |io|
        pump.io = io
        pump.restore filename: table_file
      end
    end
def restore_table ( table_file ) logger . info "restoring from #{table_file}" pump . table_name = table_file . basename . sub_ext ( '' ) . sub_ext ( '' ) . to_s . to_sym open_bz2 table_file do | io | pump . io = io pump . restore filename : table_file end end
assume the table name is the base name of table_file pathname
assume the table name is the base name of table_file pathname
table_file
<not_specific>