怎么实现postgresql自动备份,任意时间点恢复

怎么实现postgresql自动备份,任意时间点恢复。那些脚本代码写到哪啊?刚接触数据安全不太懂。求大神帮助
windows 系统下的 用navicat管理的postgresql.
谢谢大神!

https://www.2cto.com/database/201303/197980.html