Add switch to gbak to restore database with specified transaction number ------------------------------------------------------------------------
Key: CORE-6121 URL: http://tracker.firebirdsql.org/browse/CORE-6121 Project: Firebird Core Issue Type: New Feature Components: GBAK Reporter: Karol Bieniaszewski Please add switch to gbak to restore database with specified transaction number. E.g. Interbase have this as "-START(ING_TRANS)" the name can be different. I suppose it is very simple to implement as already during restore Firebird start this numbering from 1. Now it should take into account if start it from 1 or specified value from the parameter. gbak -c -v -START 123456789 and database after restore looks like Database header page information: Flags 0 Checksum 12345 Write timestamp Aug 9, 2019 15:17:08 Page size 4096 ODS version 16.0 Oldest transaction 123456790 <- THE SPECIFIED NUMBER +1 Oldest active 123456791 Oldest snapshot 123456791 Next transaction 123456850 Sequence number 0 Next attachment ID 0 Implementation ID 16 Shadow count 0 Page buffers 2048 Next header page 0 Database dialect 3 Creation date Aug 9, 2019 15:17:07 Backup timestamp Aug 9, 2019 15:17:08 Attributes force write Variable header data: Sweep interval: 20000 *END* -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel