Once completed, the whole file could be optionally uploaded off-site to either one of these cloud-based solutions or to a distinct FTP site, with the lcoal copy optionally deleted upon completion. We are willing to implement this feature.

Comments

thehong’s picture

Title: Cloud Upload: Automatically upload back-up file to Amazon S3, Nirvanix, or FTP site » Support Nirvanix destination

S3, FTP destination already implemented in 6.x-2.x branch.

--
Andy

ronan’s picture

As thehong mentioned, ftp and S3 are already supported, but if you'd like to submit a patch for Nirvanix, I'd happily include it in the module. The existing S3 or FTP implementations should provide a basic model for how to implement that as there's still no API documentation for creating destination types.

Thanks
Ronan

vietcoop’s picture

Assigned: Unassigned » vietcoop
StatusFileSize
new24.84 KB
vietcoop’s picture

Status: Active » Needs review
ronan’s picture

Status: Needs review » Needs work
StatusFileSize
new7.44 KB

Wow, awesome, thanks for all the hard work. I don't have a Nirvanix account, so I couldn't test the functionality, but the code seems fine.

Looks like the Nirvanix API is not GPL code though, so I can't commit it to the Drupal CVS. We'll have to add instructions on how do download it for those who want to use it.

This patch has the API code removed and a message to download it instead. I couldn't find a direct link to the API on the Nirvanix developer site. This: http://developer.nirvanix.com/files/folders/php/entry46.aspx is the closest I found. If you know where we can get the API code alone let me know, otherwise we can put in a description of how to extract it from the reference app.

Also, there needs to be an error message if connection to Nirvanix fails. Right now it looks like backups to nirvanix destinations are succeeding even when they fail, and directory listings seem to just be empty but it would be nice to tell the user that their connection info is wrong.

Thanks again.
R

vietcoop’s picture

Niranix PHP API does not return any error. Should I rewrite this API?

Andy

ronan’s picture

Status: Needs work » Closed (won't fix)

Closing this in to clean up old tickets. Please reopen if it's still applicable.