Migration changes were only applied to rawConfig if file write succeeded, leaving the running process on stale config. Also stops logging backup path when the backup copy itself failed.
Migration changes were only applied to rawConfig if file write succeeded, leaving the running process on stale config. Also stops logging backup path when the backup copy itself failed.