---
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::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:
headers:
authorization:
- WHM root:iscool
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
content-type:
- text/plain
server:
- cpsrvd/11.28.64
transfer-encoding:
- chunked
body: "{\"metadata\":{\"result\":0,\"reason\":\"Unable to find archive at /backup/cpbackup/daily\",\"version\":1,\"command\":\"restoreaccount\"}}"
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::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:
headers:
authorization:
- WHM root:iscool
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
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: "{\"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"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::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:
headers:
authorization:
- WHM root:iscool
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
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: "{\"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"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::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:
headers:
authorization:
- WHM root:iscool
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
server:
- cpsrvd/11.28.64
transfer-encoding:
- chunked
content-type:
- text/plain
body: "{\"metadata\":{\"result\":0,\"reason\":\"Unable to find archive at /backup/cpbackup/daily\",\"version\":1,\"command\":\"restoreaccount\"}}"
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::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:
headers:
authorization:
- WHM root:iscool
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
server:
- cpsrvd/11.28.64
transfer-encoding:
- chunked
content-type:
- text/plain
body: "{\"metadata\":{\"result\":0,\"reason\":\"Unable to find archive at /backup/cpbackup/daily\",\"version\":1,\"command\":\"restoreaccount\"}}"
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::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:
headers:
authorization:
- WHM root:iscool
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
server:
- cpsrvd/11.28.64
transfer-encoding:
- chunked
content-type:
- text/plain
body: "{\"metadata\":{\"result\":0,\"reason\":\"Unable to find archive at /backup/cpbackup/daily\",\"version\":1,\"command\":\"restoreaccount\"}}"
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::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:
headers:
authorization:
- WHM root:iscool
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
server:
- cpsrvd/11.28.64
transfer-encoding:
- chunked
content-type:
- text/plain
body: "{\"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"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::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:
headers:
authorization:
- WHM root:iscool
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
server:
- cpsrvd/11.28.64
transfer-encoding:
- chunked
content-type:
- text/plain
body: "{\"metadata\":{\"result\":0,\"reason\":\"Unable to find archive at /backup/cpbackup/daily\",\"version\":1,\"command\":\"restoreaccount\"}}"
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::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:
headers:
authorization:
- WHM root:iscool
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
server:
- cpsrvd/11.28.64
transfer-encoding:
- chunked
content-type:
- text/plain
body: "{\"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"