Problem in saving backups to Amazon S3 (using Cron or SSH) | Page 2 | Wordpress 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_Feed Topic RSSsp_TopicIcon
Problem in saving backups to Amazon S3 (using Cron or SSH)
February 24, 2011
10:47 am
Avatar
Andrey
Member
Members
Forum Posts: 4
Member Since:
February 24, 2011
sp_UserOfflineSmall Offline

curl info:

cURL Available Primary GET
Primary POST
Primary GET(non-blocking)
Primary POST(non-blocking)
Please wait...

Successfully retrieved & verified document from http://tools.dd32.id.....ontrol.php

February 24, 2011
10:53 am
Avatar
Andrey
Member
Members
Forum Posts: 4
Member Since:
February 24, 2011
sp_UserOfflineSmall Offline

xcloner successfully created new bucket, but is empty.

February 24, 2011
11:20 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Have you checked if the firewall from your server might be causing the upload issues? If it's a shared server, you might need to ask your hosting support to look into this. Same goes for the dns thing i indicated in my previous post.

 

If you run this php code on your server

 

<?php

echo gethostbyname("s3.amazonaws.com");

?>

 

do you get an ip address?

 

The issue you have is clearly related to curl and how it's being processes on the original server, so your best bet to fix the issue is your hosting support!

Also, the original developer of the amazon S3 class can be reached here http://undesigned.or.....hp-class , there might be somebody on that list that could help you faster.

 

Cheers, Ovidiu

February 24, 2011
11:35 am
Avatar
Andrey
Member
Members
Forum Posts: 4
Member Since:
February 24, 2011
sp_UserOfflineSmall Offline

I get IP of s3.amazonaws.com

top-left on akonst.ru )

 

creation of new bucket "akonstrubackup" is OK, but file transfer not working

February 24, 2011
12:21 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Got it, so the communication with amazon works, the only thing failing is the actual curl file upload.

 

The s3 class uses these standard curl directives to send the data over CURLOPT_INFILE and CURLOPT_INFILESIZE over CURLOPT_PUT, what is the size of the backup archive you are trying to send? Try and see if a smaller backup (like a database only type) has the same upload issue.

 

If it still fails, i am afraid it's an issue from your curl installation on your server which you will need to debug with your hosting support.

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:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0