Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-15 Thread Mark Rotteveel
On 14-1-2013 12:28, Dimitry Sibiryakov wrote: > 14.01.2013 12:21, Norman Dunbar wrote: >> How would I execute the above, over the web? > > You should put this script into CGI directory of web-server. > Just make sure you put the appropriate protection in place, otherwise everyone can get a co

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-14 Thread Norman Dunbar
Hi Dimitry, On 14/01/13 11:28, Dimitry Sibiryakov wrote: > 14.01.2013 12:21, Norman Dunbar wrote: >> How would I execute the above, over the web? > > You should put this script into CGI directory of web-server. > Thanks. I knew I was missing the obvious! Cheers, Norm. -- Norman Dunbar Dunb

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-14 Thread Dimitry Sibiryakov
14.01.2013 12:21, Norman Dunbar wrote: > How would I execute the above, over the web? You should put this script into CGI directory of web-server. -- WBR, SD. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C#

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-14 Thread Norman Dunbar
Morning, On 11/01/13 17:24, Doychin Bondzhev wrote: > Here is an example how to make backup over web: > > #!/bin/bash > shortname=database_backup`date +'_%d%m%Y_%R'`.gbk.zip > > echo "Content-Type:application/x-download" > echo "Content-Disposition:attachment;filename=$shortname" > echo > /opt/fir

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread Doychin Bondzhev
Here is an example how to make backup over web: #!/bin/bash shortname=database_backup`date +'_%d%m%Y_%R'`.gbk.zip echo "Content-Type:application/x-download" echo "Content-Disposition:attachment;filename=$shortname" echo /opt/firebird/bin/gbak -B stdout | zip -q -D -- Doychin Bondzhev dSoft-Bul

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread Norman Dunbar
Hi Steve, On 11/01/13 15:56, Steve Friedl wrote: > Hi folks, > > I'm the writer of the blog post that raised this issue, I had already posted > an issue for the tracker before I blogged about it for Google. > > I believe that it's *only* a documentation issue, because even though the > behavior is

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread Norman Dunbar
Afternoon all, I can confirm that the online docs at http://www.firebirdsql.org/file/documentation/reference_manuals/user_manuals/Firebird-gbak.pdf and http://www.firebirdsql.org/file/documentation/reference_manuals/user_manuals/html/gbak.html have been updated at 16:15 ish (UTC) with the la

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread Steve Friedl
firebird-devel@lists.sourceforge.net Subject: Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout Morning all, On 11/01/13 09:54, Lester Caine wrote: > *IS* the problem described simply documentation. Since the functions > are available in va

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread Norman Dunbar
Morning all, On 11/01/13 09:54, Lester Caine wrote: > *IS* the problem described simply documentation. Since the functions are > available in various OS's, 'stdout' seems reasonable to me ... I expect it to > work on Linux but probably due to coming from a windows background? I've updated the gbak

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread Michal Kubecek
On Fri, Jan 11, 2013 at 09:54:54AM +, Lester Caine wrote: > > *IS* the problem described simply documentation. Since the functions are > available in various OS's, 'stdout' seems reasonable to me ... I expect it to > work on Linux but probably due to coming from a windows background? On uni

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread Alex Peshkoff
On 01/11/13 13:54, Lester Caine wrote: > marius adrian popa wrote: >> http://blog.unixwiz.net/2013/01/unhappy-surprise-firebird-sqls-backuprestore-uses-magic-words-for-stdin-and-stdout.html > *IS* the problem described simply documentation. Since the functions are > available in various OS's, 'stdo

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread Lester Caine
marius adrian popa wrote: > http://blog.unixwiz.net/2013/01/unhappy-surprise-firebird-sqls-backuprestore-uses-magic-words-for-stdin-and-stdout.html *IS* the problem described simply documentation. Since the functions are available in various OS's, 'stdout' seems reasonable to me ... I expect it t

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread Mark Rotteveel
On Fri, 11 Jan 2013 11:33:29 +0200, marius adrian popa wrote: > I will post more info from now on , i guess i'm used to the short > messages on twitter Thanks; btw even 'link-only' tweets are usually spam :) Mark -- Mas

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread marius adrian popa
I will post more info from now on , i guess i'm used to the short messages on twitter On Fri, Jan 11, 2013 at 10:18 AM, Mark Rotteveel wrote: > On Fri, 11 Jan 2013 10:01:40 +0200, marius adrian popa > wrote: >> > http://blog.unixwiz.net/2013/01/unhappy-surprise-firebird-sqls-backuprestore-uses-m

Re: [Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread Mark Rotteveel
On Fri, 11 Jan 2013 10:01:40 +0200, marius adrian popa wrote: > http://blog.unixwiz.net/2013/01/unhappy-surprise-firebird-sqls-backuprestore-uses-magic-words-for-stdin-and-stdout.html Why are you just posting URLs? I find it slightly confusing and mildly annoying to get a message with just an URL

[Firebird-devel] Firebird SQL's backup/restore uses magic words for stdin and stdout

2013-01-11 Thread marius adrian popa
http://blog.unixwiz.net/2013/01/unhappy-surprise-firebird-sqls-backuprestore-uses-magic-words-for-stdin-and-stdout.html -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development ski