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?
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 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.
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 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.
im currently in the process of movinmg most of my clients MySQL dbs to a dedicated mysql server (direct private lan link so speed/bw is not an issue) but i have ~2900 .sql files i need to restore, anyone got any idea how to automate this restore,
the sql files were created suing mysqldump on old server so have all the appropriate create database entries etc but id rather not have to do each file by hand or ill be here for months
I have a new customer moving from another host. His account was terminated already, so just have backup file. When restoring his mysql database, I have this error
Quote:
Unable to restore database dbname.sql to agesuke_forum : ERROR at line 521 in file: '/backup/dbname.sql': Unknown command ''.
Googling shows error in version < 5.0.6 but we are using 5.1.35 already. Is there any idea to fix? This account will run on CentOS 5 - 64bits, FYI.
i found out that for the past 6 months ive been backup up all my MySQL databases into one big file. However, now that i actually need to restore a database, i can't find out how to actually restore 1 database out of this enormous file.
I can find the Mysql shell command to restore 1 database ... but it doesnt tell me if you need to have a 1 database dump file for this as well. It does not mention what happens if you execute that command on the big file containing all databases. Restoring all server databases would be a very bad thing.
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?
how do i restore a raid 1 if one disk fails? or to be more specific if a disk is unplugged while the machine is still running xD. The madman of my boss wants to see what happens... well the raid responded and the system is still functioning with one disk... but how do i put a new one? just plug it and that's it?
my OS is centos 5.1 and i have mdadm as a raid tool