Search Results

Search: Posts Made By: Pandoula
2,305
Posted By Pandoula
Thanks! Got it. What happened was... when I...
Thanks! Got it. What happened was... when I pasted the text in from TextEdit into the Nano editor, certain lines did indeed get jumbled. Just had to put them all back on the same line. Simple...
2,305
Posted By Pandoula
Here's the script. The problem line is in red...
Here's the script. The problem line is in red (error in first post).

Since I'm a n00b, I welcome any security tips in writing this script as well.

Example usage: ./restore.sh 05-20-12 may20...
2,305
Posted By Pandoula
MySQL Restoration Backup Script
Hi there,

Alright I have this line that I'm working with (bash programming):


mysql -u username -pHASH ${args[1]} < /home/site/backups/site.${args[0]}.sql
I get this error on that line:

...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy