The simple command to import an .sql file into an existing database: mysql -u username -p database_name < file.sql
Tag: terminal
Tag: terminal
10
Dec
2017
In order to have multiple excludes in tar command you need to write several “–exclude” tags. As an example: tar cfz /var/tmp/backup.tgz /var/www/application –exclude /var/www/application/webfolder –exclude /var/www/application/logs