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.

Advertisements

Contact me to place your Ads Here..

Powered by Drupal, an open source content management system

Syndicate

Syndicate content

Create And Extract tar Archive from SSH Linux Drupal

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

 

Back to top

Related Pictures

Tags for Create And Extract tar Archive from SSH Linux Drupal

Recent comments

InderSingh.com v1.2
(May 18, 2012)