You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

4 lines
308 B

#!/bin/bash
time=$(date "+%Y-%m-%d")
mysqldump -uroot --password='1q2w#E$R' ywpt --tables yc_station yc_stcd_info yc_station_area yc_error_monitor yc_error_rule yc_threshold employee employee_station_bind flood_season yc_device_type yc_station_warn_level yc_station_type> /home/ywpt-bak/"ywpt${time}.sql"