---
http_interactions:
- request:
method: get
uri: https://myhost.com:2087/json-api/restoreaccount?all=0&api.version=1&ip=0&mail=0&mysql=0&subs=0&type=daily&user=privs
body:
encoding: US-ASCII
string: ''
headers:
Authorization:
- WHM root:iscool
response:
status:
code: 200
message: OK
headers:
Content-Type:
- text/plain
Server:
- cpsrvd/11.28.64
Transfer-Encoding:
- chunked
body:
encoding: UTF-8
string: ! '{"metadata":{"result":0,"reason":"Unable to find archive at /backup/cpbackup/daily","version":1,"command":"restoreaccount"}}'
http_version: '1.1'
recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
method: get
uri: https://myhost.com:2087/json-api/restoreaccount?all=0&api.version=1&ip=0&mail=0&mysql=0&subs=0&type=daily&user=privs
body:
encoding: US-ASCII
string: ''
headers:
Authorization:
- WHM root:iscool
response:
status:
code: 200
message: OK
headers:
Server:
- cpsrvd/11.28.64
Transfer-Encoding:
- chunked
Changing-Password-For-Privs:
- ! ' '
Password-For-Privs-Has-Been-Changed:
- ! ' '
Content-Type:
- text/plain
body:
encoding: UTF-8
string: ! '{"metadata":{"result":1,"reason":"OK","version":1,"command":"restoreaccount","output":{"raw":"Extracting
tarball...................\nDone
\nExtracting Domain....Done
\nDone
\n
Restoring cpanel user config fileDone
\n
Restoring
reseller privs (if any)
Restoring Locale Setting
Restoring SSL keys
and CertificatesDone
\n
Restoring frontpage (if installed)Done
\n
Restoring access logs....\nDone
\n
Restoring domain
keys....\nDone
\n
Restoring DB MAP File....\nDone
\n
Restoring PostgreSQL databases....\nPostgreSQL
is not installed. Skipping.
\nRestoring Mailman listsDone
\n
Restoring
Mailman ArchivesDone
\n
Restoring shell
Current
shell /usr/local/cpanel/bin/jailshell is up to date.\n
Done
\n
Restoring password
Done
\n
Restoring proftpd fileDone
\n
Resyncing FTP PasswordsUpdating
ftp passwords for privsFtp password files updated.Ftp vhost passwords synced
Done
\n
Linking old home directories
Parsing Domain Databases...ParkedDomains......AddonDomains...
Restoring Domains
\n
Restoring Bandwidth DataDone\n
Restoring
Counter Data
Restoring Homedir....
Done
\n
Doing fileprotect conversion
Restoring nobody owned filesDone
\n
Restoring userdata....\nDone
\n
Restoring custom
virtualhost templates....\nConverting email to cPanel 5+ (if needed)
Done
\n
Cleaning up filters (if needed)vfilter converter
v3.0Updating vfilter files to latest format.Running for privs only (force=0)
(has_spam_acl=1)Processing privs......Done
Done
\n
Fixing mail permissions
Done
\n
Restoring crontabDone
\nConverting to maildir if needed
Done
\nRestoring Dns ZonesRestoring zone: privs.com.db\nUnable
to determine IP address for privs.com!Could not get zone ip for privs.com..
skipping changes.\n
Adding missing subdomain DNS entries
(if needed)
Updating SPF Records
Done
\n
Restoring quota
Done
\n
Update mail routingLOCAL MAIL EXCHANGER: This server
will serve as a primary mail exchanger for privs.com''s mail.: This configuration
has been manually selected.\n
Done
\n
Rebuilding
Apache Conf
Restore CompleteAccount Restore Complete\nUnlocking password
for user privs.passwd: Success.
"}}}'
http_version: '1.1'
recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
method: get
uri: https://myhost.com:2087/json-api/restoreaccount?all=0&api.version=1&ip=0&mail=0&mysql=0&subs=0&type=daily&user=changeme
body:
encoding: US-ASCII
string: ''
headers:
Authorization:
- WHM root:iscool
response:
status:
code: 200
message: OK
headers:
Server:
- cpsrvd/11.28.64
Transfer-Encoding:
- chunked
Changing-Password-For-Changeme:
- ! ' '
Password-For-Changeme-Has-Been-Changed:
- ! ' '
Content-Type:
- text/plain
body:
encoding: UTF-8
string: ! '{"metadata":{"result":1,"reason":"OK","version":1,"command":"restoreaccount","output":{"raw":"Extracting
tarball...................\nDone
\nExtracting Domain....Done
\nDone
\n
Restoring cpanel user config fileDone
\n
Restoring
reseller privs (if any)
Restoring Locale Setting
Restoring SSL keys
and CertificatesDone
\n
Restoring frontpage (if installed)Done
\n
Restoring access logs....\nDone
\n
Restoring domain
keys....\nDone
\n
Restoring DB MAP File....\nDone
\n
Restoring PostgreSQL databases....\nPostgreSQL
is not installed. Skipping.
\nRestoring Mailman listsDone
\n
Restoring
Mailman ArchivesDone
\n
Restoring shellCurrent
shell /usr/local/cpanel/bin/noshell is up to date.\n
Done
\n
Restoring password
Done
\n
Restoring proftpd fileDone
\n
Resyncing FTP PasswordsUpdating
ftp passwords for changemeFtp password files updated.Ftp vhost passwords synced
Done
\n
Linking old home directories
Parsing Domain Databases...ParkedDomains......AddonDomains...
Restoring Domains
\n
Restoring Bandwidth DataDone\n
Restoring
Counter Data
Restoring Homedir....
Done
\n
Doing fileprotect conversion
Restoring nobody owned filesDone
\n
Restoring userdata....\nDone
\n
Restoring custom
virtualhost templates....\nConverting email to cPanel 5+ (if needed)
Done
\n
Cleaning up filters (if needed)vfilter converter
v3.0Updating vfilter files to latest format.Running for changeme only (force=0)
(has_spam_acl=1)Processing changeme......Done
Done
\n
Fixing mail permissions
Done
\n
Restoring crontabDone
\nConverting to maildir if needed
Done
\nRestoring Dns ZonesRestoring zone: example.com.db\nUnable
to determine IP address for example.com!Could not get zone ip for example.com..
skipping changes.\n
Adding missing subdomain DNS entries
(if needed)
Updating SPF Records
Done
\n
Restoring quota
Done
\n
Update mail routingLOCAL MAIL EXCHANGER: This server
will serve as a primary mail exchanger for example.com''s mail.: This configuration
has been manually selected.\n
Done
\n
Rebuilding
Apache Conf
Restore CompleteAccount Restore Complete\nUnlocking password
for user changeme.passwd: Success.
"}}}'
http_version: '1.1'
recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
method: get
uri: https://myhost.com:2087/json-api/restoreaccount?all=0&api.version=1&ip=0&mail=0&mysql=0&subs=0&type=daily&user=privsfdsa
body:
encoding: US-ASCII
string: ''
headers:
Authorization:
- WHM root:iscool
response:
status:
code: 200
message: OK
headers:
Server:
- cpsrvd/11.28.64
Transfer-Encoding:
- chunked
Content-Type:
- text/plain
body:
encoding: UTF-8
string: ! '{"metadata":{"result":0,"reason":"Unable to find archive at /backup/cpbackup/daily","version":1,"command":"restoreaccount"}}'
http_version: '1.1'
recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
method: get
uri: https://myhost.com:2087/json-api/restoreaccount?all=0&api.version=1&ip=0&mail=0&mysql=0&subs=0&type=daily&user=notexists
body:
encoding: US-ASCII
string: ''
headers:
Authorization:
- WHM root:iscool
response:
status:
code: 200
message: OK
headers:
Server:
- cpsrvd/11.28.64
Transfer-Encoding:
- chunked
Content-Type:
- text/plain
body:
encoding: UTF-8
string: ! '{"metadata":{"result":0,"reason":"Unable to find archive at /backup/cpbackup/daily","version":1,"command":"restoreaccount"}}'
http_version: '1.1'
recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
method: get
uri: https://myhost.com:2087/json-api/restoreaccount?all=0&api.version=1&ip=0&mail=0&mysql=0&subs=0&type=daily&user=notexists
body:
encoding: US-ASCII
string: ''
headers:
Authorization:
- WHM root:iscool
response:
status:
code: 200
message: OK
headers:
Server:
- cpsrvd/11.28.64
Transfer-Encoding:
- chunked
Content-Type:
- text/plain
body:
encoding: UTF-8
string: ! '{"metadata":{"result":0,"reason":"Unable to find archive at /backup/cpbackup/daily","version":1,"command":"restoreaccount"}}'
http_version: '1.1'
recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
method: get
uri: https://myhost.com:2087/json-api/restoreaccount?all=0&api.version=1&ip=0&mail=0&mysql=0&subs=0&type=daily&user=changeme
body:
encoding: US-ASCII
string: ''
headers:
Authorization:
- WHM root:iscool
response:
status:
code: 200
message: OK
headers:
Server:
- cpsrvd/11.28.64
Transfer-Encoding:
- chunked
Content-Type:
- text/plain
body:
encoding: UTF-8
string: ! '{"metadata":{"result":1,"reason":"OK","version":1,"command":"restoreaccount","output":{"raw":"Extracting
tarball...................\nDone
\nExtracting Domain....Done
\nDone
\n
Restoring cpanel user config fileDone
\n
Restoring
reseller privs (if any)
Restoring Locale Setting
Restoring SSL keys
and CertificatesDone
\n
Restoring frontpage (if installed)Done
\n
Restoring access logs....\nDone
\n
Restoring domain
keys....\nDone
\n
Restoring DB MAP File....\nDone
\n
Restoring PostgreSQL databases....\nPostgreSQL
is not installed. Skipping.
\nRestoring Mailman listsDone
\n
Restoring
Mailman ArchivesDone
\n
Restoring shellCurrent
shell /usr/local/cpanel/bin/noshell is up to date.\n
Done
\n
Restoring password
Done
\n
Restoring proftpd fileDone
\n
Resyncing FTP PasswordsUpdating
ftp passwords for changemeFtp password files updated.Ftp vhost passwords synced
Done
\n
Linking old home directories
Parsing Domain Databases...ParkedDomains......AddonDomains...
Restoring Domains
\n
Restoring Bandwidth DataDone\n
Restoring
Counter Data
Restoring Homedir....
Done
\n
Doing fileprotect conversion
Restoring nobody owned filesDone
\n
Restoring userdata....\nDone
\n
Restoring custom
virtualhost templates....\nConverting email to cPanel 5+ (if needed)
Done
\n
Cleaning up filters (if needed)vfilter converter
v3.0Updating vfilter files to latest format.Running for changeme only (force=0)
(has_spam_acl=1)Processing changeme......Done
Done
\n
Fixing mail permissions
Done
\n
Restoring crontabDone
\nConverting to maildir if needed
Done
\nRestoring Dns ZonesRestoring zone: example.com.db\nUnable
to determine IP address for example.com!Could not get zone ip for example.com..
skipping changes.\n
Adding missing subdomain DNS entries
(if needed)
Updating SPF Records
Done
\n
Restoring quota
Done
\n
Update mail routingLOCAL MAIL EXCHANGER: This server
will serve as a primary mail exchanger for example.com''s mail.: This configuration
has been manually selected.\n
Done
\n
Rebuilding
Apache Conf
Restore CompleteAccount Restore Complete\nUnlocking password
for user changeme.passwd: Success.
"}}}'
http_version: '1.1'
recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
method: get
uri: https://myhost.com:2087/json-api/restoreaccount?all=0&api.version=1&ip=0&mail=0&mysql=0&subs=0&type=daily&user=notexists
body:
encoding: US-ASCII
string: ''
headers:
Authorization:
- WHM root:iscool
response:
status:
code: 200
message: OK
headers:
Server:
- cpsrvd/11.28.64
Transfer-Encoding:
- chunked
Content-Type:
- text/plain
body:
encoding: UTF-8
string: ! '{"metadata":{"result":0,"reason":"Unable to find archive at /backup/cpbackup/daily","version":1,"command":"restoreaccount"}}'
http_version: '1.1'
recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
method: get
uri: https://myhost.com:2087/json-api/restoreaccount?all=0&api.version=1&ip=0&mail=0&mysql=0&subs=0&type=daily&user=changeme
body:
encoding: US-ASCII
string: ''
headers:
Authorization:
- WHM root:iscool
response:
status:
code: 200
message: OK
headers:
Server:
- cpsrvd/11.28.64
Transfer-Encoding:
- chunked
Content-Type:
- text/plain
body:
encoding: UTF-8
string: ! '{"metadata":{"result":1,"reason":"OK","version":1,"command":"restoreaccount","output":{"raw":"Extracting
tarball...................\nDone
\nExtracting Domain....Done
\nDone
\n
Restoring cpanel user config fileDone
\n
Restoring
reseller privs (if any)
Restoring Locale Setting
Restoring SSL keys
and CertificatesDone
\n
Restoring frontpage (if installed)Done
\n
Restoring access logs....\nDone
\n
Restoring domain
keys....\nDone
\n
Restoring DB MAP File....\nDone
\n
Restoring PostgreSQL databases....\nPostgreSQL
is not installed. Skipping.
\nRestoring Mailman listsDone
\n
Restoring
Mailman ArchivesDone
\n
Restoring shellCurrent
shell /usr/local/cpanel/bin/noshell is up to date.\n
Done
\n
Restoring password
Done
\n
Restoring proftpd fileDone
\n
Resyncing FTP PasswordsUpdating
ftp passwords for changemeFtp password files updated.Ftp vhost passwords synced
Done
\n
Linking old home directories
Parsing Domain Databases...ParkedDomains......AddonDomains...
Restoring Domains
\n
Restoring Bandwidth DataDone\n
Restoring
Counter Data
Restoring Homedir....
Done
\n
Doing fileprotect conversion
Restoring nobody owned filesDone
\n
Restoring userdata....\nDone
\n
Restoring custom
virtualhost templates....\nConverting email to cPanel 5+ (if needed)
Done
\n
Cleaning up filters (if needed)vfilter converter
v3.0Updating vfilter files to latest format.Running for changeme only (force=0)
(has_spam_acl=1)Processing changeme......Done
Done
\n
Fixing mail permissions
Done
\n
Restoring crontabDone
\nConverting to maildir if needed
Done
\nRestoring Dns ZonesRestoring zone: example.com.db\nUnable
to determine IP address for example.com!Could not get zone ip for example.com..
skipping changes.\n
Adding missing subdomain DNS entries
(if needed)
Updating SPF Records
Done
\n
Restoring quota
Done
\n
Update mail routingLOCAL MAIL EXCHANGER: This server
will serve as a primary mail exchanger for example.com''s mail.: This configuration
has been manually selected.\n
Done
\n
Rebuilding
Apache Conf
Restore CompleteAccount Restore Complete\nUnlocking password
for user changeme.passwd: Success.
"}}}'
http_version: '1.1'
recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
recorded_with: VCR 2.0.0
...