File tree Expand file tree Collapse file tree
app/src/main/java/org/gnucash/android/export/xml Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -948,14 +948,15 @@ public static boolean createBackup(String bookUID){
948948 }
949949
950950 /**
951- * Returns the full path of a file to make database backup of the specified book
952- * Backups are done in XML format and are zipped (with ".zip " extension).
951+ * Returns the full path of a file to make database backup of the specified book.
952+ * Backups are done in XML format and are Gzipped (with ".gnca " extension).
953953 * @param bookUID GUID of the book
954954 * @return the file path for backups of the database.
955955 * @see #getBackupFolderPath(String)
956956 */
957957 private static String getBackupFilePath (String bookUID ){
958958 Book book = BooksDbAdapter .getInstance ().getRecord (bookUID );
959- return Exporter .getBackupFolderPath (book .getUID ()) + buildExportFilename (ExportFormat .XML , book .getDisplayName ()) + ".zip" ;
959+ return Exporter .getBackupFolderPath (book .getUID ())
960+ + buildExportFilename (ExportFormat .XML , book .getDisplayName ());
960961 }
961962}
You can’t perform that action at this time.
0 commit comments