Amazon 2s - does not work | Joomla 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
Amazon 2s - does not work
February 26, 2011
10:19 pm
Avatar
Tom
Member
Members
Forum Posts: 4
Member Since:
February 26, 2011
sp_UserOfflineSmall Offline

Hello,

Thanks for great script - I am trying it on my test server, however, after succesful backup the scripts halts at this message:

 

"### END REPORT

Backup Done

Backup file: /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (replaced)

Total backup size:705.6 MB

AMAZON S3: Starting communication with the Amazon S3 server..."

 

I am using Amazon and CDN services for this site to transfer images and other assests to account via scripts so there is no problems with server's configuration.

 

Please help.

Tom

February 26, 2011
10:58 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi Tom, which server command are you running the cron script and what is your php version?

 

Ovidiu

February 26, 2011
11:16 pm
Avatar
Tom
Member
Members
Forum Posts: 4
Member Since:
February 26, 2011
sp_UserOfflineSmall Offline

Ovidiu,

I am running following command via the browser: http://domain-name.c.....r.cron.php

The PHP version:

5.2.15

Thanks for super quick reply,

Tom

February 26, 2011
11:41 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Most probably it's timming out, i would advise using the console based one using the php executable, like

 

php /home/.../pathto/cloner.cron.php

 

Ovidiu

February 26, 2011
11:53 pm
Avatar
Tom
Member
Members
Forum Posts: 4
Member Since:
February 26, 2011
sp_UserOfflineSmall Offline

Hi,

I do not have access to telnet to I have tried by scheduling a cron job:

/usr/bin/php /home/username/public_html/administrator/components/com_xcloner-backupandrestore/cloner.cron.php

The backup file has been created but it was not transfered to Amazon s3. I have looked into error_log but there is no indication of any errors.

Cron job has e-mailed me following report:

 

### END REPORT

   </b><br />

<b>Backup Done</b><br />

<b>Backup file: /home/username/public_html/

administrator/backups/backup_2011-02-26_17-50_domain.com-sql-nodrop.tar</b><br />

<b>Total backup size:704.81 MB</b><br />

<b></b><br />

<b>AMAZON S3: Starting communication with the Amazon S3 server...</b><br />

 

Please advice.

Tom

February 27, 2011
12:22 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Could you test with a smaller size backup(up to 1-2MB), like a database only backup, and see if you get the same issue? 

Usually that indicates again a timeout, but it's pretty weird, is your cron setup to kill the process after a certain time?

The backup you have there is pretty large and it might take a long time to upload depending on the connection speed.

 

Ovidiu

February 27, 2011
12:29 am
Avatar
Tom
Member
Members
Forum Posts: 4
Member Since:
February 26, 2011
sp_UserOfflineSmall Offline

Ovidiu,

I have tried backing up database only and the transfer to Amazon worked!

Now, I am wondering how can I automate full backup transfer?

Tom

February 27, 2011
9:32 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Well I am guessing the issue you have is the backup size you have there, the script is either timming out while transferring the backup, or it's simply stopped due to a timeout issue, either way, i would advise checcking with your hosting support to see if they have some kind of curl limitation.

 

Ovidiu

February 28, 2011
7:01 pm
Avatar
spadilla
Member
Members
Forum Posts: 12
Member Since:
September 30, 2010
sp_UserOfflineSmall Offline

I am having the same exact problem only my backup is around 250MB. Is there anything in specific I should ask my host? I use hostgator and in the past they have been pretty helpful with regard to adjusting settings within reason.

February 28, 2011
8:56 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Try and ask them if there is any specific curl upload timeout, send them also the cron command you are trying to run

 

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