Red Squirrel
No Lifer
I scripted my new backup script so it mounts the backup drive by label that way I don't have to worry about drive letters changing on me and breaking my scripts. It was working great last night. So i tried it again today, and now it's saying "no such partition found". Huh? The drive with that label is plugged in and turned on. It mounted ok when I did it manually. Why would it do this?
Is there maybe a better way I can do it? The goal is that I can preconfigure a drive to be part of a backup rotation (label it, add a few config files on it etc) and then don't have to worry about manually mounting since the script is suppose to do it. I insert the drive in the removable dock, and simply run the backup script and walk away. When I get an email, I can go turn it off and insert another drive (with same label) if I want to run another job.
Is there maybe a better way I can do it? The goal is that I can preconfigure a drive to be part of a backup rotation (label it, add a few config files on it etc) and then don't have to worry about manually mounting since the script is suppose to do it. I insert the drive in the removable dock, and simply run the backup script and walk away. When I get an email, I can go turn it off and insert another drive (with same label) if I want to run another job.