dbcbackup_interval() needs to pass through cron schedules that other plugins create. Instead, it overwrites.
function dbcbackup_interval($scheds) {
$cfg = get_option(‘dbcbackup_options’);
$cfg[‘period’] = ($cfg[‘period’] == 0) ? 86400 : $cfg[‘period’];
$new_scheds = array(‘dbc_backup’ => array(‘interval’ => $cfg[‘period’], ‘display’ => __(‘DBC Backup Interval’, ‘dbc_backup’)));
return array_merge($new_scheds, $scheds);
}
I have backups set to run automatically, but they have been failing and the only message I see is that the .sql.gz. file failed to open and I see that it was not created. I have Gzips Level 2 set. But when I manually create a backup via the Create Now, it works. I need to auto backup, so any ideas?
]]>Hi
have installed this plugin and set the options to save to https://www.mysite/public_html/wp-contents/plugins/dbc-backup So far so good!
It says
Folder https://www.mysite/public_html/wp-content/plugins/dbc-backup exists.
File .htaccess exists.
File index.html exists.
but when i create a backup copy although it tells me i am successful I cannot see where it has saved the backup copy to. If i can’t find the file how can i create a restore?
]]>Dear sirs,
Just installed the plugin on a production site. We have lots of users and page views per day so I think database shall be a little big.
After installation/configuration I run a immediate backup.
The log shows success and the SQL file is created. The file is though, very small. And looking inside it shows that MySQL crashed.
Any suggestions? I copied the begining of the file below.
Thanks in advance,
— Database Cron Backup
— Version 1.0 for WordPress 2.5+
— Copyright Chris T aka Tefra https://www.t3-design.com
— Generated: Wednesday 22nd of December 2010 04:10 PM
— MySQL Server: Localhost via UNIX socket
— MySQL Server version: 5.1.47
— Database: xxx
— ——————————————————–
—
— Table structure of table wp_StatSurfer
—
DROP TABLE IF EXISTS wp_StatSurfer
;
CREATE TABLE IF NOT EXISTS wp_StatSurfer
(
id
mediumint(9) NOT NULL AUTO_INCREMENT,
date
tinytext COLLATE utf8_unicode_ci,
time
tinytext COLLATE utf8_unicode_ci,
ip
tinytext COLLATE utf8_unicode_ci,
urlrequested
text COLLATE utf8_unicode_ci,
agent
text COLLATE utf8_unicode_ci,
referrer
text COLLATE utf8_unicode_ci,
search
text COLLATE utf8_unicode_ci,
nation
tinytext COLLATE utf8_unicode_ci,
os
tinytext COLLATE utf8_unicode_ci,
browser
tinytext COLLATE utf8_unicode_ci,
searchengine
tinytext COLLATE utf8_unicode_ci,
spider
tinytext COLLATE utf8_unicode_ci,
feed
tinytext COLLATE utf8_unicode_ci,
user
tinytext COLLATE utf8_unicode_ci,
timestamp
tinytext COLLATE utf8_unicode_ci,
threat_score
smallint(6) DEFAULT NULL,
threat_type
smallint(6) DEFAULT NULL,
UNIQUE KEY id
(id
)
) TYPE=MyISAM AUTO_INCREMENT=821370 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
—
— Dumping data for table wp_StatSurfer
—
—
— Dumping data for table wp_StatSurfer
—
–MySQL client ran out of memory
—
— Table structure of table wp_StatSurfer_countries
—
–Lost connection to MySQL server during query
—
— Dumping data for table wp_StatSurfer_countries
With DBC Backup I get a mistake using Hosteurope as a provider:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /is/htdocs/wp1177995_0X0RW1OX2O/www/aikido-blog.de/wp-content/plugins/dbc-backup/dbcbackup.php on line 52
Anybody got a clue? It works with other providers so the problem should be the server.
]]>Parse error: syntax error, unexpected $end in [……]\wp-content\plugins\dbc-backup\dbcbackup-options.php on line 260
]]>