Does anyone have an example of an expect script that could work. For some reason either I am not understanding something about this or My script is just wrong but my pg_sump script does not work with expect.
I have all my databases password protected hence a need for doing this for backup.