LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2008, 07:26 AM   #1
caksin
Member
 
Registered: Jul 2008
Location: Ankara, Türkiye
Distribution: Ubuntu, Pardus
Posts: 47

Rep: Reputation: 16
Still cant backup mysql db on fedora 4 (20days now)


I did start a new thread and i thought i could do it with what i learned but i still can do the auto backup of the mysql db on the fedora core 4 server which has no internet connection. I have root access and i dont know how to enable internet connection. so i cant update or install anything necessary that enables auto backup such as; amanda,rdiff,.. i dont know why it says command not found when i try mysqldump. When i try mysqlhotcopy it says a long paragraph of missing files. i cant use tar because i was told in this forum it is not safe to use it when the mysqlserver is running- and i do not know of a way (if exists) to auto-stop/start mysql server before and after the tar cron job. Any suggestions? The internet thing is the main key i think becuz i can install the rdiff or amanda with it.
btw can i make a cron job for mysqldump or the mysqlhotcopy and can u tell me why it gives such an error?
i am in serious trouble here
 
Old 08-05-2008, 07:28 AM   #2
caksin
Member
 
Registered: Jul 2008
Location: Ankara, Türkiye
Distribution: Ubuntu, Pardus
Posts: 47

Original Poster
Rep: Reputation: 16
The internet connection is present by means of hardware(people from other cities can connect to the server) but i cant open any page on the browser, or the msn or do any yum installs.
I can see the pc s on the network by the way- and access (read-write)

Last edited by caksin; 08-05-2008 at 07:30 AM.
 
Old 08-05-2008, 07:36 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You need to punctuate badly - that post is impossible to read.

If you can stop the server for the backup, why can't you just

service mysqld stop
backup routine
service mysqld start

?

If mysqlhotcopy is causing you problems, and your databases are in the correct form, you have other problems
 
Old 08-05-2008, 07:45 AM   #4
caksin
Member
 
Registered: Jul 2008
Location: Ankara, Türkiye
Distribution: Ubuntu, Pardus
Posts: 47

Original Poster
Rep: Reputation: 16
so can i add those to a cron job? So i can use the tar command
dunno why i behave so lazily i will think more before asking next time. thanks for the reply

Last edited by caksin; 08-05-2008 at 07:54 AM.
 
Old 08-05-2008, 08:25 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
Also, just to check, try

rpm -qa |grep -i mysqldump

just to see if its installed. Should be normally ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: MySQL Backup And Recovery With mysql-zrm On Debian Sarge LXer Syndicated Linux News 0 09-28-2006 08:21 AM
Fedora Core 3, MySql Server, mysql started mysql ended OkiTek Fedora 30 01-28-2005 09:15 AM
Mysql backup? marghorp Linux - Software 11 02-24-2004 01:18 PM
mysql backup ram_dhupkar Linux - General 13 09-09-2003 07:19 PM
mysql backup ram_dhupkar Linux - General 0 08-13-2003 03:46 AM


All times are GMT -5. The time now is 08:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration