trza2k
02-26-2002, 09:49 AM
My hardisk that i currently got in my raq gets crc errors on dma mode so i changed the disk , and mounted the old one elsewhere, i tried to copy the old disk to new disk just with the cp -R -p command and it crashed the server and wouldnt restart again :( . I put the old one back in and it worked fine, so i can either try harddisk method again, OR use some other backup method to put my files to another server ? and then try to restore, restore is the big issue here
any suggestions?
Cephren
02-26-2002, 11:34 PM
do you have any databases on the server? mysql? if so do a dump on all the dbases and migrate them.
or
if not just use the cmu util and migrate everyone off.
Those cobalts are sometimes real puzzling.
trza2k
02-27-2002, 12:36 AM
Yeh ive dumped the db, but its the configs that are the problems and that stupid control panel stuff , i could just migrate the /etc for bind and apache configs , and than /home and it should be ok, but there is the control panel missing and some other stuff that i dont really know aobut raqs that need backup, There must be a proper backup tool for raqs?
Cephren
02-27-2002, 03:42 AM
Well, try this.......Ive done it numerous times...it is time consuming, but its like a big puzzle.
CMU the all sites first. Then copy the big cmu file out of the near dead harddrive. At least the cmu will have all the sites, emails, aliases, mailing lists etc.
If you have a recent .raq backup file, upload it to any linux computer and run the strip header perl script. Once its stripped, ungz it and ftp it out of the computer to a windows workstation.
Use powerarchiver and extract the whole file. (if it is over 2 gb, it will take around 10-15 mins)
Inside that file, you will find the whole /etc and /var + all the sites. Disregard the sites........and search through the /etc folders to pick out what you need.
On the new raq server, (Hopefully empty), import the raq cmu file in. Then all you sites will be there. Next go back to the files you extracted and pick and choose. If some files require symlink, rememebr to chmod it properly.
Other easier solutions...if you have veritas backup running on a server, you can easily use that and restore everything.
Yes, I know the RAQ has a very stupid backup system.............
its best that in the future, you put in a cronjob to CMU everything everynight.