My script wasn't working due to unix to dos command structures... so I've corrected the script endings, but I want to make sure I have a backup of the past like 4 days...
So, it will likely be down for a few minutes while a backup runs... Sorry.
Yeah, I wrote the script in Word and the carriage returns somehow get copied and pasted when I created the file up on the server... So I had to run a quick script that removed all the windows commands from the end of the lines and left them blank...
And because I am using mysqldump it takes a snapshot of the database then gzips it... so it locks up for like a minute instead of like 20 minutes while it downloads...
Holy moly... The frickin script saved it someplace strange because I was using a relative path and it was running at a higher level than I expected... It took me some panic time and thinking the stuff wasn't working until I just used a grep to find the file it created and moved it to the right place and fixed the directory path...
And...
there are probably like 2 people here that have any idea what I am saying. Sorry. I am just thrilled that I finally got it working after modernizing the script... I learned a crapton... and I have made it so backups run early AM but do not lock down the site while they run.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.