Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Backup Sql databse

by mje (Curate)
on Feb 02, 2012 at 19:38 UTC ( #951514=note: print w/replies, xml ) Need Help??


in reply to Re^2: Backup Sql databse
in thread Backup Sql databse

Take this out of CGI and just run it from the command line until you get it working. The backup command outputs print statements which are usually received via an error handler. Look at the script http://cpansearch.perl.org/src/MJEVANS/DBD-ODBC-1.34_2/examples/backup_restore.pl which I know works - you might want to comment out the restore first though. The main point is that any procedure you call has to run to completion and if nocount is off and the proc issues output the client end needs to read the output or the proc does not complete.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951514]
help
Chatterbox?
[Corion]: Discipulus: Not exactly great indeed...
[Corion]: I guess in such situations tieing your child to a mobile phone makes sense so they can send you a text message...
[LanX]: well if everyone calls at the same time after earthquake, this might cause more confusion

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-01-18 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (161 votes). Check out past polls.