Searched refs:backupInfo (Results 1 - 25 of 45) sorted by relevance

12

/forgerock/opendj2/src/server/org/opends/server/backends/jeb/
H A DBackupManager.java602 BackupInfo backupInfo = new BackupInfo(backupDir, backupID,
609 backupDir.addBackup(backupInfo);
651 BackupInfo backupInfo = getBackupInfo(backupDir, backupID);
667 includeFiles = getUnchanged(backupDir, backupInfo);
676 backupInfo.getBackupID(), stackTraceToSingleLineString(e));
682 List<BackupInfo> dependents = getDependents(backupDir, backupInfo);
705 restoreArchive(restoreDir, restoreConfig, backupInfo, null);
714 backupInfo.getBackupID(), stackTraceToSingleLineString(e));
792 BackupInfo backupInfo = getBackupInfo(backupDir, backupID);
793 File archiveFile = getArchiveFile(backupDir, backupInfo);
798 getArchiveFile(BackupDirectory backupDir, BackupInfo backupInfo) argument
823 restoreArchive(File restoreDir, RestoreConfig restoreConfig, BackupInfo backupInfo, Set<String> includeFiles) argument
1207 getUnchanged(BackupDirectory backupDir, BackupInfo backupInfo) argument
1282 getDependents(BackupDirectory backupDir, BackupInfo backupInfo) argument
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/backends/jeb/
H A DBackupManager.java602 BackupInfo backupInfo = new BackupInfo(backupDir, backupID,
609 backupDir.addBackup(backupInfo);
651 BackupInfo backupInfo = getBackupInfo(backupDir, backupID);
667 includeFiles = getUnchanged(backupDir, backupInfo);
676 backupInfo.getBackupID(), stackTraceToSingleLineString(e));
682 List<BackupInfo> dependents = getDependents(backupDir, backupInfo);
705 restoreArchive(restoreDir, restoreConfig, backupInfo, null);
714 backupInfo.getBackupID(), stackTraceToSingleLineString(e));
792 BackupInfo backupInfo = getBackupInfo(backupDir, backupID);
793 File archiveFile = getArchiveFile(backupDir, backupInfo);
798 getArchiveFile(BackupDirectory backupDir, BackupInfo backupInfo) argument
823 restoreArchive(File restoreDir, RestoreConfig restoreConfig, BackupInfo backupInfo, Set<String> includeFiles) argument
1207 getUnchanged(BackupDirectory backupDir, BackupInfo backupInfo) argument
1282 getDependents(BackupDirectory backupDir, BackupInfo backupInfo) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/util/
H A DBackupManager.java171 static CryptoEngine forRestore(BackupInfo backupInfo) argument
173 boolean hasSignedHash = backupInfo.getSignedHash() != null;
174 boolean hasHashData = hasSignedHash || backupInfo.getUnsignedHash() != null;
179 return new MacCryptoEngine(backupInfo);
183 return new DigestCryptoEngine(backupInfo);
188 return new NoHashCryptoEngine(backupInfo.isEncrypted());
338 private MacCryptoEngine(BackupInfo backupInfo) throws DirectoryException argument
340 super(backupInfo.isEncrypted());
341 HashMap<String,String> backupProperties = backupInfo.getBackupProperties();
414 private DigestCryptoEngine(BackupInfo backupInfo) throw argument
634 private final BackupInfo backupInfo; field in class:BackupManager.ExistingBackupArchive
984 private final BackupInfo backupInfo; field in class:BackupManager.BackupArchiveReader
994 BackupArchiveReader(String identifier, BackupInfo backupInfo, String backupDirectoryPath) argument
1430 restoreArchive(Path restoreDir, Set<String> filesToRestore, RestoreConfig restoreConfig, Backupable backupable, BackupInfo backupInfo) argument
1444 retrieveArchiveFile(BackupInfo backupInfo, String backupDirectoryPath) argument
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/backends/jeb/
H A DBackupManager.java691 BackupInfo backupInfo = new BackupInfo(backupDir, backupID,
698 backupDir.addBackup(backupInfo);
740 BackupInfo backupInfo = getBackupInfo(backupDir, backupID);
762 includeFiles = getUnchanged(backupDir, backupInfo);
771 backupInfo.getBackupID(), stackTraceToSingleLineString(e));
777 List<BackupInfo> dependents = getDependents(backupDir, backupInfo);
800 restoreArchive(restoreDir, restoreConfig, backupInfo, null);
809 backupInfo.getBackupID(), stackTraceToSingleLineString(e));
852 BackupInfo backupInfo = getBackupInfo(backupDir, backupID);
853 HashMap<String,String> backupProperties = backupInfo
912 restoreArchive(File restoreDir, RestoreConfig restoreConfig, BackupInfo backupInfo, Set<String> includeFiles) argument
1297 getUnchanged(BackupDirectory backupDir, BackupInfo backupInfo) argument
1376 getDependents(BackupDirectory backupDir, BackupInfo backupInfo) argument
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/backends/jeb/
H A DBackupManager.java691 BackupInfo backupInfo = new BackupInfo(backupDir, backupID,
698 backupDir.addBackup(backupInfo);
740 BackupInfo backupInfo = getBackupInfo(backupDir, backupID);
762 includeFiles = getUnchanged(backupDir, backupInfo);
771 backupInfo.getBackupID(), stackTraceToSingleLineString(e));
777 List<BackupInfo> dependents = getDependents(backupDir, backupInfo);
800 restoreArchive(restoreDir, restoreConfig, backupInfo, null);
809 backupInfo.getBackupID(), stackTraceToSingleLineString(e));
852 BackupInfo backupInfo = getBackupInfo(backupDir, backupID);
853 HashMap<String,String> backupProperties = backupInfo
912 restoreArchive(File restoreDir, RestoreConfig restoreConfig, BackupInfo backupInfo, Set<String> includeFiles) argument
1297 getUnchanged(BackupDirectory backupDir, BackupInfo backupInfo) argument
1376 getDependents(BackupDirectory backupDir, BackupInfo backupInfo) argument
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/backends/jeb/
H A DBackupManager.java691 BackupInfo backupInfo = new BackupInfo(backupDir, backupID,
698 backupDir.addBackup(backupInfo);
740 BackupInfo backupInfo = getBackupInfo(backupDir, backupID);
762 includeFiles = getUnchanged(backupDir, backupInfo);
771 backupInfo.getBackupID(), stackTraceToSingleLineString(e));
777 List<BackupInfo> dependents = getDependents(backupDir, backupInfo);
800 restoreArchive(restoreDir, restoreConfig, backupInfo, null);
809 backupInfo.getBackupID(), stackTraceToSingleLineString(e));
852 BackupInfo backupInfo = getBackupInfo(backupDir, backupID);
853 HashMap<String,String> backupProperties = backupInfo
912 restoreArchive(File restoreDir, RestoreConfig restoreConfig, BackupInfo backupInfo, Set<String> includeFiles) argument
1297 getUnchanged(BackupDirectory backupDir, BackupInfo backupInfo) argument
1376 getDependents(BackupDirectory backupDir, BackupInfo backupInfo) argument
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/tools/
H A DRestoreDB.java515 for (BackupInfo backupInfo : backupDir.getBackups().values())
518 backupInfo.getBackupID());
523 dateFormat.format(backupInfo.getBackupDate()));
528 String.valueOf(backupInfo.isIncremental()));
533 String.valueOf(backupInfo.isCompressed()));
538 String.valueOf(backupInfo.isEncrypted()));
541 byte[] hash = backupInfo.getUnsignedHash();
547 byte[] signature = backupInfo.getSignedHash();
554 HashSet<String> dependencyIDs = backupInfo.getDependencies();
589 BackupInfo backupInfo
[all...]
/forgerock/opendj2/src/server/org/opends/server/tools/
H A DRestoreDB.java497 for (BackupInfo backupInfo : backupDir.getBackups().values())
500 backupInfo.getBackupID());
505 dateFormat.format(backupInfo.getBackupDate()));
510 String.valueOf(backupInfo.isIncremental()));
515 String.valueOf(backupInfo.isCompressed()));
520 String.valueOf(backupInfo.isEncrypted()));
523 byte[] hash = backupInfo.getUnsignedHash();
529 byte[] signature = backupInfo.getSignedHash();
536 HashSet<String> dependencyIDs = backupInfo.getDependencies();
571 BackupInfo backupInfo
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/tools/
H A DRestoreDB.java515 for (BackupInfo backupInfo : backupDir.getBackups().values())
518 backupInfo.getBackupID());
523 dateFormat.format(backupInfo.getBackupDate()));
528 String.valueOf(backupInfo.isIncremental()));
533 String.valueOf(backupInfo.isCompressed()));
538 String.valueOf(backupInfo.isEncrypted()));
541 byte[] hash = backupInfo.getUnsignedHash();
547 byte[] signature = backupInfo.getSignedHash();
554 HashSet<String> dependencyIDs = backupInfo.getDependencies();
589 BackupInfo backupInfo
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/tools/
H A DRestoreDB.java515 for (BackupInfo backupInfo : backupDir.getBackups().values())
518 backupInfo.getBackupID());
523 dateFormat.format(backupInfo.getBackupDate()));
528 String.valueOf(backupInfo.isIncremental()));
533 String.valueOf(backupInfo.isCompressed()));
538 String.valueOf(backupInfo.isEncrypted()));
541 byte[] hash = backupInfo.getUnsignedHash();
547 byte[] signature = backupInfo.getSignedHash();
554 HashSet<String> dependencyIDs = backupInfo.getDependencies();
589 BackupInfo backupInfo
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/tools/
H A DRestoreDB.java497 for (BackupInfo backupInfo : backupDir.getBackups().values())
500 backupInfo.getBackupID());
505 dateFormat.format(backupInfo.getBackupDate()));
510 String.valueOf(backupInfo.isIncremental()));
515 String.valueOf(backupInfo.isCompressed()));
520 String.valueOf(backupInfo.isEncrypted()));
523 byte[] hash = backupInfo.getUnsignedHash();
529 byte[] signature = backupInfo.getSignedHash();
536 HashSet<String> dependencyIDs = backupInfo.getDependencies();
571 BackupInfo backupInfo
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/tools/
H A DRestoreDB.java438 for (BackupInfo backupInfo : backupDir.getBackups().values())
441 backupInfo.getBackupID());
445 dateFormat.format(backupInfo.getBackupDate()));
448 message = INFO_RESTOREDB_LIST_INCREMENTAL.get(backupInfo.isIncremental());
451 message = INFO_RESTOREDB_LIST_COMPRESSED.get(backupInfo.isCompressed());
454 message = INFO_RESTOREDB_LIST_ENCRYPTED.get(backupInfo.isEncrypted());
457 byte[] hash = backupInfo.getUnsignedHash();
462 byte[] signature = backupInfo.getSignedHash();
468 HashSet<String> dependencyIDs = backupInfo.getDependencies();
501 BackupInfo backupInfo
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/types/
H A DBackupDirectory.java239 * @param backupInfo The backup info structure for the backup to
245 public void addBackup(BackupInfo backupInfo) argument
248 String backupID = backupInfo.getBackupID();
256 backups.put(backupID, backupInfo);
564 BackupInfo backupInfo = BackupInfo.decode(backupDirectory,
566 backupDirectory.addBackup(backupInfo);
/forgerock/opendj2/src/server/org/opends/server/types/
H A DBackupDirectory.java238 * @param backupInfo The backup info structure for the backup to
244 public void addBackup(BackupInfo backupInfo) argument
247 String backupID = backupInfo.getBackupID();
255 backups.put(backupID, backupInfo);
563 BackupInfo backupInfo = BackupInfo.decode(backupDirectory,
565 backupDirectory.addBackup(backupInfo);
/forgerock/opendj2.6.2/src/server/org/opends/server/types/
H A DBackupDirectory.java239 * @param backupInfo The backup info structure for the backup to
245 public void addBackup(BackupInfo backupInfo) argument
248 String backupID = backupInfo.getBackupID();
256 backups.put(backupID, backupInfo);
564 BackupInfo backupInfo = BackupInfo.decode(backupDirectory,
566 backupDirectory.addBackup(backupInfo);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/types/
H A DBackupDirectory.java239 * @param backupInfo The backup info structure for the backup to
245 public void addBackup(BackupInfo backupInfo) argument
248 String backupID = backupInfo.getBackupID();
256 backups.put(backupID, backupInfo);
564 BackupInfo backupInfo = BackupInfo.decode(backupDirectory,
566 backupDirectory.addBackup(backupInfo);
/forgerock/opendj2-hg/src/server/org/opends/server/types/
H A DBackupDirectory.java238 * @param backupInfo The backup info structure for the backup to
244 public void addBackup(BackupInfo backupInfo) argument
247 String backupID = backupInfo.getBackupID();
255 backups.put(backupID, backupInfo);
563 BackupInfo backupInfo = BackupInfo.decode(backupDirectory,
565 backupDirectory.addBackup(backupInfo);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/
H A DBackupBackend.java102 private final File backupInfo; field in class:BackupBackend.CachedBackupDirectory
104 /** The last modify time of the backupInfo file. */
118 backupInfo = new File(directoryPath + File.separator + BACKUP_DIRECTORY_DESCRIPTOR_FILE);
135 long currentModified = backupInfo.lastModified();
605 BackupInfo backupInfo = backupDirectory.getBackupInfo(backupID);
606 if (backupInfo == null) {
627 backupInfo.getBackupDirectory();
630 Date backupDate = backupInfo.getBackupDate();
637 putBoolean(userAttrs, ATTR_BACKUP_COMPRESSED, backupInfo.isCompressed());
638 putBoolean(userAttrs, ATTR_BACKUP_ENCRYPTED, backupInfo
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/types/
H A DBackupDirectory.java200 * @param backupInfo
205 public void addBackup(BackupInfo backupInfo) throws ConfigException argument
207 String backupID = backupInfo.getBackupID();
212 backups.put(backupID, backupInfo);
/forgerock/opendj2/src/server/org/opends/server/backends/
H A DBackupBackend.java614 BackupInfo backupInfo = backupDirectory.getBackupInfo(backupID);
615 if (backupInfo == null) {
642 backupInfo.getBackupDirectory();
647 Date backupDate = backupInfo.getBackupDate();
659 .createBooleanValue(backupInfo.isCompressed())));
665 .createBooleanValue(backupInfo.isEncrypted())));
671 .createBooleanValue(backupInfo.isIncremental())));
674 HashSet<String> dependencies = backupInfo.getDependencies();
686 byte[] signedHash = backupInfo.getSignedHash();
696 byte[] unsignedHash = backupInfo
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/backends/
H A DBackupBackend.java658 BackupInfo backupInfo = backupDirectory.getBackupInfo(backupID);
659 if (backupInfo == null) {
686 backupInfo.getBackupDirectory();
691 Date backupDate = backupInfo.getBackupDate();
703 .createBooleanValue(backupInfo.isCompressed())));
709 .createBooleanValue(backupInfo.isEncrypted())));
715 .createBooleanValue(backupInfo.isIncremental())));
718 HashSet<String> dependencies = backupInfo.getDependencies();
730 byte[] signedHash = backupInfo.getSignedHash();
740 byte[] unsignedHash = backupInfo
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/backends/
H A DBackupBackend.java658 BackupInfo backupInfo = backupDirectory.getBackupInfo(backupID);
659 if (backupInfo == null) {
686 backupInfo.getBackupDirectory();
691 Date backupDate = backupInfo.getBackupDate();
703 .createBooleanValue(backupInfo.isCompressed())));
709 .createBooleanValue(backupInfo.isEncrypted())));
715 .createBooleanValue(backupInfo.isIncremental())));
718 HashSet<String> dependencies = backupInfo.getDependencies();
730 byte[] signedHash = backupInfo.getSignedHash();
740 byte[] unsignedHash = backupInfo
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/backends/
H A DBackupBackend.java614 BackupInfo backupInfo = backupDirectory.getBackupInfo(backupID);
615 if (backupInfo == null) {
642 backupInfo.getBackupDirectory();
647 Date backupDate = backupInfo.getBackupDate();
659 .createBooleanValue(backupInfo.isCompressed())));
665 .createBooleanValue(backupInfo.isEncrypted())));
671 .createBooleanValue(backupInfo.isIncremental())));
674 HashSet<String> dependencies = backupInfo.getDependencies();
686 byte[] signedHash = backupInfo.getSignedHash();
696 byte[] unsignedHash = backupInfo
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/backends/
H A DBackupBackend.java658 BackupInfo backupInfo = backupDirectory.getBackupInfo(backupID);
659 if (backupInfo == null) {
686 backupInfo.getBackupDirectory();
691 Date backupDate = backupInfo.getBackupDate();
703 .createBooleanValue(backupInfo.isCompressed())));
709 .createBooleanValue(backupInfo.isEncrypted())));
715 .createBooleanValue(backupInfo.isIncremental())));
718 HashSet<String> dependencies = backupInfo.getDependencies();
730 byte[] signedHash = backupInfo.getSignedHash();
740 byte[] unsignedHash = backupInfo
[all...]
/forgerock/opendj2/src/server/org/opends/server/backends/task/
H A DTaskBackend.java1442 BackupInfo backupInfo = new BackupInfo(backupDirectory, backupID,
1449 backupDirectory.addBackup(backupInfo);
1474 BackupInfo backupInfo = backupDirectory.getBackupInfo(backupID);
1475 if (backupInfo == null)
1483 HashMap<String,String> backupProperties = backupInfo.getBackupProperties();
1545 BackupInfo backupInfo = backupDirectory.getBackupInfo(backupID);
1548 if (backupInfo == null)
1559 backupInfo.getBackupProperty(BACKUP_PROPERTY_ARCHIVE_FILENAME);
1593 byte[] unsignedHash = backupInfo.getUnsignedHash();
1598 backupInfo
[all...]

Completed in 1406 milliseconds

12