Наиболее распространенная проблема с которой сталкиваются пользователи и администраторы файловых серверов — это случайное удаление или перезапись файлов. Бороться с этим явлением весьма сложно, технические средства здесь не помогут, а административные часто оказываются неэффективными. Очень часто сотрудники сами случайно перезаписывают нужные файлы. Что делать? Ответ прост — настраивать теневое копирование общих папок.
Онлайн-курс по устройству компьютерных сетей
На углубленном курсе «Архитектура современных компьютерных сетей» вы с нуля научитесь работать с Wireshark и «под микроскопом» изучите работу сетевых протоколов. На протяжении курса надо будет выполнить более пятидесяти лабораторных работ в Wireshark.
Теневое копирование — специальный механизм, позволяющий делать копии файлов соответствующее определенному моменту времени, даже если они открыты или заблокированы системой. Теневые копии позволяют просматривать содержимое общих папок по состоянию на тот или иной момент времени в прошлом.
Теневые копии могут быть использованы для восстановления случайно удаленных и случайно перезаписанных файлов, а также позволяет сравнить несколько версий одного файла. Следует помнить, что теневые копии не могут служить заменой резервному копированию в силу ряда ограничений и особенностей о которых мы поговорим ниже.
Теневое копирование поддерживают серверные ОС начиная с Windows Server 2003, клиентское ПО для работы с теневыми копиями доступно начиная с Windows XP SP2.
При использовании теневых копий следует учитывать следующие ограничения:
- При превышении лимита выделенного дискового пространства старые теневые копии будут удалены без возможности восстановления.
- На одном томе может быть не более 64 теневых копий для каждого файла.
- Теневое копирование включается на уровне тома, т.е. нельзя выбрать общие папки и файлы для которых будет или не будет выполнятся теневое копирование.
- На компьютерах с двумя ОС при загрузке более старой системы или при подключении тома к другому ПК теневые копии могут быть повреждены.
Перед тем, как настраивать теневое копирование, следует продумать расписание. Для этого нужно проанализировать активность пользователей и критичность данных, найдя компромисс между частотой создания теневых копий и промежутком времени который должно охватывать теневое копирование. При этом следует отталкиваться от того, потерю какого промежутка рабочего времени можно считать допустимым, после чего рассчитать за какой промежуток времени будет достигнут предел, составляющий 64 копии. Не рекомендуется делать теневые копии чаще чем раз в час. Также продумайте расписание таким образом, чтобы копии делались только в рабочее время.
Для включения теневых копий перейдите в оснастку Управление компьютером в меню Администрирование.
В левой части окна найдите пункт Общие папки и, щелкнув правой кнопкой мыши, выберите Все задачи — Настроить теневые копии.
В открывшемся окне выберите том, на котором вы будете включать теневое копирование для общих папок и нажмите Включить, первая теневая копия будет создана немедленно.
Затем нажмите на кнопку Параметры и укажите размер дискового пространства, выделяемый для хранения теневых копий.
Следующим шагом задайте расписание.
Теперь самое время проверить работу теневых копий в действии. В обучающих целях мы установили небольшой промежуток между созданием теневых копий и провели несколько типовых действий с файлами в общей папке.
Самая распространенная и труднорешаемая проблема — файл перезаписали.
Открываем свойства файла, переходим на закладку Предыдущие версии и выбираем одну из доступных теневых копий (в нашем случае только одна).
Мы можем открыть, восстановить или скопировать файл. Для начала просто откроем.
Убедившись, что перед нами необходимая версия файла, мы можем ее восстановить или скопировать, если нам нужны оба варианта файлов.
Для восстановления удаленных файлов откройте свойства папки и выберите одну из ее теневых копий, затем вы можете просмотреть содержащиеся в ней файлы и восстановить нужные. Помните, что из теневой копии файлы можно открыть только на чтение.
Как видим, теневое копирование дает пользователям и администратору богатые возможности по работе предыдущими версиями файлов и папок. Данная технология, в сочетании с правильно настроенным резервным копированием, позволяет обеспечить высокую доступность данных и свести риск их потери к разумному минимуму.
Онлайн-курс по устройству компьютерных сетей
На углубленном курсе «Архитектура современных компьютерных сетей» вы с нуля научитесь работать с Wireshark и «под микроскопом» изучите работу сетевых протоколов. На протяжении курса надо будет выполнить более пятидесяти лабораторных работ в Wireshark.
Windows Server 2019 offers a wide range of security options. However, data backup and restore are the most sensitive. Because a failure in data availability can have serious consequences for the organization. For both the user and the administrator. With this intention, the system makes use of the Volume Snapshot System. With this intention, the system makes use of the Instant Volume System. This feature first appeared in Windows Server 2003. Consequently, Windows Server 2019 uses this technology to use the Volume Shadow Copy function. In this way, it is possible to back up the system without affecting its performance. Therefore, system security is enhanced by being able to safely restore data. This allows you to create backups to return to a previous point or restore the system. See how to enable shadow copies in windows server 2019
Activating Volume Shadow Copy in Windows Server 2019
In the first place, it is necessary to open the Disk Manager by pressing the Win+X combination
Enter the disk manager
Then select the partition where the server is installed. Then, right-click on it and enter Properties.
Go to the Properties of the disk where the system is installed.
In the next window, press Yes to confirm the creation.
After confirmation, we see how a restore point has been created in the selected unit. Please click on Settings.
Within this table you can see the following parameters:
- To know which is the volume where the backup will be made
- Setting a maximum copy size
- Set a custom schedule on which to back up
Within this section, it will be possible to define the following:
- Define the exact date and time of each backup
- Define the programming frequency
- Define how often the copy will be made
- Activate which days the copy will be made
Once shadow copies have been enabled, users can use shadow copies to revert files to previous versions. To do so, the user must right click on the file and choose the Properties command from the shortcut menu. This will cause the file’s Properties sheet to be displayed. At this point, the user can select the Previous Versions tab, choose the file version that they want to restore and click the Restore button.
Keep in mind that shadow copies are not a true versioning feature. Shadow copies are created on a scheduled basis and are not automatically created every time that a user makes a change to a file.
Good Luck!
Опубликовано:
Что такое теневые копии простыми словами.
Открываем консоль Управление дисками
Для этого кликаем правой кнопкой по Пуск и выбираем пункт Управление дисками:
В более ранних версиях Windows нажимаем Пуск — Администрирование — Управление компьютером:
В открывшемся окне раскрываем Запоминающие устройства — Управление дисками:
Включаем теневые копии
В списке дисков находим нужный и кликаем по нему правой кнопкой мыши. Выбираем Свойства.
В появившемся окне переходим на вкладку Теневые копии и нажимаем кнопку Включить:
Если появится предупреждение, прочитайте его и нажмите Да. Пройдет несколько секунд и появится первая теневая копия.
Настраиваем расписание теневых копий
В этом же окне нажимаем Параметры:
В открывшемся окне кликаем по Расписание:
Составляем новое расписание или оставляем имеющееся:
Нажимаем OK 3 раза.
Как пользоваться созданными копиями
Теневые копии создаются только для измененных файлов и по заданному расписанию.
Чтобы восстановить предыдущую версию файла, кликаем по нему правой кнопкой мыши и выбираем Свойства. В открывшемся окне переходим на вкладку Предыдущие версии и находим список всех версий файла:
* если список окажется пустым, значит либо файл не менялся с момента создания, либо еще не отрабатывало задание по созданию теневой копии.
Чтобы восстановить старую версию файла, перетащите файл из списка на рабочий стол, проверьте его корректность и замените основной файл на восстановленный или задайте ему новое имя.
Была ли полезна вам эта инструкция?
Да Нет
Windows Server 2019, the latest iteration of Microsoft’s robust server operating system which features designed to enhance data management and security. Among these, Shadow Copy, also known as Volume Shadow Copy Service (VSS), stands out as a valuable tool for data protection and recovery. In this article, we will delve into the concept of Shadow Copy, explore its capabilities, and understand how it can benefit businesses running Windows Server 2019.
Table of Contents
What is Shadow Copy?
Shadow Copy is a built-in feature in Windows Server 2019 its enables users to create point-in-time copies of files and folders located on NTFS (New Technology File System) volumes. These shadow copies are read-only and represent a snapshot of the data at a specific moment. The primary objective of Shadow Copy is to provide an efficient and non-disruptive way to recover previous versions of files or folders, even if they have been modified or deleted.
How does Shadow Copy work?
Shadow Copy relies on the Volume Shadow Copy Service (VSS) to create and manage the shadow copies. When enabled, VSS coordinates with various components, including the Volume Shadow Copy writer, requester, and provider, to initiate the snapshot process. The snapshot contains the data that was present at the time of the shadow copy creation.
Key Benefits of Shadow Copy
Data Protection: Shadow Copy offers a safeguard against accidental data loss or file corruption. By allowing administrators to restore files and folders to previous states, it reduces the risk of data loss caused by human errors or software glitches.
Minimal Disruption: Unlike traditional backups that may require downtime or impact system performance, Shadow Copy snapshots are created quickly and do not disrupt normal operations. Users can access files and folders during the snapshot process without any interruptions.
Point-in-Time Recovery: With Shadow Copy, businesses gain the ability to restore files to specific points in time. This is especially useful in cases where multiple changes have occurred, and the user needs to revert to a specific version of a file.
Easy User Recovery: End-users can restore previous versions of their files and folders directly from Windows Explorer using the “Previous Versions” tab. This feature empowers users to manage their data recovery without IT assistance.
Space-Efficient: Shadow Copy utilizes the concept of “copy-on-write,” meaning it only stores the changes made after the initial snapshot. This method ensures efficient utilization of disk space.
Enabling and Configuring Shadow Copy
- Launch “Server Manager” on the Windows Server 2019 machine.
- Navigate to the “File and Storage Services” section and select “Volumes.”
- Right-click on the volume where you want to enable Shadow Copy and choose “Configure Shadow Copies.”
- In the “Shadow Copies” tab, select the volume and click on “Enable.”
- Set the schedule for creating snapshots and configure the maximum size for shadow copies based on your storage capacity.
- Click “OK” to apply the settings.
Limitations of Shadow Copy
While Shadow Copy is a powerful feature for data recovery, there are some limitations to keep in mind:
Not a Complete Backup Solution: Shadow Copy is not a substitute for regular data backups. It only provides snapshots of files and folders on NTFS volumes and should not be solely relied upon for disaster recovery.
Limited to NTFS Volumes: Shadow Copy is only available for NTFS volumes. Other file systems, such as FAT32, do not support this feature.
Limited Timeframe: Shadow copies are stored on the same volume as the original data. As a result, they are not a viable option if the volume itself experiences a catastrophic failure.
Conclusion
Shadow Copy in Windows Server 2019 is a valuable tool for businesses seeking efficient and non-disruptive data protection and recovery solutions. By enabling users to restore files and folders to previous states, it minimizes the risk of data loss and enhances the overall resilience of the IT infrastructure. However, businesses must still implement a comprehensive backup strategy, including offsite backups, for complete disaster recovery preparedness. Shadow Copy, when used in conjunction with other backup methods, contributes significantly to a robust and reliable data management approach on Windows Server 2019.
FAQ
| Question | Answer |
|---|---|
| What is Shadow Copy in Windows? | Shadow Copy is a feature in Windows that allows users to create point-in-time copies, or snapshots, of files and volumes. These copies can be used to restore files to a previous state. |
| How does Shadow Copy work? | Shadow Copy uses the Volume Shadow Copy Service (VSS) to create snapshots of volumes. It captures the state of files at a specific point in time without affecting ongoing operations. |
| Where can I find Shadow Copy settings? | You can access Shadow Copy settings by right-clicking on a drive, selecting “Properties,” and then navigating to the “Shadow Copies” tab. |
| How often are Shadow Copies created by default? | By default, Shadow Copies are created once a day if there are changes to the files. You can customize the schedule and frequency in the Shadow Copy settings. |
| Can Shadow Copies be used to recover individual files? | Yes, Shadow Copies allow you to recover individual files or entire directories to a previous state without affecting other files on the system. |
| Can Shadow Copies be used to recover the entire system? | While Shadow Copies are primarily designed for individual file recovery, they can be used to roll back an entire volume to a previous state in some cases. |
| How much storage space do Shadow Copies consume? | The amount of storage space used by Shadow Copies depends on factors such as the frequency of snapshots and the volume of changes to files. You can limit the space used in settings. |
| What is the relationship between Shadow Copy and ransomware? | Shadow Copy can be a valuable tool in combating ransomware. If your files are encrypted by ransomware, you can use Shadow Copies to restore them to a state before the infection. |
| Can ransomware affect or delete Shadow Copies? | Some sophisticated ransomware strains are designed to delete or disable Shadow Copies to prevent easy file recovery. Regularly check the integrity of your Shadow Copies for security. |
| How can I enhance the security of Shadow Copies against ransomware? | To enhance security, ensure that your backups, including Shadow Copies, are stored on separate and secure devices. Regularly monitor and update your antivirus and antimalware tools. |
| Is it recommended to solely rely on Shadow Copies for ransomware protection? | No, relying solely on Shadow Copies is not sufficient. Implement a comprehensive backup strategy, including offline backups, to safeguard your data from ransomware attacks. |
This article is © Copyright – All rights reserved
Windows Server 2019 offers a wide range of security options. However, data backup and restore are the most sensitive. Because a failure in data availability can have serious consequences for the organization. For both the user and the administrator. With this intention, the system makes use of the Volume Snapshot System. With this intention, the system makes use of the Instant Volume System. This feature first appeared in Windows Server 2003. Consequently, Windows Server 2019 uses this technology to use the Volume Shadow Copy function. In this way, it is possible to back up the system without affecting its performance. Therefore, system security is enhanced by being able to safely restore data. This allows you to create backups to return to a previous point or restore the system. See how to enable shadow copies in windows server 2019/2016.
Activating Volume Shadow Copy in Windows Server 2019/2016
In the first place, it is necessary to open the disk manager by pressing the Win+X combination.
Then select the partition where the server is installed. Then, right-click on it and enter Properties.
Now, go to the Shadow Copies tab and then click on Enable.
In the next window, press Yes to confirm the creation.
After confirmation, we see how a restore point has been created in the selected unit. Please click on Settings.
Within this table you can see the following parameters:
- To know which is the volume where the backup will be made
- Setting a maximum copy size
- Set a custom schedule on which to back up
Within this section, it will be possible to define the following:
- Define the exact date and time of each backup
- Define the programming frequency
- Define how often the copy will be made
- Activate which days the copy will be made
In this way, it is possible to enable the shadow copies in Windows Server 2019/2016. Now it is possible to increase the security in the system. This is all for now. Before saying goodbye, I invite you to see our post about creating a local account on Windows 10.
— Advertisement —
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
«The best Linux newsletter on the web»
