
Skip to: site menu |main content
Welcome to my personal site. If You have any question or suggestion please feel free to contact me from contact page.
Script and steps can be used for BUllk Database and directory transfer from one host to another. NOrmaly used for Site transfer.
Create Directory Archive:
CReate archive of current directory to sitesbk.tar file:
$tar cvf /home/indersingh/public_html/sitesbk.tar .
Extract Tar file to directory:
$tar xvf sitesbk.tar /var/www/html/
Create Dump using mysqldump command.Mysql Dump The database:-
$ mysqldump -u inders_himsky -p inders_himskydb6 >himskybkp-sql.sql
Import The database using Mysql command:-
$mysql myhimskydb < himskybkp-sql.sql
InderSingh.com v1.2
(May 18, 2012)
Recent comments
16 weeks 4 days ago
16 weeks 4 days ago
16 weeks 4 days ago
1 year 16 weeks ago
1 year 16 weeks ago
1 year 16 weeks ago
1 year 31 weeks ago
1 year 33 weeks ago
1 year 34 weeks ago
1 year 39 weeks ago