How to do a point in time recovery in postgresql?
AFAIK in recovery.conf file apply only for the duration of the recovery
it, this file provide the parameters that PostgreSQL needs to

perform an archive recovery of a database, or to act as a log-streaming.

replication standby.


you need to turn on archive_log
the log show you there is no "cp: cannot stat '/home/duc/backup/database/postgre_backupdb/000000020000000C00000042': No such file or directory" have no that file it mean database couldn't make checkpoint to archive it.
use some tool to do backup such as PG_RMNA (ex: pg_rman restore --recovery-target-time '2017-06-16 9:00:00' -B /BACKUP/pgrman -D $PGDATA -U postgres)