[
https://issues.apache.org/jira/browse/HBASE-28991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on HBASE-28991 started by Vinayak Hegde.
---------------------------------------------
> Introduce "pitr" Command for Point-in-Time Recovery/Restore
> -----------------------------------------------------------
>
> Key: HBASE-28991
> URL: https://issues.apache.org/jira/browse/HBASE-28991
> Project: HBase
> Issue Type: Task
> Components: backup&restore
> Affects Versions: 2.6.0, 3.0.0-alpha-4
> Reporter: Vinayak Hegde
> Assignee: Vinayak Hegde
> Priority: Major
>
> The PITR command restores table data to a specific point in time using a
> combination of full backups, incremental backups, and WALs. If no end time is
> specified, it defaults to the current time.
> {*}Command{*}:
> {code:java}
> $ hbase pitr [-t <table_name[,table_name]>]
> [-s <backup_set_name>]
> [-q <name>]
> [-c]
> [-m <target_tables>]
> [-o]
> [--to-datetime <end_time>] {code}
> {*}Options{*}:
> * -to-datetime <end_time>: _(Optional)_ Specifies the end time for
> restoration. Defaults to the current time if not provided.
>
> {*}Description{*}:
> * For each specified table:
> * Locate the most recent full backup taken before the -to-datetime.
> * Apply the full backup, followed by all incremental backups up to the
> specified point.
> * Replay the WALs to bring the data to the exact state as of -to-datetime.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)