Select and move files by mask with Windows command line

Figure 2. The result of command Get-SPLogEvent

During previous 5 years I have downloaded files from FTP server. Those were texts and images, that had been downloaded from FTP resources. During these 5 years its quantity became enormous – over 150 000 items in each folder. It worked automatically, that's why I hadn't paid attention to disc size and quantity of files. But once the space decreased too much.

(more...)

Backup MSSQL database with compression

To create a full backup of MS SQL Server database with compression use this SQL command:

use YourDataBaseName
go

BACKUP DATABASE YourDataBaseName
TO DISK = 'Z:\BACKUP_FILE_NAME.bak'
WITH COMPRESSION

According to database size and your server capabilities, backup time can vary.

 

Get PID of application pool (w3wp process) using AppCmd

Figure 5. IIS window

Application pool allows you to isolate your applications from one another in case if they are running on the same server. According to this, if there are errors in one application, they will not influence other web applications executing on the same server or the IIS server itself. But if your w3wp process has 100% CPU load, you must immediately find which process matches your application pool.

(more...)


MarkiMarta.com. Notes of web-specialist
Since 2009
18+