NextDom\Managers\BackupManager::getLastBackupFilePath
Returns path to last available backup archive
Signature
public function getLastBackupFilePath(
$backupDir,
[string
$order = "newest"] )
Parameters
$backupDir
—$order
— string- sort result by 'newest' or 'oldest' first
Returns
- string
- archive file path
Errors/Exceptions
-
CoreException
- when no archive is found