# 查询有哪些数据库?
select * from master..sysdatabases where dbid > 4;
# 备份到某个目录中
Backup Database *database_name* To disk='*X:folderdatabse_name_backupname.bak*'
#删除N天以前的文件
https://blog.csdn.net/valiantzh/article/details/72821476
orfiles /p "d:/test" /s /m *.bak /d -7 /c "cmd /c del @path"
# 上传到OBS上
https://support.huaweicloud.com/clientogw-obs/obs_11_0028.html