![]() More detailed steps:įirstly connect the external USB drive and make a note of the drive letter it uses. This step is technically optional as Windows supports pulling a USB drive out without doing a soft eject but its highly recommended to tell Windows first to avoid data corruption.Ĥ) Optionally you can also output a backup log somewhere to enable you to check the logs periodically without having to reconnect the USB drive to verify the job worked. However, if the drive has been connected then the folder path will exist and the backup script will continue and copy over the data.ģ) After a successful backup the script safely disconnects the USB drive. If the drive isn’t connected then the folder path won’t exist and the script just exits happily. If your machine is not always on then vary this by setting the scheduled task at a time when the machine is usually on.Ģ) The script checks for the existence of a specific folder on the connected drive (e.g: U:\backup\). The basic flow:ġ) Assuming that the machine is always on, which my server is, a scheduled task runs every night and executes a backup script (regardless of the backup drive being connected or not). In the morning I can safely physically disconnect it and store it without even having to log onto the machine. Using the steps below I can perform a full data backup by simply physically connecting the drive (connecting a USB drive or docking the SATA drive into a USB dock for example), and then leaving it overnight. Also if the backup drive is for off-site storage then its not possible to be always connected anyway. I don’t believe in leaving external backup USB drive always connected to my system (PC or Server) to avoid the data being corrupted or deleted. In this post I cover how to backup to an external drive using a scheduled automated process but only if the external drive is connected at the time. ![]() A key part of most personal data backup strategies involves backing up data to an external USB drive but I don’t want to leave it constantly connected. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |