Re: Automated Backup Script Help (Linux)
От | John R Pierce |
---|---|
Тема | Re: Automated Backup Script Help (Linux) |
Дата | |
Msg-id | 4F57B227.5040808@hogranch.com обсуждение исходный текст |
Ответ на | Automated Backup Script Help (Linux) (Carlos Mennens <carlos.mennens@gmail.com>) |
Ответы |
Re: Automated Backup Script Help (Linux)
|
Список | pgsql-general |
On 03/07/12 10:33 AM, Carlos Mennens wrote: > carlos@db1:~/postgresql$ sh pg_backup.sh > pg_backup.sh: 7: cd: can't cd to pg_backup.sh > pg_backup.sh: 8: pg_backup.sh: source: not found > pg_backup.sh: 16: [: !=: unexpected operator > Making backup directory in 2012-03-07/ > pg_backup.sh: 54: pg_backup.sh: Bad substitution > > So the only thing this script is doing for me is creating an empty > folder with the date as the name. Any idea what I'm doing wrong? I've > attached the configuration file since this is the only thing I was > told that needs to be modified. The contents are exactly as they are > on my server. whats that pg_backup.sh script look like? you're getting shell errors on line 7 and 8 of the script. this has nothing to do with postgresql. -- john r pierce N 37, W 122 santa cruz ca mid-left coast
В списке pgsql-general по дате отправления: