You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
gladiston
changed the title
[replication] can I trigger a script before or after replicate/merge files?
replication in line command to merge replication side any time I want.(assincronous)
Feb 29, 2024
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.
@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.
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.
The text was updated successfully, but these errors were encountered: