We've just setup some removable storage for a file server we run in one of our offices (only supporting less than 10 work stations), one of our backup solutions is a removable harddrive that will leave the premise each night, at the same time leaving another removable storage connected..
Each evening the server runs a powershell to find if either of these two drives is connected, and runs a robocopy mirror from an internal raid setup onto the removable drive.
This works well (this isn't a big corporate operation), but when we initialized the removable storage as ntfs we were informed that the drive would always need to be removed via 'safely remove hardware', this makes it less stream lined than we wanted..
Since the server is running the backup each night (when nobody is there), we thought the easiest solution would be to run robocopy and then unmount/safely remove hardware automatically.
Firstly, what are the dangers of removing the drive 'unsafely', given that no data should be moving to or from the drive when the staff member swaps the drives?
Secondly, is it even possible to do safely remove hardware via command line, and if so- how can we tell it to remove the hardware that has a specific drive letter?
Thirdly, if we cannot determine the hardware for a given drive letter to do a 'safely remove hardware' command, can we request the drive to unmount? or is this just as bad as pulling the plug?
I appreciate this might not be the greatest backup solution, and as far as sysadmin or anything goes- I aint that (we don't have one).. so any help would be fantastic.