Added a configuration to check whether the database will be backup after the application is closing