Skip to content

lfbayer/derbydump

 
 

Repository files navigation

Notes on this fork

This fork of ari/derbydump basically just changes the output to be postgresql compatible syntax. It works against the specific database it was modified to work against, so there is no guarantee that it will work against your own postgres install.

derbydump

Derby SQL dump. This project will take a Derby database and export the data in it to a file. It is similar, but not feature parity, to the mysqldump executable.

Features

  • Export any Derby data to an SQL file
  • Resulting file is suitable to import to mysql and possibly other databases
  • Export from local Derby files or running Derby server
  • Optionally transform the table names (for example to correct case sensitive names in mysql)
  • Handles binary data and clob
  • Handles UTF data

How to use

  1. Install maven, git and java
  2. cd derbydump

  3. cp derbydump.properties.sample derbydump.properties

  4. Edit derbydump.properties for your needs
  5. ./gradlew jar

  6. java -jar build/lib/derbydump-1.0-SNAPSHOT.jar

Continuous integration testing

Build Status

License

Copyright 2013 ish group pty ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Derby SQL dump

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%