Hi there,
I work on a a brand new vanilla Debian 9/XFCE installation I directly installed the urbackup server 2.3.7 and Linux urbackup command line client 2.3.4.
In //usr/local/etc/urbackup/ both scripts named “prefilebackup” and “postfilebackup” reside and are executable.
prefilebackup:
#!/bin/bash
#
## Stop application A##
service application_A stop
postfilebackup:
#!/bin/bash
#
## Start application A##
service application_A start
The prefibackup script works and stops application A when a file backup begins.
A few seconds later the postfilebackup script is executed and the application A is started again. But the filebackucp process is still ongoing, in detail it is still indexing . The filebackup process takes approx. 4 minutes. My expectation ist, that the postfilebackup script should be executed after the filebackup is finished.
Perhaps I am doing something wrong with the script or I have a somehow mislead expectation.
Thanks in advance for a hint,
wechsler