PHP time limitation stopping cron backup|Joomla Support|Forum Archive|XCloner

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
PHP time limitation stopping cron backup
March 23, 2012
9:35 am
Avatar
James
Member
Members
Forum Posts: 6
Member Since:
March 23, 2012
sp_UserOfflineSmall Offline

Hello Ovidiu,

 

Wondeful application, thank you! My only problem is I have a 30 second PHP limitation from my host. I can run a regular backup with no problem because I am using the Manual Backup with Javascript enabled in my browser. But my Cron backups keep stopping at around the 110mb point, which looks to be around that 30 second PHP script limiation.

 

I assume this is because no actual web browser is being used for the Cron job, so there is no javacript to handle the incremental backup. How do i get around that time limitation using automatic cron backups?

 

Thank you!

 

James

March 23, 2012
12:22 pm
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Which cron command format are you using and what type of scheduler do you have access to?

 

Ovidiu

March 23, 2012
3:22 pm
Avatar
James
Member
Members
Forum Posts: 6
Member Since:
March 23, 2012
sp_UserOfflineSmall Offline

XCloner! Support said:

Which cron command format are you using and what type of scheduler do you have access to?

 

Ovidiu


Hello Ovidiu,
 

Thank you for your quick response. I am using the PHP command and using this as the schedule: 0 0 * * * I have put this into the Cron section through my hosting company. I hope it is what you were asking.

i have another cron job setup just like this which runs and works find. Your backup cron runs as well, but it just doesnt complete as I mentioned. Thanks.

March 25, 2012
6:28 am
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hmm, in this case there isn't much you can do except to try and decrease the backup execution time by excluding some folders, or increasing the max_execution_time limit from the server, if allowed. I would also advise to keep the Backup Compression option to No to help in execution time saving...

 

Ovidiu

March 25, 2012
5:07 pm
Avatar
James
Member
Members
Forum Posts: 6
Member Since:
March 23, 2012
sp_UserOfflineSmall Offline

XCloner! Support said:

Hmm, in this case there isn't much you can do except to try and decrease the backup execution time by excluding some folders, or increasing the max_execution_time limit from the server, if allowed. I would also advise to keep the Backup Compression option to No to help in execution time saving...

 

Ovidiu

 

Hello Ovidiu,

Thank you for clarification. My host won't increase the time, but I think I can create multiple backups to stay withing the 30 second limitation. I tried Akeeba and it was just too difficult. Your program works for me when theirs wouldn't and you have excellent customer service. Thank you for you for the program and the assistance.


March 30, 2012
6:02 pm
Avatar
James
Member
Members
Forum Posts: 6
Member Since:
March 23, 2012
sp_UserOfflineSmall Offline

Hello Ovidiu,

 

Your current settings only allow you to enter login details for one mysql database, but I have two. Is there a way around this, because currently my backups will only contain my main database and not my second database. If not, is it possible to create a second xcloner installation so i can use it to backup only this second database?

 

Thanks.

March 31, 2012
7:52 am
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi James, you can use the XCloner standalone version if you like to setup a second xcloner setup, or you could simply assign your existing mysql user to the new database, then you will be able to select the extra databases when creating a backup...

 

Hope it helps! Ovidiu

March 31, 2012
1:59 pm
Avatar
James
Member
Members
Forum Posts: 6
Member Since:
March 23, 2012
sp_UserOfflineSmall Offline

Hello Ovidiu,

 

My host says i can't add a second user to my database, so I installed your standalone version and it just overrode the previous installation. My datbase information was still in there but other data including the xcloner password was gone.

I checked and both the cloner for joomla and the standalone have the same xcloner3.1.zip file name. is there something i need to do so it has a new name and therefore installs in a new component directory?

 

Thank you for your patience and help.

April 1, 2012
9:54 am
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

James, in order to install and use XCloner in standalone move, you simply need to create a separate directory  on your site, upload the XCloner files there, and then access it directly in your browser.

 

Ovidiu

April 1, 2012
8:39 pm
Avatar
James
Member
Members
Forum Posts: 6
Member Since:
March 23, 2012
sp_UserOfflineSmall Offline

Thanks Ovidiu, I got it working. I appreciate all the excellent support.

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 4
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: 10080
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Manuele Freddo_1
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0