# check if another backup process is running
if ps -axc | awk '{ print $NF }' | grep -q '^X$'; then
  echo "Error: another X process is running"
  exit 1
fi
