Hi,
Its not a simple task.
1) You have to compress the cgi-bin files (tar cvvf cgibin.tar *)
2) You have to compress the www files (tar cvvf backup.tar *)
3) Backup your database (mysqldump --add-drop-table -u=USERNAME -pPASSWORD DATABASE_NAME > backup.sql)
4) Download all these files locally
5) Uploads to your new server
6) Decompress them (in their correct folders!), with: tar -xof file.tar
7) Then, you need to run a `grep` on the files, something like:
Replace /old/ with your old path to the admin folder
Replace /new/ with your NEW path to the admin folder
perl -p -i -e 's|/old/|/new/|g' `grep -r -l '/old/' .`
8) Re-import your database, with:
mysql -u=USERNAME -pPASSWORD DATABASE_NAME < backup.sql
Thats pretty much it - although I've put it in very simple terms =)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package | GLinks ULTRA Package PRO Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins!