TAR is slow and timing out | 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
TAR is slow and timing out
March 1, 2012
4:33 pm
Avatar
Robert
Member
Members
Forum Posts: 4
Member Since:
March 1, 2012
sp_UserOfflineSmall Offline

I installed the latest xcloner into Joomla, running on Win32, on my own server. Oddly enough, the first backup seemed to go fine, although it didn't seem to back up the database. Now, when I try to run a backup, it runs SLOW while it's adding file to the Tar, maybe 100K every 30 seconds. Eventually, it times out with errors (No surprise). I assumed it was because Tar seemed to be implemented in PHP, and despite running on a very fast computer, scripts seem slow sometimes on my server. Anyway, I figured plan B would be to download Tar for Win32, and put in the link to Tar. However, I haven't been able to get that to work. I haven't got the mysqldump path to work either. I suspected the exact path syntax might be a little different, since I'm running win32, so I played with it, with no results. I'd love to fix both of these problems (Slow PHP, Path to Tar), but any advice would be greatly appreciated!

March 2, 2012
5:05 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

There is not need to use the server utilies tar/mysaldump if they are not working, the php code should work anyway.

 

As for the slow backup process, did you enable the Backup Compress option? If so, try and disable it, it should fix the speed issue!

 

If you would like to use that option however, you need to set the Manual backup option to No.

 

Regards, Ovidiu

March 2, 2012
6:14 pm
Avatar
Robert
Member
Members
Forum Posts: 4
Member Since:
March 1, 2012
sp_UserOfflineSmall Offline

Thanks, that worked. It still put everything in a Tar, I guess it just wasn't compressed. The first backup that worked wasn't compressed either (Nearly the same file size). It works, but hoping to polish it more. There's no progress bar (I'm guessing that's because of setting manual backup to no). Not a big deal, but if there's an easy way to bring it back...

 

Another non-important, but nice option would be to Zip instead of Tar. Could that be done easily by changing paths?

 

XCloner looks like a great program. Thanks!

March 3, 2012
12:58 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

ZIP is not supported anymore with XCloner, but i am looking into adding another archive option that hopefully will work better with XCloner.

 

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: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Adrian Stefan
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0