Ferro Backup System - The best Backup Software
Network Backup & Restore Software Solution for SMBs
 
  EN    PL    ES   


Article reference number: FS-FBS-20121008-I01
Last proofread : 5 January 2015
Version : 1.1

Automatic Computer Backup on System Shutdown

This article covers the benefits of making backup copies before computer shutdown. It describes two ways of implementing such security, with the main emphasis on backing up a computer automatically upon system shutdown.


Frequently, computer failures resulting in data loss occur when shutting the computer on or off. The best safeguard against this would be to back up data immediately after finishing work on the computer, before it is shut down. But planning such backup using a fixed schedule can be difficult to implement. It is often difficult to determine when a user will finish work, and users aren’t very keen on waiting for backup to be completed - they just want to shut their computer off and get going.


Automatic computer shutdown after backup

There are two solutions to this problem. One involves the user not shutting the computer down at all after finishing work. Backup is performed at a set time, after which the computer is automatically shut down by means of a shutdown instruction. This solution, however, cannot always be used, e.g., due to the rules in force in a company ordering employees to unplug their computer after work.


Automatic computer backup during system shutdown

The second solution, which will be described in detail, involves using the backup on system shutdown function built into the Ferro Backup System. This function causes the backup task to be started automatically, at the moment the user presses the power button the computer housing or selects the system shutdown command.


Fig. 1 Backup performed during system shutdown

Fig. 1 Backup performed during system shutdown


The backup process begins when the system completes all login sessions. During backup, a message is displayed on the computer screen showing backup progress. At that time it is not possible to log in again to the system. If the administrator has activated the Back up before system shutdown option on the FBS Server console, however, the user may interrupt the backup and immediately shut the computer down. After completion of the backup, the operating system shutdown continues, and the computer is then shut down.


Configuration of backup on system shutdown

The administrator can choose which backup tasks are to be performed in this way, and which should be performed only according to a schedule or on demand. What is more, the program can be configured such that backup on system shutdown is performed only when the backup planned for a given day according to the schedule has not yet been made. This is a good solution when we want to perform the backup at a strictly defined moment of the day but, as sometimes happens, a user finishes work early. In such situations, using the traditional backup solution based only on a schedule, that computer would remain unsecured until the next time it was started. Using backup on system shutdown, the same computer is secured even if some unforeseen event requiring early shutdown occurs.


Computer shut down by the operating system before performance of backup

Because of the benefits of using automatic backup on system shutdown, it is used very often. It is worth taking a look, then, at its possible shortcomings. The first of these is the possibility of the operating system shutting the computer down before the backup has been completed. In Windows, the standard setting informs you that the computer will be shut down within 180 seconds following the commencement of the system shutdown phase. If a service (in this case, FBS Worker) is to take longer, the operating system interrupts it and shuts the computer down at once. FBS Installer changes this setting, extending the shutdown time from 180 seconds to four hours. This means that backup on system shutdown can take as long as four hours. In most cases, this is more than enough time. If a backup is not completed due to exceeding this limit, it is first necessary to determine why the backup took so long - there could be many reasons. In those rare cases (very large files, slow network connections, etc.) in which we are sure that backup has to take more than four hours, the system shutdown time can be changed manually by modifying the following key in the system register:

 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WaitToKillServiceTimeout
 
 Instruction:
  1. Localise the following registry key: HKLM\SYSTEM\CurrentControlSet\Control
  2. Check the WaitToKillServiceTimeout parameter
  3. Click on the command "Modify value data" in the "Edit menu" and enter 14400000 (in decimals).
  4. Click ‘OK’.
  5. Restart the computer so the change takes effect.


Note. In Windows 8 and newer the operating system is (by default) hibernated rather than shut down. In order to enable backup at shutdown turn off Fast Startup.


Security programs

This key should also be manually changes in another situation. Some security programs monitor the state of the system register and automatically reset the default values. Such a change means that backup will be interrupted after about three minutes. The solution to this problem is to configure the security program appropriately and manually adjust the above-mentioned registry key, or speed up the backup so that it finished within the default time period. Increasing backup speed can be achieved by using delta backup, restricting the scope of the backup, or following the tips described in the article Maximum Backup Server Performance.

Note. While using the ESET Nod32 antivirus software backup may be stopped after approximately 10 minutes. To resolve that problem add FBSWorker.exe to the exclusion list in the Host Intrusion Prevention System (HIPS).


Summary

Automatic backup on computer shutdown is particularly useful in companies with an irregular work cycle, where it is difficult to plan in advance a suitable time for performing backups. This solution also proves itself when we want to be sure that a computer will be secured each day but we don’t want to perform backup during office hours because this could increase the load on the computer network and possibly disrupt employees in the performance of their duties.


See also

Home   Help   Where to Buy    Download    Contact Us   Partners   |  Printable version  |  Language: EN EN   PL PL

Backup Your Computer on System Shutdown
All rights reserved.
Copyright © 2000-2022 FERRO Software