Compress and extract command in Ubuntu.
tar czf name_of_archive_file.tar.gz name_of_directory_to_tar
tar -xzvf file.tar.gz
gunzip < file-name.sql.gz | mysql -u user -p password database-name
mysqldump -u user -p password database-name |gzip -9 > file-name.sql.gz
mysqldump -u user -p password database-name > file-name.sql
mysql -u user -p password database-name < file-name.sql
0 comments:
Post a Comment