Results 1 to 2 of 2

Thread: MySQL Backup Script

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default MySQL Backup Script

    Hi there,

    I discovered the following script provided by nixcraft:

    http://www.cyberciti.biz/tips/mysql-backup-script.html

    This script does not work with mysql passwords that have spaces in them. I fixed it by changing the occurance of:

    Code:
    -p$MyPASS
    
    to:
    
    -p"$MyPASS"
    Two places to change this, line 55 and 73. It would be cool if the script was updated.

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,513
    Thanks
    17
    Thanked 804 Times in 511 Posts
    Rep Power
    10

    Default

    Thanks I will fix this later on

    Appreciate your feedback.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ssh backup particular mysql table / database
    By brothers in forum Databases servers
    Replies: 11
    Last Post: 25th October 2007, 05:06 PM
  2. MySql FTP server backup script
    By zafar466 in forum Shell scripting
    Replies: 3
    Last Post: 25th September 2007, 05:43 PM
  3. problem with System + MySQL backup script
    By massoo in forum Shell scripting
    Replies: 1
    Last Post: 20th August 2007, 09:50 PM
  4. How do I backup MySQL Databases?
    By chiku in forum All about FreeBSD/OpenBSD/NetBSD
    Replies: 2
    Last Post: 19th August 2006, 07:15 PM
  5. Backup mysql from shell prompt or script
    By raj in forum Linux software
    Replies: 0
    Last Post: 29th July 2006, 11:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •