Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

mysql backup dump docker file

docker run -it --rm --link my-old-database:mysql mysql sh -c 'echo "[client]
 host="$MYSQL_PORT_3306_TCP_ADDR"
 user=root
 password="$MYSQL_ENV_MYSQL_ROOT_PASSWORD"" > my.cnf && exec mysqldump --defaults-file=my.cnf --databases my_database_name' > db_dump.sql
Comment

PREVIOUS NEXT
Code Example
Shell :: linux create file 
Shell :: github pypi workflow 
Shell :: bash check in gem is installed 
Shell :: Jupyter %%time 
Shell :: find command absolute path 
Shell :: ubuntu search for file whole hard drive 
Shell :: phoenix install 
Shell :: linux crée utilisateur sudo 
Shell :: dockercompose build 
Shell :: laravel routes return not found after setting virtual host on localhost linux 
Shell :: download svn 
Shell :: installing visual studio code in ubuntu 
Shell :: how to install snapcraft 
Shell :: import bjson mongodb 
Shell :: tar: Cowardly refusing to create an empty archive 
Shell :: vimeo status video 
Shell :: mongodb version check 
Shell :: git clone with subdirectories 
Shell :: xampp aliases 
Shell :: bash function parameter 
Shell :: kubernetes show all 
Shell :: zsh: command not found: sublime 
Shell :: fetch from remote branch 
Shell :: sbatch cancel job 
Shell :: openzeppelin install 
Shell :: script delete files older than 
Shell :: how to restore a non booting grub bootloader 
Shell :: bash list files for user 
Shell :: git clone and create directory 
Shell :: powershell which command 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =