Project

General

Profile

Actions

Feature #9902

closed

Tool for RADOS import/export pool to file

Added by John Spray over 9 years ago. Updated almost 9 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

To assist with CephFS disaster recovery, provide the ability to dump an entire pool (the cephfs metadata pool) to a file, and subsequently restore that to an empty pool. This should include all attrs and omaps as well as object data.

This should come with a test that stops a running filesystem, dumps the pool, wipes the pool, restores it, and checks that filesystem comes up again cleanly as if nothing happened.

I expect some issuing of requests in parallel will be needed here to get a sensible level of throughput.

Clearly this is only practical for pools containing somewhat small amounts of metadata: should probably try to make it clear in any docs that this is not meant to be a general purpose way of backing things up!

Possible extension: optionally stream backup to another RADOS pool (or another ceph cluster) instead of a file.


Related issues 2 (0 open2 closed)

Related to Ceph - Feature #9403: Make rados import/export fully functional and re-enableDuplicateDavid Zafman09/09/2014

Actions
Is duplicate of Ceph - Feature #9964: rados: new export [range] to pipe/fileResolvedJohn Spray

Actions
Actions

Also available in: Atom PDF