![]() |
If you copied the files and created a new cron task there isnt any reason you could not do that.
|
Quote:
Code:
Date Format: d How to add another option so besides taking daily backups, it also takes backups on 1-st of every month. Or maybe I'm missing something too obvious. Please advise. Thanks |
You would need to override the options in the copies you make (hard code them).
|
Quote:
From your mysqlbackup.php file, I see these rows referencing the settings Code:
$this->DATE = date($this->OPTIONS['cbu_date']); Code:
$this->DATE = date($M); Thanks |
Ok this is how you do it.
1. Make copies of the two product files: mysqlbackup2.php and cron/cronbackup2.php 2. Add three extra settings to product: cbu_date2: M cbu_prefix2: monthly-backup and cbu_path2: /home/user/my-custom-path/ 3. Make this change at mysqlbackup2.php From Code:
// File Information Code:
// File Information From Code:
require_once(DIR.'/includes/mysqlbackup.php'); Code:
require_once(DIR.'/includes/mysqlbackup2.php'); 6. Done It was too easy once you figure out, but thanks to Paul for giving the hints. Step 2 was key. I hope someone finds this useful. |
All times are GMT. The time now is 05:48 AM. |
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:
|