I've packaged all of my accounts from a previous server and have them in the /home/ directory on the new server and would like to batch restore them in one foul swoop instead of manually typing "/scripts/restorepkg username" each time for all of them.
Is there anyway to restore all of the cpmove files inside of a particular directory? The tool built directly into WHM isn't working. It's saying that it cannot find the files, even though I had them located in the proper directory it was checking for them in /home/backup/cpbackup/ and so I've abandoned that idea.
What's the easiest way to do a batch restore in SSH?
How long should a cpmove (full backup) take to restore for a site that is 4GB? Its been "Extracting Tarball" for about 3 hours now, and has stopped updating the transcript with "..." for a while. Is this normal or do I need to start a fresh copy?
I've restored a cpmove file copied from another server and I notice that many site files are missing. However, there were no errors during the restore process in WHM.
When I try to manually gunzip the file, I get an "unexpected end of file" error.
Questions -
1. If the file is corrupt or was transferred in ASCII instead of binary, would any of it have been expected to restore properly? For example, I can see the database content is valid, as are some of the php files and such.
2. I no longer have access to the source server. Is there a way that this file can be repaired?
3. Why didn't WHM report any error when extracting the tarball?
when i want to Restore full backup see this error Restore for cpmove-wwwpakh.tar.gz Searching /home.... checked 25 files..... No Restorable archives found! Searching /usr/home.... checked 0 files..... No Restorable archives found! Searching /web.... checked 0 files..... No Restorable archives found! Searching /home2.... checked 0 files..... No Restorable archives found! Searching /home3.... checked 0 files..... No Restorable archives found! Searching /root.... checked 12 files..... No Restorable archives found! Searching /usr.... checked 16 files..... No Restorable archives found! No archives where found for user wwwpakh.tar.gz! This feature will restore full backups, cpanel backups and cpanel move files in the format of: cpmove-user.tar.gz, user.tar.gz, backup-date_time_user.tar.gz The files must be in one of these directories on the server: /home,/usr/home,/web,/home2,/home3,/root,/usr
You must upload the file to one of the above locations before using this feature.
I have an important question to ask regarding CPMove. (i.e. restoring a full backup of site)
I have a shared account "main.com" and I have almost 30+ domains hosted under it as an addon domains. The main site was causing trouble at shared host so I moved it to my VPS. The addon domains were still hosted at shared hosting.
Initially, I planned to move them one by one to my VPS (as separate domains). But for some reason, my shared hosting provider is shutting me down and have given me full backup of "main.com" to move sites to an other account ASAP.
Now the trouble part:
Sine I am already using "main.com" at my VPS, is that possible to restore the CP backup of that account from other host under a different domain name at my VPS? If not, what options do I have to restore all those addons domains without disturbing my "main.com" site that is working just fine.
I'm moving some accounts from another provider wich don't allow users to make his owns backups, so I'm doing manually from the cpanel. The file I get it's something like username-date.tar.gz
The problem it's when I try to restore it in my server, I get "not user files found" because the .tar.gz file it's like
and inside the folders
And it looks like to have the restore working have to be:
/username /and inside the folders
So, the solution I have for the moment it's to 1) create the account in the new server 2) restore it login in the cpanel
Would like to know what are the dangers of backing up and restoring full entire system backups (with plesk installed) to another server with a different ip address? Will the restored plesk setup operate properly and offer an ip address change in the system, or will there be any pre-requisites required such as manual ip changing within the system core files?
I use WHM to do nighly full backups of all my accounts. One one account (my own web site) I want to restore ONLY a certain directiy and its subdirectories. Is this possible or do I have to restore the entire site? If so, how?
I have dedicated server and I have daily,weekly and monthly backups located in:
root: /backup/cpbackup (my secondary drive) each account's backup locate in specific directory like: the backup of account website1.com will be located in: root: /backup/cpbackup/website1 all backups are not compressed file
I have on my server vBulletin 1.7GB database in SQL format I try somany time to restore it but its hang! I transfer that file to another server and its working fine!
I take full backup of one site. the site have 250 mb database mysql i click on backup restore inwhm and select site and whm say Restore done. ut mysql can`t restore good
root@server [~]# mysql -u divingho_dhadmin -p divingho_divinghols < /home/divingho/mysql/divinghols.sql Enter password: ERROR 1044 (42000) at line 11: Access denied for user 'divingho_dhadmin'@'localhost' to database 'divinghols'
The username is right, the password I use is correct. I even deleted, recreated the mysql database and username, still giving the same error. The path to sql file is right and only 68k in size.
I transferred my account over using pkgacct and then issued the command: /scripts/restorepkg username
It split a lot of these errors below:
Code: /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000164.mbox:2,: Cannot change ownership to uid 0, gid 0: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000157.mbox:2,: Cannot utime: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000157.mbox:2,: Cannot change ownership to uid 0, gid 0: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000162.mbox:2,: Cannot utime: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000162.mbox:2,: Cannot change ownership to uid 0, gid 0: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000161.mbox:2,: Cannot utime: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000161.mbox:2,: Cannot change ownership to uid 0, gid 0: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000160.mbox:2,: Cannot utime: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000160.mbox:2,: Cannot change ownership to uid 0, gid 0: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000109.mbox:2,: Cannot utime: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/cur/1170637674.000109.mbox:2,: Cannot change ownership to uid 0, gid 0: No such file or directory ............... ............... ............... ............... ............... /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/.spam/cur/1170637676.000037.mbox:2,: Cannot utime: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/.spam/cur/1170637676.000037.mbox:2,: Cannot change ownership to uid 0, gid 0: No such file or directory ............... ............... /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/.spam/cur/1170637676.000025.mbox:2,: Cannot utime: No such file or directory /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/.spam/cur/1170637676.000025.mbox:2,: Cannot change ownership to uid 0, gid 0: No such file or directory ............... /bin/tar: cpmove-john/homedir/mail/mywebsite.com.com/celine/.spam/cur/1170637676.000211.mbox:2,: Cannot utime: No such file or directory /bin/tar: cpmove-john
it shows this error for all files inside the /mail/ directory. Any idea what's wrong? The restore process is still running, haven't gotten past this yet.
Backing up a server is obviously very important. Lets say I do a daily rSync backup and eventually my server HDD crashes, I know it isn't just a 'one click' job to restore my backup but what is it necessary to do in order to carry out a complete and effective restore back to how it was?
A step-by-step 'tutorial' on restoring an rSync backup would be helpful not just to me but to many 'would-be' server administrators.
The only backup I could get from crissic was my hypervm backup...
Can anyone tell me if it's possible to just restore this backup on a new VPS and have the code and mysql back to life? At the moment i've looked into the backup and can see the html files and the mysql database files.