Previous Thread
Next Thread
Print Thread
Rate Thread
tym #208483 02/21/2001 3:03 PM
Joined: Apr 2000
Posts: 29
Member
Member
Offline
Joined: Apr 2000
Posts: 29
In reply to:


Dump => tar => some action (copy to some folder or mail the tar) would be a more complete feature.


Basically what you want is:

#!/bin/sh
echo "Content-type: application/x-compressed-gzip"
echo
mysqldump DBNAME | gzip --to-stdout

Although I'm not sure if that content-type is right. But through that script behind a link with a script name like "current_db.gz", and make that program run as a CGI and not have the server treat it as a gzip archive, and the browser will be completely oblivious that the DB isn't a static file but is actually being created/gzip'ed on the fly. :)

D


Sponsored Links
Entire Thread
Subject Posted By Posted
5.2b2 Feedback MTO 02/18/2001 4:39 AM
Re: 5.2b2 Feedback MTO 02/18/2001 4:56 AM
Re: 5.2b2 Feedback Sharif 02/18/2001 1:44 PM
Re: 5.2b2 Feedback MTO 02/18/2001 11:46 PM
Re: 5.2b2 Feedback Rick 02/19/2001 12:21 AM
Re: 5.2b2 Feedback dgermann 02/19/2001 1:58 AM
I would rather have a "delete" check box.... rgranger 02/19/2001 3:52 AM
Re: 5.2b2 Feedback Dredd 02/21/2001 10:03 PM
Re: 5.2b2 Feedback Sharif 02/21/2001 11:09 PM
Re: 5.2b2 Feedback Eileen 02/22/2001 8:10 PM
How about..... rgranger 02/23/2001 6:02 AM
Re: How about..... Eileen 02/23/2001 8:27 AM
thought you were trying to do that rgranger 02/23/2001 1:29 PM
Re: thought you were trying to do that Eileen 02/23/2001 1:48 PM
Re: 5.2b2 Feedback MTO 03/02/2001 3:05 AM
Re: 5.2b2 Feedback Rick 03/02/2001 4:41 AM
Re: 5.2b2 Feedback Eileen 03/02/2001 4:43 AM
Re: 5.2b2 Feedback MTO 03/02/2001 5:03 AM
Re: 5.2b2 Feedback - Caching Sharif 03/02/2001 8:56 AM
Re: 5.2b2 Feedback MTO 03/03/2001 3:11 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)