..a dose of zero-day know-hows ..

6/22/2009

Migrating Workstations

I am currently migrating my work files, emails, skype logs, apache document root, firefox addons/settings/bookmarks, cached subversion passwords, wine apps to a new workstation. And how handy can the home directory be to move everything in few sweeps..


cd ~
scp -r root@192.168.0.198:/root/Documents .
scp -r root@192.168.0.198:/root/.thunderbird .
scp -r root@192.168.0.198:/root/.Skype .
scp -r root@192.168.0.198:/root/.mozilla .
scp -r root@192.168.0.198:/root/.subversion .
scp -r root@192.168.0.198:/root/.wine .
cd /var/www/
scp -r root@192.168.0.198:/var/www/html .


Now the only manual thing I have to do is do several mysqldumps and transfer it over (well i could hot copy /var/lib/mysql but i do not want to do that at this point as I have many innodb tables).. I think in no time i'll be finished and will be working my way as if im still using the old laptop.

Transferring the hidden files in my home directory using SCP works wonders, and also leaves you thinking how secure you are, as everything can be snap shot and copy your saved passwords/sessions/emails/chatlogs right from your home directory.

1 comment:

Handyman Redlands said...

Hi tthanks for sharing this