Unplug backup drive after backup?

By default, it would. However, there is a way to prevent this from occurring, for backup drives that don’t need to be “always on” (e.g., for Time Machine), or for drives containing sensitive materials you don’t want mounted by default.

This is by specifying in the /etc/fstab file that you don’t want the drive mounted when the Mac boots up. You have to manually mount it when you want to use it, using Disk Utility, or from the command line.

My CCC backup drives are all set up this way. Here’s the command in my /etc/fstab file for ensuring that my “Sequoia CCC Backup Drive” (APFS format) isn’t mounted at boot up time:

LABEL=Sequoia\040CCC\040Backup none apfs rw,noauto

Here’s a link from Ask Different about using the /etc/fstab file: https://apple.stackexchange.com/questions/315668/how-to-configure-diskimagemounter-like-in-etc-fstab

2 Likes

I did that for my MacPro which had several internal boot drives. But I would specify the drive using the UUID identifier, for example:

UUID=8044BF43-D73B-3295-96F9-9268DDE949D6 none apfs rw,noauto

A good discussion – disappearing in just a few days – can be found here:

3 Likes

That’s a good point; using the UUID identifier is a sure way to make sure that drive, and no other (with the same name), is kept from mounting. For almost everyone, that should probably be the default choice, I think.

I have found it useful at times to use the drive label instead, though.

For instance, I use Disk Utility to partition my physical drives into separate partitions. When I have free space left over, I always label any unused partitions “UNUSED”. Then, because I have an entry in my /etc/fstab file that keeps any partitions labeled “UNUSED” from being mounted, the Finder never mounts them, and they’re invisible unless viewed via Disk Utility:

LABEL=UNUSED none hfs rw,noauto

1 Like

Regarding lightning strikes - a swimmer in the ocean near Sydney was recently struck by lightning and the nearest thunderstorm was 30km away. The meteorologist explained that lightning can travel sideways long distances.

East Australia is experiencing a lot of thunderstorms this month so I am careful to unplug things. One time several devices were zapped due to, I believe, an EMP generated in my ethernet cables by a very close lightning strike.

3 Likes

I use SuperDuper!@ to make 2 bootable backups for each of my Macs to 2 separate Samsung SSDs. Since it is only once a week, no need to keep them plugged in all the time, and I thus eject each of them after the backups are complete. If I were bacvking up more frequently, then possibly I would leave them plugged in. But there is a riosk in keeping them plugged in, as some catastrope could happen, and “hosed” the SSDs.

2 Likes

Agreed. Even if there are no hardware failures of any kind, if your backup device is always connected, then it is possible that a malware infection could wipe/corrupt/encrypt your backups while trashing the rest of your system.

If the drive is powered-off, disconnected or otherwise off-line, then that can’t happen.

Keep automated-backup drives on-line, because it’s necessary. But for anything where you are manually starting the backup, turn them off when not in use.

6 Likes

Well stated, David. Additionally, even if nothing happens, leaving a drive connected when not in use shortens its life span. That’s not good.

I disagree about that last part.

My experience with hard drives has been that the drives that remain spinning 24x7 seem to last longer than those that spin up/down a lot (whether due to power cycles or energy-saving configurations).

This could be coincidence, but I think the stress of a drive spinning up/down causes more wear than just letting it spin all the time. And modern drives use very little power when idle, even with the motor spinning.

Although I have much less experience with SSDs, I would assume that they shouldn’t care either way. Their wear is determined mostly by how much data is written, without regard to anything else. Assuming it doesn’t get damaged by a power surge or overheating, of course.

3 Likes

I always thought that car batteries would not lose “juice” by sitting idle and completely off. But apparently that is not the case. So would not be surprised if leaving SSDs connected, but not in use, would lose some of their “juice”.

Remember, I am not talking about leaving the SSDs connected, but still in some use. For me, they are for backups only, and thus do not need to be connected (whether in use or not) all the time. I do agree, though, about them in use a good deal of time.

But all that is really not the issue. Leaving them connected does carry some risk. And being mine are for backups, do not want to risk it.

