Subject | Re: [firebird-php] Re: How make a back up from php? |
---|---|
Author | Umberto Masotti |
Post date | 2009-08-23T10:28:56Z |
Hi,
Reinhard Neidl ha scritto:
exec($cmd, $output, $returncode );
Mimmo.
Reinhard Neidl ha scritto:
> <?phpMaybe you mistyped $out with $output:
> //there are better places to make a backup
> //beware of: php.timeout
> $output = array();
> $returncode = -999;
> $cmd = "/path/to/gbak.exe";
> $cmd .= " -b";
> $cmd .= " -v";
> $cmd .= " -user ...";
> $cmd .= " -password ...";
> $cmd .= " .... ";
> exec($cmd, $out, $returncode);
>
exec($cmd, $output, $returncode );
> echo ("gbak going home with:".$returncode);Ciao.
> echo ("gbak output:");
> var_dump($output);
>
> ?>
>
Mimmo.