![]() |
Quote:
|
@hadog I'm still looking into this issue with mysql5. I'm hoping to update this hack soon and see why mysql5 is causing problems.
@creedmaniac: This should add a file called 05-1-2006.sql and 05-1-2006-error.txt to your /home/inara/databack directory. If you have it set to .tar.gz, then you will only get a 05-1-2006.tar.gz file in the directory. 05-1-2006 is the date of the current backup. At the moment the error files do not process when your using the .tar.gz menthod. This isn't a bug, this is just by design. I'll be updating some settings soon. Are you at least getting the backups to the directory? To Everyone Is there anyone else using this hack with MySQL5? If so, is it working? |
Thanks for this hack..
|
No problem. :)
|
hi nice hack byt i use it 3 days and my 3 backups its empty...now i change the option to do backup without compresion byt i dont thing thats my problem.
anyone have idea? Edit:Same thing also without compres.(empty file)also one txt file apeard with this inside.. sh: line 1: mysqldump: command not found |
Thats what the error.txt file is for. It's letting you know that mysqldump: command not found. Means you don't have that feature installed on your server. You would have to ask your host to enable it or install it. (mysqldump)
|
LOL i forget this step :) thanks for responce
|
Hey LiveWire... When I used to do this manually using the ACP, I was getting database sizes of over 100mb, using the auto system i'm getting database sizes of just over 90mb... is it missing something in the backup?
|
No its normal...my db its 80 and im get 73mb backup
|
an option to go to a throw from back up databases would be cool..
no possible way to make this able to go to another FTP address? |
Is there any advantage to using this over a traditional server driven CRON job?
For those that can not get this to run on your server because of the settings... if you server allows you to run CRON jobs I have a page that can help you program your own CRON jobs to back up your MySQL databases here: http://adultwebbusiness.com/adultbus...topic.php?t=54 No worry, there is no adult content on there ;) Oh yea, that is one of my sites I have not upgraded to vB yet too... |
Quote:
And the answer is... ? :D ;) |
I'll see what I can do. That is something that I've never done and will need alot of research and testing before I can insert that addon to this hack.
|
Thanks for your answer :)
I hope you will succeed ! |
Wonderful addon, you got my vote in the poll for sure.
I've got one little feature request which I'm sure of that there will be others who'd like it as well; maybe you can add it so you can specify the max. number of backups you want to keep stored. I, and I'm sure I'm not alone, am on a shared hosting so I haven't got "unlimited" space, therefore I'd love to see a feature to simply have 3 backups at all time; when a new one is made the last one could be deleted to make room. Keep up the great work and hopefully you'll add it ;) |
Thats a nice idea! I will look into that as well. Thanks for your vote! :)
|
Installed it but my host has exec disabled. :(
|
Installed and running now. When I run it though my site slows to a crawl, a lot of timeouts and such.
How long does it take to make a backup? (1gig sql uncompressed db here) Can I stop it halfway through somehow? EDIT: Also, I only see how to make this run Every X Time. Is there a way to say run at 5am GMT+1 every day, for example? EDIT2: Alright it seems the lag was caused because the script ran 3 SQL Dumps at the same time. Every time the server admin tried to kill one it started over again. Any idea why this happened? The script was set to run once every 23 hours. |
Quote:
Agreed, great idea. As it stands now I'll probably have to manually clean out the backup folder from time to time. I also think it's a good idea to suggest putting a simple index.html file in File Dump Path... otherwise in the off-chance someone guesses the backup directory name, they'd be able to download all of the forum backups simply by navigating to it in their browser. |
hi.
the hack ist very well. thanks for this. BUT i have one error message: Code:
Datenbankfehler in vBulletin 3.5.3: |
You Lost connection to MySQL server during the cron. This could have been a number of things and not just this hack. Try running the script again. If the problem still continues then let me know. You might have to ask you host why this is happening. BTW, how big is your forum?
|
The weird part I had, was when I ran the task, I checked my folder. It has 2 files, 06-7-2006-error.txt and has a 06-7-2006-.sql......
What's that mean? My database wasn't backed up properly? |
The 06-7-2006-.sql should be your database file. The error text is there to tell you if any errors occoured while backing up the system. How big is your 06-7-2006-.sql file?
|
I believe it is 25MB... which seems too small I think? The sql file says 0kb, so I wouldn't be able to figure out the error?
|
Installed and got it working (after taking a while to figure out the settings I needed).
Great mod. Just what we needed. |
My host automatically does this, but i think this is even better as i can have my other admins do a restore without having to go in the ops. Great mod for people who don't have hosts that do this automatically!
|
Mine did too and when the HD crashed and I lost the site, guess which drive the backup they do was on. :cross-eyed:
|
something seems odd in my backup from last night. Out of no where it jumps extensively.
I store attachments in the file system, so thats not the cause. I KNOW I didn't have 80mb worth of members and posts yesterday. Anyone see anything like this before? I have no error logs or anything... :banana: |
Thanx works great
|
All times are GMT. The time now is 07:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|