Currently ExportSnapshot utility doesn't support incremental export.
Here is the help message for overwrite:

    static final Option OVERWRITE = new Option(null, "overwrite", false,

        "Rewrite the snapshot manifest if already exists.");

Managing dependencies across snapshots may not be trivial (considering
region split / merge in between snapshots).

If you are interested, you can watch HBASE-14123 where incremental backup /
restore has solved this problem.

Cheers

On Wed, Jan 18, 2017 at 9:04 AM, Neelesh <[email protected]> wrote:

> Hi,
>   Does the ExportSnapshot utility incrementally export HFiles ? From the
> code, it looks like I can specify an overwrite flag to delete and recreate
> the output dir, but there is no control on individual HFiles.  This is on
> HBase 1.1.2.
>
> I was wondering how difficult would it be to extend ExportSnapshot to
> optionally skip copying HFiles if it already exists, given that HFiles in
> the context of snapshots are immutable.
>
>
> Thanks!
> -neelesh
>

Reply via email to