14
submitted 10 months ago by alvaro@social.graves.cl to c/selfhost@lemmy.ml

I have a disk for local backups (that is the only purpose of that disk). I was wondering what would make it last longer:

- Keep it mounted to my server permanently (current solution)
- Keep it unmounted most of the time, mount it when I'm going to do a backup (either daily or every 3 days, I don't mind changing that) and unmounting after the backup is done.

What would be the best strategy?

cc @selfhost@lemmy.ml @selfhosted@lemmy.world

all 9 comments
sorted by: hot top controversial new old
[-] satanmat@lemmy.world 7 points 10 months ago

Longer lasting I think; leave it powered on and warm.

Best in reality; buy 3 drives, and after you do a backup move one off site.

3-2-1-1

[-] jet@hackertalks.com 3 points 10 months ago

100% this. If we're talking about a mechanical drive, you want to minimize the state changes it goes through. So leaving it powered on all the time and spinning is the best. There's data centers with old computers that engineers are afraid to turn off cuz they're not sure they'll turn back on.

[-] ReversalHatchery@beehaw.org 2 points 10 months ago

I don't think unmounting in itself does any difference to it's longeviy. I think what you want is powering it down.

[-] SheeEttin@programming.dev 2 points 10 months ago

Mounting or unmounting a filesystem won't make a difference for drive longevity.

If you want to keep your backups secure, you want to keep them offline, so if you get ransomware it doesn't encrypt your backup too. (Or if you just mistype a command and target the wrong device, folder, etc.)

But drive motor starts and stops are when the most failures occur. So the ultimate question isn't how to make a drive last longer, it's how you plan to handle it when the failure inevitably occurs.

[-] passepartout@feddit.de 1 points 10 months ago

I recently bought a second external drive to do a backup of the first one. In the process I'm going to switch to btrfs. It can do data scrubbing which allows for self repair of corrupted data, which can occur if you leave a drive unpowered in a closet for some years.

[-] pthenq1@mastodon.la 1 points 10 months ago
[-] CommunityLinkFixer@lemmings.world 1 points 10 months ago

Hi there! Your text contains links to other Lemmy communities, here are correct links for Lemmy users: !selfhosted@lemmy.world

[-] 314xel@lemmy.world 0 points 10 months ago

Hmm. I unmount mine to reduce noise. Didn't think about endurance though, curious to see opinions too.

this post was submitted on 17 Feb 2024
14 points (88.9% liked)

Self Hosted - Self-hosting your services.

11582 readers
8 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS