question: private static void restoreFromBackup ( final File backupDir ) throws SQLException { final String url = "jdbc:derby:ta_users;restoreFrom=" + backupDir . getAbsolutePath ( ) ; final Properties props = getDbProps ( ) ; final Connection con = DriverManager . getConnection ( url , props ) ; con . close ( ) ; }
target:  This must be the first db call made. Run Database as a main method to run the backup.