![]() |
Sorry, I have no idea what MysqlHotCopy even is.
I have no plans to make any changes to this in the near future, and any that do get made will be minor. |
Why should I or should't I close down the forums?
Why should I or should't I lock the tables? Does it make multiple backups? So when there's one in place, does it make a new one? Can it backup to a FTP? |
1 & 2 - Your choice - there is no should or shouldn't.
3. Backups are date based, so each day you get a new copy, run it twice on the same day and one will overwrite the other. 4. No. |
Loud and clear!
About the closing and locking: is there an advantage to do so? |
In the setting, should I use this location: /var/www/vhosts/mysite/httpdocs/dbbackup/ or from the root /dbbackup/
And does it also work with PHP 5 |
Quote:
Quote:
Yep I'm using PHP 5.2.0 so far its working :) |
Quote:
|
Thanks a bunch for this. :up:
I originally had problems because I was timing out when it hit my postindex table, so I just removed that table from the backup list and it works like a charm now. Thanks again! Patrice |
[high]* projectego clicks install ;)[/high]
|
If I read ONE MORE POST about how to set the path correctly or receiving the
Quote:
Setting the correct path for Linux Distributions Original Line Quote:
You should know the path to your forums. Most people will have a shared hosting account so you need to contact your host (or look into the original email sent to you when you purchased your hosting) to get the path. If you are on a shared hosting the path names will differ a little but in essense they are the same. ========================================== A typical path, for example, for suse will be: Quote:
When you log in with FTP you will probably be at Quote:
Quote:
================================== If you change the original line to something like Quote:
========================================== So how do I actually know where to store the backup files? You can use . or .. to change directories without knowing the actual path. You know 100% that the script is in /forum/includes/ (or whatever your forum directory is called). So let's take you back to YOUR parent base directory. ========================================== Quote:
From: To (remember you have an additional folder like httpdocs, hence 3) Quote:
In paths, this would be going from: Quote:
Quote:
========================================== So use an FTP program and navigate to your base http folder where you can see the folder to upload files to the web where others can access them (httpdocs for example) (Before) Something similar to this... Code:
/httpsdocs (After) /httpsdocs /httpdocs /mybackups(This is the folder you created) /cgi-bin /test /stats ========================================== Now edit the config file and set the path to something like this: Quote:
The script will automatically change directories and save your files there. ========================================== If you get the "(Could not open Destination SQL file for writing.)" Error you need to check to make sure it's set to 777. If you still get the error you may need to change the path to: Quote:
AND create the folder mybackups inside the httpdocs folder (same directory where /forum is) and CHMOD that to 777. /forum /mybackups(This is the folder you created) /picturs /whatever ============================ ============================ Nice Hack. Installed and working with no problems. Thanks for this :) |
All times are GMT. The time now is 11:12 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:
|