[SolidMean] ForumBackup

[SolidMean] ForumBackup 1.3.01

No permission to download
Yes, the cron task settings were set at midnight by default in the cron task itself, but then showed up as "next" time at 7pm and 7:30pm respectively, after initial installation. I am GMT-6 and (Central US) and that is what the ACP time is as. So by default right after install, this is what I saw.
 
getting weirder.

I had the cron for DB set to 9:00am (which resulted in the "next" being 4am) and the code at 9:03am (4:03am) because the DB takes less than a minute to backup, code only a few minutes.

Woke up this AM and the board was off.

e-mail timestamped 4:15am says the DB started at 9:14:41 and ended 9:15:05, which makes zero sense. the file that it created was timestamped 4:15am.

No e-mail for the code backup, but that was timestamped 4:16am

Will correct the proximity of the cron runs, but why would they run at 15 past the hour they were supposed to?
 
After a bit of playing with the time spacing I've been able to get this addon to the point of set it and forget it. Almost never have a board lockout, fantastically pleased with this addon

I don't know if this has been suggested, but it would be nice to be able to exclude a directory or set of directories from the Code Backup. For instance, if I set up a copy of the install for testing purposes and this include all of the media, then I'm backing this up twice because I can't deselect that folder.

Also it would be nice to be able to then set up separate cron jobs for certain folders. Say that I only want to backup up all media (photos and now videos) once a week, but I want daily backup of everything else.

I saw it mentioned somewhere that there is a paid version? Does the paid version do this maybe?

Thanks
Bud
 
Thanks for the suggestions. I'll see what I can provide.

The paid version is an add-on to this add-on that transfers your backup to another host via SFTP. Haven't had much time to add other transfer options.
 
SneakyDave updated [SolidMean] ForumBackup with a new update entry:

1.1.7 (New feature, support for future addon)

08/07/2015: Version 1.1.7
  • Added option for code backups to exclude specific items relative to the forum root.
  • Added support for the ForumBackup DropBox add-on

Read the rest of this update entry...

New option to exclude directories or files, based on @Floyd R Turbo 's suggestion:
upload_2015-8-7_12-42-19.webp

Also added support for a DropBox add-on similar to the SFTP add-on. Currently in testing.
 
There is a small bug with version 1.1.7 that I just found out. The code backup won't execute correctly unless you HAVE specified items to exclude. A new version (1.1.7 Patch1) will be released in a few minutes.
 
If you don't want to upgrade to 1.1.7 Patch A, Replace the Backup.php file in library/SolidMean/ForumBackup/CronEntry with this version:
 

Attachments

Haven't had time to upgrade but this AM, board was locked. I have DB cron set for 4am and code for 430am, I only got the email for the code cron which was at 450am. I looked in my back directory and the DB file is timestamped 407am and code at 449am, so they definitely didn't overlap, any idea why the board would have remain locked? Also I didn't get the email for the DB run, but just the one for the code run at 450am. This has happened a couple other times also: I get the email for the code run but not the DB run, and then the site remains locked. It doesn't happen often and I'm not sure why it's happening.
 
Do you have debug turned on (the add-on option for it)? If so, send me the last 200 lines or so of that in a conversation
 
If you turn on that debug option, manually execute a "ForumBackup Database" cron manually, and then send me the file, it'll be in your forumbackup location.

I sent you a conversation with other questions.
 
The setting is actually for how many copies to keep, not how many days to keep. That way, you can run backups as often as you like, and keep however many copies you'd like.

Can you send me a screen shot of your options in a personal conversation, and can you turn debug on from the "miscellaneous options" tab, and run the backup again. Send me the results of the debug file named "forumbackup.log" (or whatever the name of your backup files are).
 
Not sure if this was mentioned but:

Server Error

exec() has been disabled for security reasons

  1. XenForo_Application::handlePhpError()
  2. exec() in SolidMean/ForumBackup/Install.php at line 103
  3. SolidMean_ForumBackup_Install->_installVersion1() in SolidMean/ForumBackup/Install.php at line 91
  4. SolidMean_ForumBackup_Install::build()
  5. call_user_func() in XenForo/Model/AddOn.php at line 215
  6. XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
  7. XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 188
  8. XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 347
  9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  10. XenForo_FrontController->run() in /customers/e/b/d/dreamaion-forum.com/httpd.www/admin.php at line 13
 
See requirements for this add-on, PHP exec() is required. The only thing you can do is not use the add-on, get a new host, or convince your host to let you use it.

Requirements
  • This add-on uses the PHP exec() function to run the mysqldump and tar commands to backup the database and forum directory, respectively. If you are on shared hosting, you may not have access to the exec() function. The installation should fail if this is the case.
  • Your server must have the mysqldump and tar commands available. For 95% of XenForo installations, this shouldn't be a problem. You may have to specify the location of mysqldump in the options if the add-on tells you that mysqldump can't be found.
  • For larger boards, you may need to have a pretty high PHP max_execution_time. From my testing, it took less than a minute to backup the database and forum root with 200,000+ posts and 3000+ members.
  • XenForo 1.3.0 and above, and PHP 5.3+ is required.[/B][/B]
 
Back
Top Bottom