Backup Component¶
The Backup Component is responsible for creating backups of user profile data into a single file that can be easily restored from.
- High-level architecture
- Backup Service Reference
BackupService
BackupService.BackupService
BackupService._state
BackupService.backupFileName
BackupService.backupFolderName
BackupService.backupSchedulerInitted
BackupService.backupWriteAbortController
BackupService.encState
BackupService.idleThresholdSeconds
BackupService.instance
BackupService.loadEncryptionStatePromise
BackupService.manifestSchemaPromise
BackupService.observer
BackupService.placesObserver
BackupService.postRecoveryComplete
BackupService.postRecoveryPromise
BackupService.postRecoveryResolver
BackupService.recoveryInProgress
BackupService.regenerationDebouncer
BackupService.resources
BackupService.state
BackupService.takenMeasurements
BackupService.ARCHIVE_ENCRYPTION_STATE_FILE
BackupService.ARCHIVE_TEMPLATE
BackupService.BACKUP_DIR_NAME
BackupService.BACKUP_FILE_NAME
BackupService.COMPRESSION_LEVEL
BackupService.DEFAULT_PARENT_DIR_PATH
BackupService.MANIFEST_FILE_NAME
BackupService.MANIFEST_SCHEMA
BackupService.POST_RECOVERY_FILE_NAME
BackupService.PROFILE_FOLDER_NAME
BackupService.RECOVERY_OSKEYSTORE_LABEL
BackupService.RECOVERY_ZIP_FILE_NAME
BackupService.REGENERATION_DEBOUNCE_RATE_MS
BackupService.SCHEMAS
BackupService.SNAPSHOTS_FOLDER_NAME
BackupService.WRITE_BACKUP_LOCK_NAME
BackupService.checkForPostRecovery()
BackupService.createArchive()
BackupService.createBackup()
BackupService.createBackupOnIdleDispatch()
BackupService.createBinaryReadableStream()
BackupService.decompressRecoveryFile()
BackupService.deleteLastBackup()
BackupService.disableEncryption()
BackupService.editBackupLocation()
BackupService.enableEncryption()
BackupService.extractCompressedSnapshotFromArchive()
BackupService.finalizeSingleFileArchive()
BackupService.generateArchiveDateSuffix()
BackupService.getBackupFileInfo()
BackupService.getIconFromFilePath()
BackupService.initBackupScheduler()
BackupService.loadEncryptionState()
BackupService.onIdle()
BackupService.onObserve()
BackupService.onPlacesEvents()
BackupService.onUninstalled()
BackupService.onUpdateLocationDirPath()
BackupService.onUpdateScheduledBackups()
BackupService.recoverFromBackupArchive()
BackupService.recoverFromSnapshotFolder()
BackupService.renderTemplate()
BackupService.resolveArchiveDestFolderPath()
BackupService.resolveDownloadLink()
BackupService.sampleArchive()
BackupService.setParentDirPath()
BackupService.setScheduledBackups()
BackupService.stateUpdate()
BackupService.takeMeasurements()
BackupService.uninitBackupScheduler()
BackupService.get
BackupService.getSchemaForVersion
BackupService.init
- Backup Resources Reference
BackupResource
BackupResource.BackupResource
BackupResource.key
BackupResource.priority
BackupResource.requiresEncryption
BackupResource.backup()
BackupResource.measure()
BackupResource.postRecovery()
BackupResource.recover()
BackupResource.canBackupHistory
BackupResource.copyFiles
BackupResource.copySqliteDatabases
BackupResource.getDirectorySize
BackupResource.getFileSize
AddonsBackupResource
CookiesBackupResource
CredentialsAndSecurityBackupResource
FormHistoryBackupResource
MiscDataBackupResource
PlacesBackupResource
PreferencesBackupResource
SessionStoreBackupResource
- Backup UI Actors Reference
- Backup Archive Encryption
ArchiveEncryptionState
ArchiveEncryptionState.ArchiveEncryptionState
ArchiveEncryptionState.backupAuthKey
ArchiveEncryptionState.isInternalConstructing
ArchiveEncryptionState.nonce
ArchiveEncryptionState.publicKey
ArchiveEncryptionState.salt
ArchiveEncryptionState.state
ArchiveEncryptionState.wrappedSecrets
ArchiveEncryptionState.GENERATED_RECOVERY_CODE_LENGTH
ArchiveEncryptionState.VERSION
ArchiveEncryptionState.serialize()
ArchiveEncryptionState.initialize
- Schemas