473,414 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

[Q] Backing up a MySql Database

I've taken a look at mysqlhotcopy and mysqldump but neither seem to do
what I need them to do which is to backup only the data which has
changed since the last backup.

Is there a way to do this?

Of course, being able to recover the database from these delta backups
is important.

Jul 20 '05 #1
2 1293

"Eric" <eg******@verizon.net> wrote in message
news:1gffnga.1tss5a61fhouzeN%eg******@verizon.net. ..
I've taken a look at mysqlhotcopy and mysqldump but neither seem to do
what I need them to do which is to backup only the data which has
changed since the last backup.

Is there a way to do this?

Of course, being able to recover the database from these delta backups
is important.

Eric:

Binary log files might provide some help. They do list all of the sql
commands, the time of the commands, and the thread. After the commands are
listed, it may be possible to "selectively" get changes for say just one
user. That requires both the binary log file and text log files are used.
The text log file shows the actual user name, whereas the binary log file
has a lot of other info.

Reference (TIP 30, TIP 24, TIP 25):
http://prdownloads.sourceforge.net/s...l.txt?download

I hope it helps. Yes, I haven't found a real clean solution either.

Regards,

Mike Chirico
Jul 20 '05 #2
Mike Chirico <mc******@comcast.net> wrote:
Binary log files might provide some help. They do list all of the sql
commands, the time of the commands, and the thread. After the commands are
listed, it may be possible to "selectively" get changes for say just one
user. That requires both the binary log file and text log files are used.
The text log file shows the actual user name, whereas the binary log file
has a lot of other info.

Reference (TIP 30, TIP 24, TIP 25):
http://prdownloads.sourceforge.net/s...l.txt?download

I hope it helps. Yes, I haven't found a real clean solution either.


Huh. I'm kinda surprised there isn't a clean solution as this seems to
be an obviously useful feature.

In any case, thanks for the info.
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dave Moore | last post by:
Hi All, I'm looking at using PHP and MySQL for a particular website application. However, I was a bit concerned that if a PHP script went wrong then it would be possible to accidentally delete or...
0
by: mdh | last post by:
I am trying to learn the basics of MVC applications using a Tomcat infrastructure. I'm starting by building a simple application with: * a login.jsp page for a basic login form with a action...
1
by: Cern | last post by:
Is it somebody out there who has made a migration from an Oracle server to an MySQL server?? The scenario is as simply: I've got a Oracle 8 server with a database with content that I want to...
3
by: Xerxes | last post by:
Hi, I would like to import the tables from MySQL database into Access database and I am not sure how to go about it. I tired to "Import External Data" from Access, selected "ODBC database" from...
2
by: GS | last post by:
Implemented web application using MySQL to maintain inventory of the office PC's/laptops/Routers/hubs and other stuff, here we are using MySQL as back-end Database on Linux Operating system. I need...
1
by: rob.w | last post by:
I am new to MySQL. I have an application using MySQL running on Windows Server 2000. If I were using Microsoft SQL Server 2000, I would need special software to back up an open SQL Server database....
5
by: mantrid | last post by:
Hello My web hosting company has lost my data due to the mysql software failing, it only affected those people using innoDB engine. I asked them why they didnt restore from a back up. They said...
12
by: mistral | last post by:
phpMyAdmin 2.6.2 problem: can no connects to mySQL database: each time shown error #1045 - Access denied for user 'username'@'192.168.1.2' (using password: YES) Is seems, this is most common...
14
by: mistral | last post by:
Need php script to create mySQL database programmatically; since hosting configuration may not allow create database from script, script also need eliminate/rewrite all restrictions in appropriate...
3
by: Neil Domingo | last post by:
I have an online hosted website that uses mysql database. Now, what I am trying to do was to update my remote database. What I mean was, a different mysql database that is not online. I used...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.