No disagreement here. As I wrote above, there are good reasons to not keep backup drives connected when they’re not being used. But I don’t think hardware longevity is one of them.

For me, longevity is. Shoot, the battery in our 2021 BMW X1 is more than 5 years old, and it is still “going strong”. No, I do not disconnect it. But instead, use a Battery Tender on it about once a month. Definitely helps.

My point is that by being prudent and practical, one can prolong the life of devices. SSDs are a perfect example, as are car batteries.

The physics and engineering of batteries (which are chemical devices) is completely different from spinning hard drives. While you may or not be correct that is not an appropriate analogy.

The great thing about a query like this is seeing what everybody does, the variations in approaches!

OK – I have three MBAs, an M5, M3, and a 2017 Intel (agree with S Jobs about fans…and I don’t process video, just DTP). I keep the old machine to run 32bit software under Mojave.

With the M5, my workhorse, I use ChronoSync daily with 3 external SSD attached via a OWC dock. When I’m working these are always attached. At the end of a session I back up a general documents folder (not the Documents folder) to each of these. After powering down and removing the M5 from the dock all externals are disconnected of course.

I then use one of these drives to copy current work to the ‘backup’ M3.

I have also one of OWC’s built-like-a-tank SSDs – love this thing. And with SuperDuper, which I also love, I make a bootable backup to this drive each time the OS is updated.

I’ve taken the M5 MBA back to zero twice in the last six months, using the M3 to complete Restores to the M5 in DFU. (These days I stopwatch the 10sec/8sec needed to get into DFU, the hardest part of this…) And now with Golden Gate working nicely I have the SuperDuper bootable backup to use with Migration Assistant as the M5 boots again – thus equipped, what on earth can really go wrong?

Oh, yeah, fire, flood and lightening strikes. Well, ChronoSync backs up to iCloud Drive elegantly. And with the last of these in mind, though rare where I am in NZ, it’s good to have the ChronoSync- and SuperDuper-made drives offline when I’m not near the machines…

I feel I’m overprotected, but really I don’t mind that! :grinning_face_with_smiling_eyes:

2 Likes

Just a thought. What about FileVault? I should check but if backups are all encrypted with FileVault, would they not be protected even if malware could access the physical drive?

The way most users have this set up is such that the FV encryption key for an external encrypted drive (which is different from how FV works for the Mac’s internal SSD) resides in the Keychain. When you are logged in as the owner of the keychain that holds that key and you mount the drive, that key gets used to unlock the drive so it can mount. From then on, you can access the drive and thus it’s safe to assume so could the bad guy. If you unmount the drive and leave it unmounted, only then will it remain locked.

Not really. As @Simon wrote, most systems automatically unlock encrypted drives when an authorized user mounts them, and they credentials are taken from the keychain.

It should be possible (I assume) to encrypt it using a password not stored in the keychain. Then you’d have to explicitly type it in whenever you mount/unlock the volume.

But that would only stop malware from exfiltrating data from the backup device. It wouldn’t stop said malware from erasing the volume, trashing potentially years of backups, making recovery (e.g., from a ransomware attack) far more difficult or even impossible (if you don’t have any other backups).

They could erase the volume even without the FileVault password? Interesting. So, basically, the only truly secure method for protecting the drive and its data is to disconnect it from the computer.

Oh, okay. Thanks. Interesting how what one assumes to be a simple question quickly becomes complex.

Yes. They couldn’t mount it and delete individual files, but they could just write zeros or random data to the entire storage device, blowing away whatever file systems that might have been there.

They (or you) could also use Disk Utility to delete any volumes on the device. This is actually what you need to do if you’ve lost your access credentials, if you want to keep using the device.

File Vault makes sure nobody without access credentials can read the data, but it doesn’t protect against destruction of that data.

3 Likes

You missed the point I was making. Yes, the physics are different between batteries (especially car batteries) and spinning hard drives. But by me using a battery tender once a month, and not leaving the external SSDs plugged, both not being in use, the longevity for each is prolonged. That is what I was saying. The other thing, at least for me, is that leaving the SSDs plugged in takes up desk space, which I need.