public String getSqlFilename ( ) { return isSqlFileNamePropertySet ( ) ? properties . getProperty ( SQL_FILE_NAME ) + ".sql" : new SimpleDateFormat ( "d_M_Y_H_mm_ss" ) . format ( new Date ( ) ) + "_" + database + "_database_dump.sql" ; }
This will get the final output sql file name .