public interface BackupFileStore
Modifier and Type | Method and Description |
---|---|
void |
cleanUpAutomatedBackupFiles()
If there are more than the maximum number of automated backup files, delete the oldest ones
|
Date |
extractTimestamp(File file)
Extract the timestamp from the name of the given backup file.
|
File |
getBackupDirectory()
Returns the directory where backup files are stored
|
List<File> |
getBackupFiles()
Return a list of automated backup files, sorted by ascending date.
|
File getBackupDirectory()
List<File> getBackupFiles()
File
Date extractTimestamp(File file)
file
- an automated backup fileDate
, or null
if the file is not a valid backup filevoid cleanUpAutomatedBackupFiles()
Copyright © 2020 Atlassian. All rights reserved.