I use restic to backup my MacBook as scheduled by launchctl. (It runs a certain time every week, or whenever I next log in.) But my laptop moves around. Sometimes it’s at my home network, other times it’s on campus, etc.
I also have my home file server backing up to the same repo, leading to a snapshots list like this:
$ restic snapshots
ID Date Host Tags Directory
----------------------------------------------------------------------
c29d7dbe 2017-06-21 18:56:21 MyMacBook.home /Users/matt
e16ee1b0 2017-07-13 18:13:11 myfileserver /mnt/data
4e92f474 2017-07-17 10:28:07 MyMacBook.home /Users/matt
a7f3ac7f 2017-07-21 01:00:30 myfileserver /mnt/data
f61eb740 2017-07-21 01:00:50 myfileserver /mnt/data
86b5672c 2017-07-28 01:00:33 myfileserver /mnt/data
836d3ff8 2017-07-31 10:00:08 MyMacBook.home /Users/matt
c290bb80 2017-08-04 01:00:30 myfileserver /mnt/data
a5b1fa0f 2017-08-07 10:00:08 MyMacBook.home /Users/matt
175b4b6a 2017-08-11 01:00:34 myfileserver /mnt/data
a4372e40 2017-08-14 10:06:52 MyMacBook.local /Users/matt
f82ba886 2017-08-18 01:00:29 myfileserver /mnt/data
dd75b5d8 2017-08-25 01:00:31 myfileserver /mnt/data
27ed19fc 2017-08-28 10:07:00 byu01167038wks.app.byu.edu /Users/matt
There’s only 2 machines backing up to this repo, but it looks like there are 4. My MacBook’s “Computer Name” hasn’t changed – but the network it’s on assigns it different names, I guess. My Will this be a problem when trying to restore all the files for my MacBook? Is there a way to rename these hosts?