forums Computer Tutorials Computer Help and Spyware Removal File DatabaseUninstall Database Windows Startup Programs Database Computer Resources Computer Glossary Forums Computer Help and Spyware Removal
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

 
Reply to this topicStart new topic
> Shell Scripting
forrestmage
post Apr 25 2008, 04:22 PM
Post #1


Member
**

Group: Members
Posts: 19
Joined: 15-April 08
Member No.: 203,181



I don't know shell scripting but I would like to script the backup so that my sql database password is not in the crontab file. This is what I'm running in crontab
mkdir /backups/daily_`date --iso-8601` && mysqldump --tab=/backups/daily_`date --iso-8601` database -u **** -p******

fyi, I have Gutsy Gibbon server

thanks, aaron
Go to the top of the page
 
+Quote Post
raw
post Apr 26 2008, 02:20 PM
Post #2


Bleeping Hacker
******

Group: BC Advisor
Posts: 1,728
Joined: 14-April 04
From: Texas
Member No.: 151



Here's a good thread about that:
http://www.webhostingtalk.com/archive/inde...p/t-467630.html


--------------------
Go to the top of the page
 
+Quote Post
forrestmage
post May 5 2008, 05:12 PM
Post #3


Member
**

Group: Members
Posts: 19
Joined: 15-April 08
Member No.: 203,181



Thanks for the link, I was able to figure it out! smile.gif Nothing fancy, but it works smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 6th July 2008 - 12:36 PM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Malware Removal Guides

© 2003-2008 All Rights Reserved Bleeping Computer LLC.