Defining Archive and Restore Queries
You can use PeopleSoft Query to define selection criteria to archive data from transactional tables to history tables. Each of the queries to be used by the Data Archive Manager must be defined as an Archive type or Restore type.
For an archive query, you must also select Public as owner. The first record of the archive query must be the same as the base table of the base record of the archive template. Otherwise, an error message appears.
A restore query is a type of archive query that is based on the history table rather than the online table.
See PeopleSoft Query