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
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work! Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500) Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins! Compare our different Plugin packages *new* Free CSS Templates