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/firebird/bin/gbak -B <database> stdout | zip -q -D

Thanks. Unfortunately, I can't see how this is executed - sorry! I may 
be being a little thick today though, not enough coffee, but what I see 
here is a bash script that appears to backup a database and compresses 
it on the fly.

How would I execute the above, over the web?

Thanks.


Cheers,
Norm.

-- 
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

Company Number: 05132767

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to