nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

problem with System + MySQL backup script

This is a discussion on problem with System + MySQL backup script within the Shell scripting forums, part of the Development/Scripting category; Hi, I am using the System + MySQL backup script posted in FTP MySQL and Webserver System Backup script . ...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 08-20-2007, 12:19 PM
Junior Member
User
 
Join Date: Aug 2007
My distro: CentOS
Posts: 1
Rep Power: 0
massoo is on a distinguished road
Default problem with System + MySQL backup script

Hi,

I am using the System + MySQL backup script posted in FTP MySQL and Webserver System Backup script . The problem is one of the mysql databases is not being backed up when the script runs for the second time and so on.

I have 3 databases viz, mysql, test and bugs3, if I run the script for the first time all these 3 db's are backed up, but subsequent backups (both full & incremental) do not backup the bugs3 db.

What am I doing wrong ?

Prashant
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-20-2007, 10:50 PM
raj raj is offline
Contributors
User
 
Join Date: Jun 2005
Location: Hyderabad
Posts: 151
Rep Power: 4
raj is on a distinguished road
Default

Well I'm not shell scripting guru but try to run a script from command prompt and see what output or error you get. Try
Code:
bash -x script.sh
bash -xv script.sh
and post output here. did ya modified the script?
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
ssh backup particular mysql table / database brothers Databases servers 11 10-25-2007 06:06 PM
MySql FTP server backup script zafar466 Shell scripting 3 09-25-2007 06:43 PM
MySQL Backup Script krisa Shell scripting 1 02-03-2007 12:57 AM
How do I backup MySQL Databases? chiku All about FreeBSD/OpenBSD/NetBSD 2 08-19-2006 08:15 PM
Backup mysql from shell prompt or script raj Linux software 0 07-30-2006 12:17 AM


All times are GMT +5.5. The time now is 07:33 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36