Patches: Config editing / Temporary folder | General Questions and Support | 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
Patches: Config editing / Temporary folder
May 19, 2013
1:15 pm
Avatar
Guest
Guests

Hi.

I had been searching for a stand-alone solution for backing up the several websites i have on my domain, on a shared host. XCloner is a decent solution (and it has a great price Laugh). However, there were two things i really didn't like about it, so i thought i'd fix them.

The first issue was the temporary backup path. I don't want to have to add “administrator/backups” folders to each of my websites, so i replaced that with “.xcloner”. Now, all i have to do is create an “.xcloner” folder at the root of each website (with a suitable .htaccess file) and that's it. I have uploaded a patch here: xcloner_backup-temporary-path.zip .

The second issue was maintaining the multiple config files. I don't want to have to backup and replace “cloner.config.php” every time i need to edit one of the config files. So, i modified XCloner to accept another URL paramenter: “config” (like cloner.cron.php). Here is another patch: xcloner_edit-multiple-configs.zip . At the top of my head i can already think of an improvement to this: at the cron tab of the configuration page add an “edit config” link to each of the “Available Configurations”. It would have been easy, but i didn't remember it at the time and i don't feel like doing it now.

Any way, since i got XCloner for free, i figured i'd give something back. This is my way of saying “Thanks, Ovidiu!”.Smile

Sergio

May 20, 2013
6:52 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi Sergio, thanks for the post, and you are right, the edit custom cron config is a must, i will work on adding that up!

Thanks again! 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
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 737
Members: 9946
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Vargas
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0