Home
last modified time | relevance | path

Searched refs:backup (Results 1 – 11 of 11) sorted by relevance

/rocksdb-6.9/docs/_posts/
D2014-03-27-how-to-backup-rocksdb.markdown2 title: How to backup RocksDB?
7 - /blog/191/how-to-backup-rocksdb/
10 In RocksDB, we have implemented an easy way to backup your DB. Here is a simple example:
73backup with `CreateNewBackup()` and only the new data will be copied to backup directory (for more…
77backup. An alternative is `RestoreDBFromBackup()` which takes a backup ID and restores that partic…
84 …t to backup your DB to HDFS. There is an option in `BackupableDBOptions` to set `backup_env`, whic…
90 …data` to true, creating new `BackupableDB` will delete all the old backups in the backup directory.
92backup directory. Doing so will prevent log files from being copied to the backup directory (since…
115backup directory. Since table files are immutable and filenames unique, we don't copy a table file…
119 …lso need to copy log files to the backup directory. We call `GetSortedWalFiles()` and copy all liv…
[all …]
D2014-03-27-how-to-persist-in-memory-rocksdb-database.markdown21backup the current snapshot of the database (containing table and metadata files) with a frequency…
23 You should configure the backup process to avoid backing up log files, since they are already store…
25 …up entire DB and WAL directory. Since we didn't include log files in the backup, we need to make s…
48 * When you lose data, restore from backup with RestoreOptions::keep_log_file = true
D2017-01-06-rocksdb-5-0-1-released.markdown26 …ulate "LATEST_BACKUP" file in backup directory, which formerly contained the number of the latest
D2016-07-26-rocksdb-4-8-released.markdown15 …github.com/facebook/rocksdb/wiki/How-to-backup-RocksDB%3F](https://github.com/facebook/rocksdb/wik…
D2017-02-07-rocksdb-5-1-2-released.markdown11 …n and BackupEngineReadOnly::Open now always return error statuses matching those of the backup Env.
D2015-11-10-use-checkpoints-for-efficient-snapshots.markdown45 Checkpoints are used for online backup in ​MyRocks. which is MySQL using RocksDB as the storage eng…
D2015-07-15-rocksdb-2015-h2-roadmap.markdown78 4. Service quality and performance of backup engine.
/rocksdb-6.9/utilities/backupable/
Dbackupable_db.cc1060 if (backup != backups_.end()) { in DeleteBackupInternal()
1061 auto s = backup->second->Delete(); in DeleteBackupInternal()
1065 backups_.erase(backup); in DeleteBackupInternal()
1114 for (auto& backup : backups_) { in GetBackupInfo() local
1115 if (!backup.second->Empty()) { in GetBackupInfo()
1117 backup.first, backup.second->GetTimestamp(), backup.second->GetSize(), in GetBackupInfo()
1118 backup.second->GetNumberFiles(), backup.second->GetAppMetadata())); in GetBackupInfo()
1146 auto& backup = backup_itr->second; in RestoreDBFromBackup() local
1147 if (backup->Empty()) { in RestoreDBFromBackup()
1269 auto& backup = backup_itr->second; in VerifyBackup() local
[all …]
/rocksdb-6.9/tools/
Drun_leveldb.sh112 echo Restoring from backup
117 echo Database backup does not exist at ${db_dir}.bak
Drun_flash_bench.sh157 echo Restoring from backup
162 echo Database backup does not exist at ${db_dir}.bak
173 echo WAL backup does not exist at ${wal_dir}.bak
/rocksdb-6.9/
DHISTORY.md128 …nge ensures that backup deletion has proper accounting of shared files to ensure they are deleted …
170 …to get last live WAL filename and size. Meant to be used as a helper for backup/restore tooling in…
473 * Fix `BackupableDBOptions::max_valid_backups_to_open` to not delete backup files when refcount can…
496 * Fix WAL corruption caused by race condition between user write thread and backup/checkpoint threa…
533 * Fix buffer overrun in backup engine for DBs with huge number of files.
696 …n and BackupEngineReadOnly::Open now always return error statuses matching those of the backup Env.
719 …ulate "LATEST_BACKUP" file in backup directory, which formerly contained the number of the latest
775 …storations. For more details, see https://github.com/facebook/rocksdb/wiki/How-to-backup-RocksDB%3F
911 …r of operations that may be performed in parallel. Add support for parallelized backup and restore.
1133 * Added [BackupableDB](https://github.com/facebook/rocksdb/wiki/How-to-backup-RocksDB%3F)