Test
This commit is contained in:
@@ -32,6 +32,7 @@ public class DatabaseBackupRunner {
|
||||
System.out.println("no backup needed; last backup in " + BACKUP_DIR + " (" + newest.format(DateTimeFormatter.ISO_LOCAL_DATE) + ")");
|
||||
}
|
||||
}
|
||||
//delete this
|
||||
|
||||
private static LocalDate findNewestBackupDate(File folder) {
|
||||
File[] files = folder.listFiles((dir, name) -> name.startsWith("backup_") && name.endsWith(".db"));
|
||||
|
||||
Reference in New Issue
Block a user