AstonJ

AstonJ

What is your backup strategy?

I’ve been reinstalling macOS after trying out Tahoe, and when I went to migrate from a Time Machine backup I got an error I’ve not see before:

Which reminded me of the importance of contingency, so thought it might be an idea to post this thread (that’s my tip, use Time Machine and with more than one drive!)

Curious what everyone else’s backup strategy is?

Most Liked

arcanemachine

arcanemachine

On Linux, I have my .bashrc, Vim config, other config files, documents, etc. backed up to various Git repos. All the essential stuff I wouldn’t want to lose.

I don’t make an effort to preserve my entire home directory, there’s just too much junk that accumulates over time.

Evey 5 years or so, I find some reason to reinstall Linux and start over, which is like a breath of fresh air.

mudasobwa

mudasobwa

Creator of Cure

What is your backup strategy?

None. I mean it.

When I forget my gloves in the train I don’t check lost and found either.

I can redo whatever I could have lost in less time than I would waste doing all these backups and whatnot.

dimitarvp

dimitarvp

I use borg + rclone for years. The caveat is that I have to manually trigger my script but nothing prevents it from being scheduled, I just haven’t bothered. Motivation to tinker with macOS deteriorates by the week lately.

Having various backup tools like borg or restic (or rustic) gives you another layer of backups i.e. it’s a “repository” of backup snapshots which you can configure to have N past backups based on counts or time slots. And then that repository I disperse across multiple cloud services (and my own home server), compressed, deduplicated and encrypted.

I also test my backups once a month or two. Because if you don’t do that, they are pointless.

sanswork

sanswork

I don’t really backup anything. Everything that is important is in apple photos or git. I have a bunch of stuff on my icloud drive too but I could wipe my laptop right now and not miss anything except some time reinstalling my apps as and when I need them.

My servers I only backup the db for similar reasons(I have scripts in git that can setup everything again faster than a backup would restore) and I use pgbackrest for that.

pennychase

pennychase

First of all, my go-to answer for Time Machine conundrums is Howard Oakley’s Eclectic Light Company, and he had a post on APFS and indicates that Time Machine backups are always on case sensitive APFS volumes. In a comment on a Tidbits thread on this post, Matt Sephton explained that APFS user disks are case insensitive and APFS Time Machine disks are case sensitive, so if two files have the same name, both will be backed up.

As to my backup strategy, as others have said, a lot of critical stuff is in iCloud or GitHub. But having lived through a couple of disk crashes, one before I did any backups (a long time ago - the drive was a 10MB drive in a Mac SE - and required clean room disk recovery) and the other when I only used Time Machine (and the recovery was slooow), I settled on a multi-layer strategy. I use Time Machine (SSD attached to my iMac) for incremental backups to handle a deleted file, etc. I use Carbon Copy Cloner to make a full disk image of the data portion of the drive (I used to use it for bootable backups, but that no longer makes sense). If a computer isn’t functioning when I buy a new one, this backup is used to transfer data. Finally I use a third party, off-premise backup in case of a fire or other disaster destroying all the local backups.

Where Next?

Popular in Dev Env & Tools Top

AstonJ
Following the Is your computer's internet connection wired or wireless? (Poll) I thought it might be an idea to have an accompany thread ...
New
Nezteb
I frequently switch between ElixirLS, Lexical, and Next LS in order to test each out and compare/contrast. I decided to create a brief fe...
New
sodapopcan
I just placed on an order for my first mechanical watch since I last wore one in my mid 20s which was… oh boy, technically decadeS ago (t...
New
AstonJ
While on the theme of routers: Is your computer's internet connection wired or wireless? (Poll) Which router do you use? How do you se...
New
BartOtten
How do you all enter the pipe operator |> on your keyboard? I keep having troubles with it :frowning:
New
New
AndyL
Elixir has rapidly changing hex packages, both public and private. For people who use AI Coding Tools (Aider, Cursor, Windsurf, etc.), h...
New
calebjosue
What sort of libraries are available to integrate LLMs into your Phoenix Web Framework applications? e.g. Mistral, since these guys have ...
New
AstonJ
Do we have any frequent travellers or digital nomads here? If so where have you been and do you have any tips to share? (Particularly in...
New
g33kidd
Just curious as to what everyone is using in terms of colors. I’m currently using Sublime Text 3 and using the GoldenDragon color scheme....
New

Other popular topics Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
977 41022 311
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New

We're in Beta

About us Mission Statement