Package com.sun.enterprise.backup
Class BackupManager
- java.lang.Object
-
- com.sun.enterprise.backup.BackupManager
-
public class BackupManager extends Object
- Author:
- Byron Nevins
-
-
Constructor Summary
Constructors Constructor Description BackupManager(BackupRequest req)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
backup()
protected File
getBackupDirectory(BackupRequest request)
If both the backupDir and backupConfig are not set then this method behaves as it did in v2.
-
-
-
Constructor Detail
-
BackupManager
public BackupManager(BackupRequest req) throws BackupException
- Throws:
BackupException
-
-
Method Detail
-
backup
public final String backup() throws BackupException
- Throws:
BackupException
-
getBackupDirectory
protected File getBackupDirectory(BackupRequest request)
If both the backupDir and backupConfig are not set then this method behaves as it did in v2. It returns a path to the domainDir + BACKUP_DIR (backups). If a backupConfig has been associated with the request and the backupDir is not set then it returns a path to domainDir + backupConfig. If a backupConfig has been associated with the request and the backupDir is set then it returns a path to backupDir + domainName + backupConfig. If a backupConfig has not been associated with the request and the backupDir is set then it returns a path to backupDir + domainName.
-
-