firebird
firebird copied to clipboard
replication in line command to merge replication side any time I want.(assincronous)
In replication.conf will be wellcome parameter as:
journal_source_directory_pre_script=/usr/bin/replicate_point_mount.sh journal_source_directory_pos_script=/usr/bin/replicate_point_umount.sh
The parameter journal_source_directory_pre_script can be used to trigger a script that can mount/copy/whatever files that will be replicate/merge.
The parameter journal_source_directory_pos_script can be used to trigger a script that can umount, remove temp files, etc... after replicate/merge.
Or (better) replication in line command to merge replication side any time I want.(assincronous)
Just an idea.
Isn't it exactly purpose of journal_archive_command setting? To let you do whatever you like before, after and during (or instead of) journal delivery to replica.
Isn't it exactly purpose of journal_archive_command setting? To let you do whatever you like before, after and during (or instead of) journal delivery to replica.
This request is about the replica side.
@gladiston A command-line tool to manually apply some set of replication segments is considered. If you include it into the script with the required pre- and post- processing, it should do the things you need.
@gladiston A command-line tool to manually apply some set of replication segments is considered. If you include it into the script with the required pre- and post- processing, it should do the things you need.
Yes, it´s much better!