CREATE TABLE `/Root/test1/table1`
( `test` Uint32
, `test2` Uint32
, PRIMARY KEY (`test`)
);
INSERT INTO `table1` (test, test2) VALUES (1,1 ), (2, 2), (3, 3);
CREATE BACKUP COLLECTION `my_collection`
( TABLE `/Root/test1/table1`
)
WITH
( STORAGE = 'cluster'
, INCREMENTAL_BACKUP_ENABLED = 'true'
);
BACKUP `my_collection`;
REPLACE INTO table1
(
test,
test2
)
VALUES
(
2,
22
)
;
BACKUP `my_collection` INCREMENTAL;
Changes from REPLACE INTO are stored in the incremental backup.