SQL_SERVER Telegram 723
سلام خدمت دوستان عزیزم
امیدوارم حالتون خوب خوب باشه
شاید به این مساله برخورد کرده باشین، زمانی که دارین Maintenance Plan ایجاد می کنید که Backup رو از یک مسیر خاص در یک بازه زمانی خاصی حذف کنه ، هیچ خطایی رخ نمیده ولی هیچ فایلی هم پاک نمیشه!
وقتی شما یک Maintenance Plan ایجاد می کنید ، با استفاده از دستور XP_Delete_File این اتفاق می افته.
این دستور یک Extended PRocedure هست و چک می کنه که فایلهای فوق هم ساختار Backup های SQL Server رو داشته باشن و هم اینکه مربوط به دیتابیس های همون Instance باشه که این دستور اونجا اجرا میشه.
مثلا ممکنه روی یک سرور چند تا Instance باشه و داخل یک مسیر مشخص Backup گرفته باشن. این مکانیزم باعث میشه جلوگیری کنه از حذف فایلهای غیر مرتبط و اشتباه.

امیدوارم این نکته براتون مفید باشه

شاد باشین و شکرگزار☺️☺️
حمیدرضا صادقیان

Hello, my dear friends,

I hope you are all doing well. Perhaps you have encountered this issue before: when you create a Maintenance Plan to delete backups from a specific path within a specific time interval, no errors occur, but no files are deleted either!

When you create a Maintenance Plan, this happens using the XP_Delete_File command. This command is an Extended Procedure that checks whether the files have the structure of SQL Server backups and belong to the databases of the same instance where this command is executed.

For example, there may be multiple instances on a server, and they may have taken backups in a specific path. This mechanism prevents the accidental deletion of unrelated files.

I hope this information is helpful for you.

Stay happy and grateful ☺️☺️

@hamidreza_Sadeghian
👍202



tgoop.com/sql_server/723
Create:
Last Update:

سلام خدمت دوستان عزیزم
امیدوارم حالتون خوب خوب باشه
شاید به این مساله برخورد کرده باشین، زمانی که دارین Maintenance Plan ایجاد می کنید که Backup رو از یک مسیر خاص در یک بازه زمانی خاصی حذف کنه ، هیچ خطایی رخ نمیده ولی هیچ فایلی هم پاک نمیشه!
وقتی شما یک Maintenance Plan ایجاد می کنید ، با استفاده از دستور XP_Delete_File این اتفاق می افته.
این دستور یک Extended PRocedure هست و چک می کنه که فایلهای فوق هم ساختار Backup های SQL Server رو داشته باشن و هم اینکه مربوط به دیتابیس های همون Instance باشه که این دستور اونجا اجرا میشه.
مثلا ممکنه روی یک سرور چند تا Instance باشه و داخل یک مسیر مشخص Backup گرفته باشن. این مکانیزم باعث میشه جلوگیری کنه از حذف فایلهای غیر مرتبط و اشتباه.

امیدوارم این نکته براتون مفید باشه

شاد باشین و شکرگزار☺️☺️
حمیدرضا صادقیان

Hello, my dear friends,

I hope you are all doing well. Perhaps you have encountered this issue before: when you create a Maintenance Plan to delete backups from a specific path within a specific time interval, no errors occur, but no files are deleted either!

When you create a Maintenance Plan, this happens using the XP_Delete_File command. This command is an Extended Procedure that checks whether the files have the structure of SQL Server backups and belong to the databases of the same instance where this command is executed.

For example, there may be multiple instances on a server, and they may have taken backups in a specific path. This mechanism prevents the accidental deletion of unrelated files.

I hope this information is helpful for you.

Stay happy and grateful ☺️☺️

@hamidreza_Sadeghian

BY SQL Server


Share with your friend now:
tgoop.com/sql_server/723

View MORE
Open in Telegram


Telegram News

Date: |

Healing through screaming therapy In the next window, choose the type of your channel. If you want your channel to be public, you need to develop a link for it. In the screenshot below, it’s ”/catmarketing.” If your selected link is unavailable, you’ll need to suggest another option. The channel also called on people to turn out for illegal assemblies and listed the things that participants should bring along with them, showing prior planning was in the works for riots. The messages also incited people to hurl toxic gas bombs at police and MTR stations, he added. According to media reports, the privacy watchdog was considering “blacklisting” some online platforms that have repeatedly posted doxxing information, with sources saying most messages were shared on Telegram. Read now
from us


Telegram SQL Server
FROM American