Menu

#2175 Postgresql Backup Problema

1.220
closed
5
2014-04-07
2005-07-22
No

First I looked for in the list but I did not find
anything so there it sent the problem.

Hello. Recently I update webmin to version 1,220,
after the update postgresql has problems to make backup.

I wrote script that copies and compresses dump of the
data base to another directory, but the option "Command
to run to after backup" presents/displays the following
error:

line 1: ((:/home/planilla/.ags/respaldo.sh: syntax
error: operand expected (error
home/planilla/.ags/respaldo.sh token is "/")

I proved script from the command line and works
correctly.

in the previous versions this worked correctly.

So, some idea?

postgresql-7.4.7-3.FC2.1
Kernel 2.6.10-1.771_FC2

Discussion

  • Jamie Cameron

    Jamie Cameron - 2005-07-23

    Logged In: YES
    user_id=129364

    This may be a bug in Webmin.
    What is the command that you entered to run after the backup
    exactly?

     
  • Carlos Chávez

    Carlos Chávez - 2005-07-25

    Logged In: YES
    user_id=707183

    Hi Jamie.

    this is the command: /home/planilla/.ags/respaldo.sh

    the script respaldo.sh copy a file of the dump of the
    database and compress. I run the script in command line of
    linux and it work fine.

    Cheers.
    Carlos Chvez.

     
  • Jamie Cameron

    Jamie Cameron - 2005-07-26
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2005-07-26

    Logged In: YES
    user_id=129364

    There is now an updated PostgreSQL module at
    http://www.webmin.com/updates.html that fixes this problem ..

     
  • Carlos Chávez

    Carlos Chávez - 2005-07-26

    Logged In: YES
    user_id=707183

    Hi jaime.

    what is the correct way to apply this correction, because
    the option "Update modules now" don't work, the message are:

    Updating Webmin modules ..

    Update to module mount is not needed on your system.

    Update needed for module mysql to version 1.222.
    Fixes problem : When executing a backup that has a
    command to run before or after, an error message like
    '/bin/sh: line 1: ((: /path/to/script.sh: syntax error' appears

    Update needed for module postgresql to version 1.222.
    Fixes problem : When executing a backup that has a
    command to run before or after, an error message like
    '/bin/sh: line 1: ((: /path/to/script.sh: syntax error' appears

    Update to module time is not needed on your system.

    Update needed for module postfix to version 1.221.
    Fixes problem : When deleting mail file from
    queue, the error message 'Undefined subroutine
    &main::translate_file' always appears.

    Update needed for module proftpd to version 1.221.
    Fixes problem : Webmin always reports that it
    cannot get the ProFTPd version number, even though it is
    being reported correctly.

    i'm execute the option but don't work.

    Cheers.
    Carlos Chvez.

     
  • Carlos Chávez

    Carlos Chávez - 2005-07-26

    Logged In: YES
    user_id=707183

    i'm so sorry, please forget my last message, i'm very tired.
    my mistake, the update work fine.

    Cheers.
    Carlos Chvez.

     

Log in to post a comment.