Declare @SQLQuerry nvarchar(255) Declare @dbname nvarchar(255) Declare @CrsrVar Cursor Set @CrsrVar = Cursor For SELECT name FROM sys.databases where name not in (‘tempdb’,’distribution’,’master’,’model’,’msdb’,’ReportServer’,’ReportServerTempDB’) Open @CrsrVar Fetch Next From @CrsrVar into @dbname While(@@FETCH_STATUS = 0) Begin — Truncate the log by changing the database recovery model to SIMPLE. SET @SQLQuerry = ‘USE [‘ +@dbname +’];ALTER DATABASE..
Read moreMicrosoft Active Directory cung cấp giải pháp tập trung, quản lý và lưu trữ thông tin về tài nguyên hệ thống mạng trên toàn bộ domain. Bên cạnh đó, Active Directory sử dụng Domain Controllers có nhiệm vụ lưu trữ và phân phối dung lượng lưu trữ cho tất cả người sử dụng trong hệ..
Read moreTrong loạt bài này chúng tôi sẽ giới thiệu cho các bạn về các tùy chọn cho việc khôi phục thảm họa bên trong môi trường Hyper-V. Giới thiệu Mặc dù việc backup và khôi phục một máy chủ thường là một công việc đơn giản, tuy nhiên với công nghệ ảo hóa thì điều..
Read more
WinNMP – Config
How to send emails using PHP WinNMP has 2 options for processing emails sent by PHP’s mail() function: mSmtp and mailToDisk (default). To change the option, edit confphp.ini and modify sendmail_path: For Development use mailToDisk (the default): sendmail_path = ‘”C:/WinNMP/bin/php” -n -f “C:/WinNMP/include/tools/mailtodisk.php”‘ Emails will be saved to logmail-XX.txt For Production use mSmtp: sendmail_path = ‘”C:/WinNMP/bin/msmtp/msmtp.exe” -C “C:/WinNMP/conf/msmtp.ini” -t’ You also need to edit confmsmtp.ini in order to configure SMTP server options How..
Read more