Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Comments on How to create a dump of a complete MariaDB how the data is at a single point in time?

Post

How to create a dump of a complete MariaDB how the data is at a single point in time?

+4
−0

A MariaDB server is installed on a Linux server.

How can a dump of the complete database be made, how it is at a single point in time, while preventing write access to the database during the dump? Writes to the database during dumping should be prevented to prevent inconsistencies.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

@#64628 Thanks for providing more information to clarify your situation! However your edit changed th... (7 comments)
@#64628 Thanks for providing more information to clarify your situation! However your edit changed th...
samcarter‭ wrote 6 months ago

H_H‭ Thanks for providing more information to clarify your situation! However your edit changed the premise of your question quite a bit and the answer you already got no longer fits your question.

Can you please roll-back your edit and instead ask a new follow-up question including the new information? Like this Canina‭'s answer here can be useful for future users who don't happen to want to move their DB and you're problem will hopefully get a suitable answer in your new question.

H_H‭ wrote 6 months ago · edited 6 months ago

Sorry, i don't see how this makes the question different. In both cases i asked how to create a dump without having writes to the database that aren't in the dump.

The answer from Canina doesn't answer that, as she said at the beginning.

samcarter‭ wrote 6 months ago · edited 6 months ago

I'm not a SME for data bases, but without the constrain that you want to move your DB, you would not have to be concerned about a client writing to the database after dump is done, would you? So this additional constrain of yours seems to change the situation.

H_H‭ wrote 6 months ago · edited 6 months ago

you would not have to be concerned about a client writing to the database after dump is done, would you?

As far as i see, that was mentioned in the question. Or isn't

so that no new writes to the database can be made

clear enough that the question is about a way to get a dump and preventing writes to the database?

That could even be the case in other situation where the database should not be moved. For example a situation where you don't want to change the database or only have a read only system.

samcarter‭ wrote 6 months ago · edited 6 months ago

This might or might not be the case, but your original question and the answer might nevertheless be useful for other users and a new question would give you the opportunity to clearly explain your situation without any cost or disadvantages for you.

H_H‭ wrote 6 months ago · edited 6 months ago

Ok, thank you. made a new question https://powerusers.codidact.com/posts/290195

samcarter‭ wrote 6 months ago

H_H‭ Thank you!