Use data filtering
The schema command file in this example extracts a table test1:tlr from
the most recent backup of dbspace1 and places the data in the
table test1:tlr only where the list conditions are true.
Important: Filters can only be applied to a physical restore.
database test1;
create table tlr (
a_serial serial,
b_integer integer,
c_char char(20),
d_decimal decimal,
) in dbspace1;
insert into tlr
select * from tlr
where c_char matches ‘john*'
and d_decimal is NOT NULL
and b_integer > 100;
restore to current with no log;