View Single Post
  #22  
Old 7th January 2013, 14:28
DaRKNeSS666NL DaRKNeSS666NL is offline
Senior Member
 
Join Date: Nov 2006
Posts: 208
Thanks: 17
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by skoena View Post
I have some additional questions.

1) How to get the backupped files to the new server and how to unpack them?
Please post the correct commands to use.
Been struggling with that one for my self the whole weekend, tried everything I could find about tar but always got the whole dir structure. So finally I used WinSCP to do the trick. Only hope the right are good after unpacking.

Quote:
Originally Posted by skoena View Post
(Why backup /etc?
Have the same question found different howtos some say do and others say don't

Quote:
Originally Posted by skoena View Post
2) Should I use
Code:
mysqldump --opt --user=root --password=xxxxxxxx --all-databases | gzip > mysql_backup.sql.gz
to backup db's? How to get this file to new server and how to import them back on the new server?
I am doing it right now I am importing the database with phpMyAdmin. But the client database I first have to manually recreate to import them. I luckly have only 5 clients so not that much work.

Hope it helped a bit...

Appie
__________________
Updating my server to Debian Squeeze, so here I go again...
Reply With Quote