| migrating the databse to local from rails play ground: |
|---|
| 1.go to rails playground |
| 2.in the cpanel go to phpmyadmin database |
| 4.select your database(ex.scrum_production) |
| 5.click the export icon and save the file as dumbfile |
| 6.select the export option as SQL |
| 7.choose the compressin option as gzipped, then click go button |
| migrating the database file to cloud from local through scp: |
|---|
| 1.go to the folder where you downloaded through git terminal (ex C:\Documents and Settings\Administrator\My Documents\Downloads) |
| 2. type this command |
| scp filename newserver:/path/to/file/filename |
| ex.scp dumbfile.sql.gz username@ipaddress:/data/pairworks/shared/dumbfile.sql.gz |
| Importing to the cloud |
| 3.unzip the file using command -- gunzip -v filename |
| 4.mysql -u user -ppassword -h hostname dbname < dumpfile.sql |
| symplolic link creation: |
|---|
| ln -s original_file_path symploic_link_name(ex ln -s home/abs1/documents/deeps deeps |