You should note every change to your database and at the same time read them and transfer them to another database.
You can mark each entry with the logical value Modified = 0/1 or TimeStamp.
Through triggers you have to control these values
trigger before insert
begin
modified = CurrentDateTime;
end
trigger before ubdate
begin
modified = CurrentDateTime;
end
trigger before delete
begin
insert into DELETED_RECORDS (id) values (old.id);
end
source
share