@tvleavitt: It is a simple html form with php validation, nothing fancy. What was the error that you were receiving? Do you have register_globals turned on?
@buffy: Thats another strange error. Which directory are you changing the permissions on? You could rename the path in brvars.php and create a fresh directory. I have a feeling there is a configuration problem there somewhere. If you are confused about some of the readme instructions, email me or post on here and I will try to help.
Peace
LL: I just installed the latest version. However, when I go to backup_restore.php, I just get a blank page. Help!
Cena, remember the old fix I gave you where I deleted all the comments and left the code, try that on this version as well. Namely, remove every line starting with a //or a # and remove everything in between /* and blah blah and */
Email me with updates if you like because this thread gets lost. :-)
timsamoff
Member
Posted 9 years ago #
That's an awesome trick. Thanks.
Tim
http://www.sense-datum.org/tim
LL,
I setup the new version in the same folder (wp-backup) I had the previous version and it chokes when including the admin-header.php and admin-footer.php because it's lookin in the current folder for these files, but they are in the wp-admin folder. When I change the includes to reflect the file locations, it chokes on menu.txt, menu.php, and several others.
Hmmmm....I didnt test it, I guess I should have. Sorry :-(
I will take the new download off-line till this issue is resolved.
@MtDew
I put all the files in the wp-admin folder.
When I originaly tried this hack, I thought it was deleting all the files in the backup folder and putting in new ones. So, I moved the admin files to the admin directory. Once they are in there, I haven't had a problem with them.
However, I am guessing that the errors are in the admin header trying to point to files that are supposed to be in the same folder. So, I guess the fix would be to move the admin files to the wp-admin folder. Not a really good fix, but I'll look into it some more.
I believe here is where the errors occur. You could either change the paths to relative to the site root or just move the Backup & Restore files to the wp-admin directory.
in the admin-header.php file
include('menu.php');
in the menu.php file
$menu = file('./menu.txt');
my directory structure
/blog
/blog/wp-admin - all admin pages
/blog/wp-backup - just for the backup files
/blog/wp-images
/blog/wp-includes
And one more thing.
If you don't want to edit the admin-footer.php file, you can add a menu item by opening up menu.txt and adding Backup & Restore to the menu list.
level +tab +start file +tab +menu text
10 backup_restore.php Backup & Restore
I think I'll just suggest that in my next hack.
Any chance the devs will incorporate the backup/restore hack into WP soon... :-?
I'm trying to do a backup and when I click on "Backup Database" I get a message that it worked correctly, but there's no backup file in my backup folder. I'm not sure what I'm doing wrong. I've read through this thread and seen mention of a dump.php file, but can't seem to find that anywhere.
I fear I am just not going to understand this one.
-Daisyhead
@DaisyHead: Did you see the new upgraded version. Look at my post right above yours for the new URI. That has a much better backup engine and should work!
Didn't see that LL. I'll give it a whirl. Thanks!
Hi, I tried to install your plugin, but apparently it is no longer compatible with the upcoming Version 1.5.1 of WP.
Do you plan updating your cool Plugin?
cheers wol