rackspace cloudfiles - Error trying use duplicity for backups

I was asked to help with broken backup script on legacy system.There is a script file on server which should run hourly to put DB backup to Rackspace cloud. And here is the result.START cf-postgresql-dump ...Wed 04 Nov 2015 06:49:09 AM ESTSynchronizing remote metadata to local cache...Copying duplicity-full-signatures.20130622T180407Z.sigtar.gpg to local cache.Download of 'duplicity-full-signatures.20130622T180407Z.sigtar.gpg' failed (attempt 1): CloudFiles returned: 404 Not FoundDownload of 'duplicity-full-signatures.20130622T180407Z.sigtar.gp...Read more

Rackspace Cloud Files - [curl] 6: Couldn't resolve host 'identity.api.rackspacecloud.com' Exception thrown

The code below in localhost works fine and in server it throws an error [curl] 6: Couldn't resolve host 'identity.api.rackspacecloud.com' $client = new Rackspace(Rackspace::UK_IDENTITY_ENDPOINT, array( 'username' => $username, 'apiKey' => $apiKey, 'ssl.certificate_authority' => false, 'curl.options' => array('debug' => true, CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4) ));I ping in server identity.api.rackspacecloud.com and it works fine. And I f...Read more