can we convert postgreSql dump file into mysql dump through commadline
i tried but **i get syntax error.**
if there is any way to resolve my problem please suggest me.
thanks in advance...
cd\
c:
cd "C:\Program Files\MySQL\bin"
mysql -u root -proot
pause
i run this batch file
after i put this
--compatible=postgresql <mysql.sql
What exactly does the default ibdata1 file store that does not exist in a mysqldump?
I've got a backup/rsync job that stores dump files of a MySQL 5.5 database on a remote server for rotating daily/weekly backups.
However, I am not currently backing up the ibdata1 file itself -- is this a nightmare waiting to happen or are dump files enough?
Thanks
Is this possible without having to dump to all other slaves at the same time?
Basically I would create a blank database with the 'create database' function on the master and slave. Then I would setup the replication of the DB.
I would then do a dump on the master.. would all the inserts during the dump be replicated to the slave?
TIA!
edit: sorry i didn't mean mysqldump..
I've created a slave server from live machine which is acting as a master now.
I use the following procedure to create it:
mysqldump --opt -Q -B --master-data=2 --all-databases > dump.sql
then I imported this dump on the new machine, applied the "CHANGE MASTER TO..." directive with a log file/position from the dump.
Please note that I have around 8000 databases and I didn't stop the maste
Hi, i'd like to know the command line to create a dump file from a non particular table, o database. I'm working with RedHat environment.
Ayn idea would be helpful.
Thanks.
Hi all
I have a query about dump device in aix, i asked this question on interview.
what is dump device, how to add dump device & its work.
kindly give this answer,
thanks in advance.
:confused:
I am running a AWS RDS large instance for the production. I am taking mysql every mid nite. But the thing is its taking too long to take the mysql dump and also the website will stop responding during the mysql dump process. What I am planning to do is, instead of taking the mysql dump, any how I am taking DB snapshot every day.
Everyday a dump is made available for me on a SQL file in a link.
I need to to restore this dump in a ubuntu machine so its available for me to use. How can I automate the download and restore of the dump?
Best solution would be a bash script?
Hi to all.
I try make dump on my system but got error:
Code:
# dump -0auL -f /media/Main/Backups/ubuntu_fs_root.dump /dev/sda7
DUMP: You can't update the dumpdates file when dumping a subdirectory
DUMP: The ENTIRE dump is aborted.
Google says that mean that I try save dump file on filesystem that I backuping - but it is not so:
Code:
# df -h
Filesystem &nbs