The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
15 благодарности(ей) от: | ||
dellow, dlewisr, elsa23, findingpeace, Hostboard, kemana, nacaruncr, prandah, RichieBoy67, Rubio, sarvarjafari, seb5594, tareqbd, to_die4 |
Comments |
#852
|
|||
|
|||
I get this when trying to write the backup.
Quote:
|
#853
|
|||
|
|||
now ONLY THING IS THIS I'M GETTING AN ERROR
Backup Error : Could not write to destination file ( home2/gagalitt/backups/2013-06-08/Forum-2013-06-08-Gagalittaccess.sql ) |
#854
|
||||
|
||||
Your web server doesnt have permission to write the files.
|
#855
|
||||
|
||||
finally got my path correct, works fine, thank you
|
#856
|
|||
|
|||
Paul you are a God dude! Thank You So Much this is going to save people's bottoms without a doubt and if I would have found it last week it would have definitely would have helped me out last night, VB support Trevor is a very nice guy but how many of us have SSH access to our servers?
|
#857
|
|||
|
|||
I installed this mod today and then added in a few extra steps
Quote:
Quote:
Quote:
http://ericlondon.com/posts/221-sett...d-rsync-backup I then set up a script to run in a cron job every day to take the output from this mod (the SQL database backup) as well as grabbing my two other SQL databases (currently a wordpress and vb5 testing install, both of which are tiny) and doing a full rsync of the public_html directory which ends up looking something like this: Code:
#!/bin/bash # Setup Filename & Date NOW=$(date +"%Y-%m-%d") FILE1="$NOW.wordpress.sql" FILE1Z="$NOW.wordpress.sql.tar.gz" FILE2="$NOW.vb5test.sql" FILE2Z="$NOW.vb5test.sql.tar.gz" # Move to directory cd /home/USERFOLDER/backup # Dump SQL databases mysqldump -pPASSWORD -u SQLUSER SQLWORDPRESSDATABASE > $FILE1 mysqldump -pPASSWORD -u SQLUSER SQLVBULLETINDATABASE > $FILE2 # Compress Files tar -pczf $FILE1Z /home/USERFOLDER/backup/$FILE1 tar -pczf $FILE2Z /home/USERFOLDER/backup/$FILE2 # Delete Backups rm -rf /home/USERFOLDER/backup/$FILE1 rm -rf /home/USERFOLDER/backup/$FILE2 # Sync SQL Files rsync -avz /home/USERFOLDER/backup/ USER@IPADDRESS:~/backupfolder/sql_backups/ # Move to directory cd /home/USERFOLDER/backup # Delete SQL Backups from local server (Forum* covers all outputs from this mod as I have used the prefix) rm -rf Forum* rm -rf /home/USERFOLDER/backup/$FILE1Z rm -rf /home/USERFOLDER/backup/$FILE2Z # Sync public_html Folder rsync -avz /home/USERFOLDER/public_html/ USER@IPADDRESS:~/backupfolder/public_html/ /usr/local/cpanel/scripts/backup.sh >> /home/USERFOLDER/backup/backup.log 2>&1 This script is a little dirty and could be cleaned up a little, but it does work and it give me pretty much a full backup of my system for later use. Any comments are welcome. |
#858
|
|||
|
|||
How do i solve this sir?
|
#859
|
||||
|
||||
Fix the permissions
If you dont know how to do that yourself, ask someone who does, or speak to your host about how to do it. |
#860
|
|||
|
|||
Paul this mod is just awesome and working fine for me.
I want to know if u can add password encryption for backups to this mod ? if server or shared hosting get hacked bad guys can have access to database but they cant do this if database backups are encrypted with good password. Thank You |
#861
|
||||
|
||||
I installed this and could someone please tell me if I created a folder "backups" right outside of my public_html folder... where all do I enter this and how exactly do I type it in? I also selected in the task manager the vbulletin option from the drop down menu... is that correct from what I have read? I have a new forum and when I run it, it just says "done" immediately, but then I don't see a file anywhere. Should I be doing this as one file also? I have no idea what I am doing!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|