Mutiple Cron Backups | Old Forum | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
Mutiple Cron Backups
September 17, 2006
12:00 am
Avatar
paypal@adrianjwright
Guest
Guests

thnx for this great component - makes the whole process of taking a regular, dependable, restorable(!) backup so much easier.

I hope I'm not repeating a question that gets asked all the time - I want to schedule two types of backups of the site:
[ul][li]1 weekly backup of everything.[/li]
[li]1 nightly backup of the database only (so I never lose an order)[/li][/ul]

is this possible?

September 17, 2006
12:00 am
Avatar
admin
Guest
Guests

Hi there! It's possible with some little adjustments, here is what you would have to do:

- go in administrator/components/com_cloner/, there you will find a file called cloner.cron.php, copy that files contents into another like cloner.cron2.php
- second, create this file cloner.config2.php from the original cloner.cron.php, this is the main configuration file telling the cron what to do
- third open the file cloner.cron2.php and find this line

[code:1]include_once("cloner.config.php"«»);[/code:1]

and replace it with

[code:1]include_once("cloner.config2.php"«»); [/code:1]

Note: the cloner.cron2.php will have the settings from the original config, so whatever you have set there it will be run as it is, for example if you want to make the database cron only, go in Configuration first, choose that, save it and then move the cloner.config.php to cloner.config2.php! This way you would be able to run cloner.cron2.php as a database backup!

To run the weekly full backup, after this, go in the Configuration again, change the settings for full backup and done, you are able to run cloner.cron.php as a full backup process!

If you need help, just open a ticket and i will help you set it up!

Regards, Ovidiu

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
D: 21
Andy: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10052
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
ISIDORO ILARDO
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0