cPanel account restore

anvar cpanel whm logo

root@lborg [/home]# /scripts/restorepkg linuxorg
It looks like you are trying to restore a backup for the user “linuxorg”.
cPanel restorepkg version:
Restricted: no
Allow Reseller Privileges: no
Searching for “linuxorg”’s account archive …
The system will attempt to restore the archive file “/home/cpmove-linuxorg.tar.gz”.
The “Reseller” restore module has the following areas disabled by request: “all”
ArchiveManager
Preparing archive for restoration …
Calculating disk space needed …
Done.
Target “/home/cpanelpkgrestore.TMP.work.m0CRwoeLObFTyoif/unsafe_to_read_archive” on host “host.linuxbeginners.org” has 270.88 GB free and requires at least 1.99 GB free, which includes space for temporary files.
The tar archive extraction produced warnings: /bin/gtar: Skipping to next header
/bin/gtar: Exiting with failure status due to previous errors
This archive’s payload appears to be in the archive’s “cpmove-linuxorg” directory.
ArchiveManager
The system successfully prepared the archive for restoration.
PreRestoreActions
PreRestoreActions
Account
Force Mode: no
Dedicated IP Address: no
Checking input data…
…Done
Validating system setup…
…Done
Rebuilding IP Pool…
…Done
Validating IP…
…Done
Validating Username…
…Done
Validating Contact Email…
…Done
Checking for database conflicts…
…Done
WWWAcct 12.6.0 (c) 2014 cPanel, Inc….
…Done
Running pre creation script (/usr/local/cpanel/scripts/prewwwacct)…
…Done
Adding User…
/usr/sbin/nscd: nscd not running!

…Done
Adding Entries to userdata…
…Done
Updating the userdata cache…
…Done
Setting up Mail & Local Domains…
…Done
Configuring DNS…
…Done
Updating Authentication Databases…
…Done
Adding Entries to httpd.conf…
…Done
Restarting apache…
…Done
Setting passwords…
…Done
Updating the dedicated IP address usage cache…
…Done
Verifying MX Records and Setting up Databases…
…Done
Setting up Proxy Subdomains…
…Done
Sending Account Information…
info [restorepkg] wwwacct Notification => admin@linuxbeginners.org via EMAIL [level => 3]
…Done
Running post creation scripts (/usr/local/cpanel/scripts/legacypostwwwacct, /usr/local/cpanel/scripts/postwwwacct, /usr/local/cpanel/scripts/postwwwacctuser)…
…Done
Setting up Domain Pointers…
…Done
Setting Reseller Privs…
…Done
Account Creation Complete!!!…
…Done
Account
Account created
CpUser
Restoring cPanel user file.
Updating Caches …
CpUser
CpUser data restored
IPAddress
IPAddress
Homedir
Restoring Homedir…
Homedir
Homedir restored
Package
Package
The package exists on the system.
FeatureList
FeatureList
Feature list exists.
Domains
Retrieving and sanitizing main userdata …
Parsing domain databases …
…Subdomains…
…ParkedDomains…
…AddonDomains…
Restoring Domains …
Domains
Domains restored
OldHomedirs
Linking old home directories
OldHomedirs
DKIM
DKIM
DKIM restored
DigestShadow
DigestShadow
Reseller
Reseller
The “Reseller” restore module has been skipped because it was disabled by request.
Shell
Restoring shell
The user’s shell is already set to “/usr/local/cpanel/bin/noshell”.
Shell
Horde
Restoring Horde preferences (if any)
Horde
CustomLocale
CustomLocale
OK
BackupConfig
Restoring backup config …
Updated backup config for “linuxorg”.
Restoring legacy backup config …
Updated legacy backup config for “linuxorg”.
BackupConfig
Password
Restoring password …
Password for “linuxorg” has been changed.
Password
MailRouting
Update mail routing
LOCAL MAIL EXCHANGER: This server will serve as a primary mail exchanger for linuxorg.com’s mail.This configuration has been automatically detected based on your mx entries.
MailRouting
userdata
Restoring userdata…
Restoring userdata for “linuxorg.com” …
userdata
VhostIncludes
Restoring custom virtualhost templates…
VhostIncludes
NobodyFiles
NobodyFiles
Counter
Restoring Counter Data
Counter
Tomcat
Tomcat
Mail
Restoring Mail files
Mail
SSL
SSL
Logaholic
Logaholic
MailFix
Fixing mail permissions
Converting to maildir if needed
MailFix
Mysql
Preparing MySQL restore …
Databases owned by “linuxorg” will be overwritten on conflict.
Restoring MySQL databases
Restoring the database “linuxorg_db” as “linuxorg_db” …
The system has created a new database named “linuxorg_db”.
Granting “linuxorg” access to “linuxorg_db” with temporary password …
Connecting to MySQL server as “linuxorg” in order to restore “linuxorg_db”.
Restoring database data for “linuxorg_db”.
The system has restored the contents of the database “linuxorg_db”.
Restoring MySQL database mappings
Restoring MySQL privileges
Database users owned by “linuxorg” will be overwritten on conflict.
Restoring MySQL grants
info [restorepkg] Creating MySQL virtual user linuxorg_dbuser for user linuxorg
Restoring MySQL access hosts
Storing MySQL Grants
Mysql
FileProtect
FileProtect
WebDiskHomedir
WebDiskHomedir
Roundcube
Roundcube
Cron
Cron
No crontab
BandwidthData
Restoring Bandwidth Data
BandwidthData
Postgres
Preparing PostgreSQL restore …
This system does not have PostgreSQL.
Postgres
Mailman
Restoring Mailman lists
Mailman
Mailman Restored
Unsuspend
Unsuspending .htaccess files for domains linuxorg.com.
Unsuspend
PublicHtmlSymlinks
PublicHtmlSymlinks
Ftp
Restoring ftp password file
Resyncing FTP Passwords
Updating FTP passwords for linuxorg
FTP password files updated.
FTP vhost passwords synced
Ftp
Logs
Logs
Htaccess
Htaccess
No need to update htaccess files.
ZoneFile
Restoring DNS zones
Restoring zone: linuxorg.com.db
Changed all instances of [198.20.244.233] -> [198.50.200.75] in linuxorg.com
Zone updates: linuxorg.com
ZoneFile
SPF
Updating SPF Records
SPF
ProxySubdomains
ProxySubdomains
PostRestoreActions
Updating Caches …
Updating Nameserver IP Address Report
Refreshing vhosts and restarting apache
PostRestoreActions
Quota
Restoring quota
No filesystems with quota detected.
Quota
Warning: “The tar archive extraction produced warnings: /bin/gtar: Skipping to next header
/bin/gtar: Exiting with failure status due to previous errors
” (from ArchiveManager’s function _extract_tarball_to_dir() at line 147).
Account Restored