简体   繁体   中英

auto backup derby database in rails

I am using gem 'activerecord-jdbc-adapter' . In my database.yml i am giving

adapter: jdbcderby

I want to take the auto backup of database after each hour. I did not find any way to take the derby database dump.

Kindly help me in taking derby database dump in rails. Thanks

I think you are looking for this

dblook -d 'jdbc:derby://127.0.0.1:3000/db/development;' -t users -o dump.sql

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM