[
https://issues.apache.org/jira/browse/HBASE-29133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948311#comment-17948311
]
Kevin Geiszler edited comment on HBASE-29133 at 4/30/25 12:01 AM:
------------------------------------------------------------------
Hey [~vinayakhegde], this looks good overall. I just have two questions:
# In Section 3 "Backup and WAL Coverage", the last sentence says, "If the user
requested only validation, return success at this point." How does the user
request only validation? I can't tell what command line arg is used for that
when I look at the command description at the top of the ticket.
# Why is fm considered unknown/unrecorded? I was expecting that we could get
the time of the snapshot from the snapshot itself.
was (Author: JIRAUSER302671):
Hey [~vinayakhegde], this looks good overall. I just have two questions:
# In Section 3 "Backup and WAL Coverage", the last sentence says, "f the user
requested only validation, return success at this point." How does the user
request only validation? I can't tell what command line arg is used for that
when I look at the command description at the top of the ticket.
# Why is fm considered unknown/unrecorded? I was expecting that we could get
the time of the snapshot from the snapshot itself.
> Implement "pitr" Command for Point-in-Time Recovery/Restore
> -----------------------------------------------------------
>
> Key: HBASE-29133
> URL: https://issues.apache.org/jira/browse/HBASE-29133
> 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
> Labels: pull-request-available
>
> h4. New "pitr" 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}
> h4. Process for Each Table:
> # Identify the most recent backup taken *before* the {{--to-datetime}}
> timestamp and execute the {{restore}} command for that table. This will apply
> both full and incremental snapshots.
> # Determine the WAL (Write-Ahead Log) replay duration, covering logs
> generated after the last backup and before {{{}--to-datetime{}}}.
> # Invoke *WALPlayer* with the {{{}backupdir{}}}, {{{}from-time{}}}, and
> {{to-time}} parameters to perform WAL replay.
> h4. WAL Replay Details:
> * The eligible day directories will be provided as a {*}comma-separated
> list{*}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)