Solved

How to back up?

Posted on 2002-07-18
2
179 Views
Last Modified: 2010-03-05
Hello:

I want to know that how can I backup my mysql data? Is there any cgi/perl scripts which can help me to backup through web?

Rana
0
Comment
Question by:Sohel Rana
2 Comments
 
LVL 12

Expert Comment

by:lexxwern
ID: 7164015
you can back up data by posting all data in one database to another database on someother server.

cgi scripts can help you to do this, but you will have to write your own, cause no one knows your database better than you, but ofcourse we will help you write the script!
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 7164329
system('mysqldump -a -A -u root --password=secret>backup.sql');

# for details see: man mysqldump
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Perl for loop for 2000 ms 7 97
stftime format 4 55
perl script to search for files containing text 3 73
Perl Write to Specific line in a file 15 76
I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now