this post was submitted on 19 Nov 2023
3 points (100.0% liked)

Data Hoarder

170 readers
1 users here now

We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time (tm) ). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.

founded 1 year ago
MODERATORS
 

Hi,

since we get fast internet here during the next weeks, an Off-site backup gets somehow realistically.

Since my Parents-in-law also get fast internet, I discussed with them, to be able to host some kind of Off-site backup at their house.

Obviously, it should consume as little power as possible and should be as easy as possible to install.

My current plan would be to get an old Dell optiplex in SFF and put a 18TB HDD into it. The i just have to connect it to LAN and power at their site.

The machine will be always on and connected via WireGuard to my homeserver.

Any better ideas? Anything I missed?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 11 months ago (3 children)

I have a very similar setup: an old PC with lots of big disk drives at my mom's house.

However, instead of leaving it powered on 24/7, I have it configured it to power itself on at a particular day and time every week. My backup script connects to it, mounts the disks, copies the data, and then send a shutdown command.

This way, the computer isn't running 24/7 (leaving it open to hacking attempts) , and the disks are only spinning when they're in use. It also saves my mom some money on her power bill :)

Just to be safe, I still have the PC plugged into a UPS.

[โ€“] [email protected] 1 points 11 months ago

I really thought about doing this. A Dell Optiplex has this feature in BIOS as far as I know.

So, it should be really simple from this point:

  1. Run systemd timer at the time of the night where the remote machine should be started
  2. Ping the machine on it's wireguard interface until it answers
  3. SSH into the machine and do some basic checks
  4. Run backup script to do backup via borg to remote repository
  5. Shutdown the remote machine

Optionally, keep a config file for the script on the local machine. For eample, I do not want to shutdown the machine after the backup one single time, to be able to do some updates of the remote machine the next morning and shutdown it by hand afterwards.

load more comments (2 replies)