private static long getBackupTime(final Folder backupDir) {
        return backupDir == null ? NO_ACCESSIBLE_FILE : Math.max(getDatabaseBackupTime(backupDir), getSettingsBackupTime(backupDir));
    }
Private methods containing the real backup process
main/src/main/java/cgeo/geocaching/utils/BackupUtils.java