|
|
Sponsor |
Expect and scripting.: msg#00125db.postgresql.novice
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. Currently this is what I am doing spawn /usr/bin/pg_dump -U myusername -b -c -F c -f /backup/databasename_sql databasename expect Password: send "the_password\r" any tips or suggestions would be appreciated. thanks in advance. -------------------------------------------------------------------------------- Eric Naujock CCNA, CCDA, A+, Network +, I-Net + Abacus II 5610 Monroe St. Sylvania, Ohio 43560 <http://www.abacusii.com> E-mail - naujocke@xxxxxxxxxxxx Phone - 419-885-0082 X 241 Fax : 419-885-2717 AOL IM: erlic
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Reliable and scrptable backup to Postgresql databases., Aarni Ruuhimäki / Megative Tmi / KYMI.com |
|---|---|
| Next by Date: | Re: [GENERAL] ISAM access in PostgreSQL?, Bruce Momjian |
| Previous by Thread: | Reliable and scrptable backup to Postgresql databases., Eric Naujock |
| Next by Thread: | Re: Expect and scripting., Josh Berkus |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|