pgbackrest - How to restart abruptly terminated backup?

Due to permission denied error the backup stopped and couldn’t be restarted again. The log file /var/log/pgbackrest/bahmni-postgres-backup.log shows

2018-02-10 02:29:17.017 P00 ERROR: [132]: ERROR: a backup is already in progress HINT: Run pg_stop_backup() and try again.:

pgbackrest documentation shows the exact same problem with an option of --stop-auto.

Entered this option first in /etc/pgbackrest.conf only to realize that this file is getting overwritten so modified /opt/bahmni-installer/bahmni-playbooks/roles/pgbackrest-backup/templates/pgbackrest.conf.j2 but still the same error as the log file shows stop-auto option is only available in PostgreSQL >= 9.3

Running pg_stop_backup() within postgresql didn’'t help either as it shows “a backup is not in progress”.

Any ideas to restart the backup while seeking help from the pgbackrest forum?

Managed to take downtime to restart postgresql which resolved the issue.