mysql_copy_between_servers
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
mysql_copy_between_servers [2009/04/25 02:39] – created k2patel | mysql_copy_between_servers [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
#!/bin/bash | #!/bin/bash | ||
- | User_nm=< | + | # |
- | Passwo=< | + | |
+ | # | ||
+ | d_User_nm=< | ||
+ | |||
+ | # | ||
+ | d_Passwo=< | ||
+ | |||
+ | #source username | ||
+ | s_User_nm=< | ||
+ | |||
+ | #source password | ||
+ | s_Passwo=< | ||
+ | |||
Src_host=< | Src_host=< | ||
Dst_host=< | Dst_host=< | ||
db_skp=mysql | db_skp=mysql | ||
- | DBS=" | + | # |
+ | |||
+ | DBS=" | ||
for db in ${DBS[@]} | for db in ${DBS[@]} | ||
Line 20: | Line 35: | ||
else | else | ||
echo " | echo " | ||
- | mysqldump | + | mysqldump |
fi | fi | ||
done | done | ||
+ | </ |
mysql_copy_between_servers.1240627153.txt.gz · Last modified: 2020/08/10 02:30 (external edit)