摘要:        
PostgreSQL 数据库备份脚本 #!/bin/bash # PG家目录(/opt/postgresql/pg96/) PG_HOME=${PGHOME} # pg数据库连接信息 PG_HOST="127.0.0.1" PG_PORT="5432" PG_USER="postgres" # PG    阅读全文
posted @ 2022-01-05 17:20
Librarookie
阅读(1957)
评论(0)
推荐(0)
        
            
        
        
摘要:        
MySQL 数据库备份脚本 #!/bin/bash # 数据库连接信息 DB_HOST="127.0.0.1" DB_PORT="3306" DB_USER="root" DB_PASSWD="root" # 时间格式化,如 20211216 DATE="`date +%Y%m%d`" # 备份文件    阅读全文
posted @ 2022-01-05 16:17
Librarookie
阅读(1780)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号