执行存储在NAS上的SQL文件会创建备份文件 [英] Executing SQL files stored on NAS creates backup files
问题描述
我有一个synology DS918 +。 NAS有一个存储SQL脚本的文件夹。该文件夹使用WebDAV映射到我的电脑上的驱动器(我在NAS上运行了一个WebDAV服务器)。每次我在SQL Server Management
Studio中的映射驱动器上运行SQL文件时,都会在同一映射文件夹中创建脚本的备份文件。备份文件始终具有相同的长度和末尾的波形符号(例如:b5xavtll.scf~)。这非常烦人。如果我运行50次脚本,将创建50个备份文件。
I have a synology DS918+. The NAS has a folder where i store SQL scripts. The folder is mapped to a drive on my pc using WebDAV (I have a WebDAV server running on the NAS). Each time I run a SQL file located on the mapped drive in SQL Server Management Studio, a backup file of the script is created in the same mapped folder. The backup file always has the same length and a tilde at the end (example: b5xavtll.scf~). This gets pretty annoying. If i run a script 50 times, 50 backup files would get created.
有谁知道如何防止这种情况?
Does anyone know how to prevent this?
推荐答案
没有Microsoft SQL Server工具自动创建备份文件;那么你使用的工具是什么?
或者是NAS设置来备份每个修改过的文件?
None of the Microsoft SQL Server Tools creates automatically backup files; so which tool are you using?
Or is the NAS setup to backup every modified file?
这篇关于执行存储在NAS上的SQL文件会创建备份文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!