Cyber

joined 2 years ago
[–] Cyber@feddit.uk 20 points 3 days ago (1 children)

Deep snow... like up past the hedges

[–] Cyber@feddit.uk 2 points 4 days ago

Well...

TBH, I've not seen a battery bulge (in a tablet... seen plenty others...), but I do have a tablet which doesn't seem to hold it's charge as well as it used to.

So, have I done in-depth long-term testing... no.

Personally, I just got some of these USB switches and was more interested in whether I could control it easily (I could)

Re: LineageOS - yeah, I agree, if you can find the right tablet AND it's supported, then definitely flash it.

You might still need to download the latest webview component though.

[–] Cyber@feddit.uk 4 points 5 days ago (2 children)

If money's not a factor? Maybe a Linux Panel PC.

I've tried a few Lenovos and they seem ok - inc. the Lenovo Thinksmart discussed on the HA forum

All tablets have a quirk somewhere, but FullyKiosk does a good job - if the tablet is any good - so I recommend it. A colleague used something else.. I'll try to find out what it was.

Whatever you do get, if it has a battery, ensure you monitor it's battery and keep it somewhere between ~20% & ~80% with a smart power socket / USB relay

Based on your statement that you've only had this for a few months, my suggestion is to assume you'll want to change it in 1~2 years, so try cheap, named brand, 2nd hand ones from ebay until you get size and rotation right for how you use it.

My dashboard on the kitchen tablet is landscape, but portrait in the lounge (on the ThinkSmart on a coffee table) - both seemed too big initially, now they feel too small.

[–] Cyber@feddit.uk 6 points 6 days ago

With respect, you wouldn't install these by just doing an update, so pacman -Syu is fine.

You would have needed to install these manually, or a package that depended on them - both from AUR - so you'd also need to use yay (etc) to install them.

But - I totally agree with your points that tge names look innocent enough for someone to install those over other packages.

Always look at the AUR (website) at the package details - if it's new(ish) and has 0 or 1 votes, then be suspicious.

[–] Cyber@feddit.uk 3 points 6 days ago

Have a look at Patrick Kennedy's reviews on yoochoob under ServeTheHome - there's some fantastic hardware available now

I ended up buying something from AliExpress, which I was initially reluctant to do - but Patrick's reviews convinced me

For detailed reviews his site's got the details from the videos: https://www.servethehome.com/

[–] Cyber@feddit.uk 2 points 1 week ago (1 children)

It depends on the sync / backup software

Syncthing uses a stored list of hashes (which is why it takes a long time for the initial scan), then it can monitor filesystem activity for changes to know what to sync.

Rsync compares all source and destination files with some magical high speed algorithm

Then, backup software does... whatever.

Back in the day on FAT filesystems they used the archive bit on each file's metadata, which was (IIRC) set during a backup and reset with any writes to that file. The next backup could then just backup those files.

Your current strategy is ok - just doing an offline backup after a bulk update, maybe it's just making that more robust by automating it...?

I suspect you have quite a large archive as photos don't compress well, and +2TBs won't disappear with dedupe... so, it's mostly about long term archival rather than highly dynamic data changes.

So that +2TB... do you drop those files in amongst everything else, or do you have 2 separate locations ie, "My Photos" + "To Be Organised"?

Maybe only backup "MyPhotos" once a year / quarter (for example), but fully sync "To Be Organised"... then you've reduced risk, and volume of backup data...?

[–] Cyber@feddit.uk 1 points 1 week ago

Yeah, I get that... I'd be the same

So... are you shutting down after x minutes, or, NUT's signalling to shutdown when the battery is getting low, which is x minutes. (If you see my point) - if the battery still has plenty of capacity, maybe extend the runtime and that might be enough to ride through at least some outages?

[–] Cyber@feddit.uk 1 points 1 week ago (2 children)

What's an average power outage duration?

I'd look at changing the shutdown command from shutdown to something like rtcwake -s 3600 to restart the server in ... 1 hour?

You will probably need to play with that command a bit, but I use it for my NAS to autostart at certain times of the day.

[–] Cyber@feddit.uk 1 points 1 week ago (3 children)

The main point is that sync (like RAID) isn't a backup. If ransomware got in and started encrypting all your files, how would you know / protect yourself..

There's a lot of focus on 3-2-1 backups, so offsite is good, but consider your G-F-S strategy too - as long as this remote copy isn't your only long-term backup option, then sync might be ok for you

So, syncthing / rsync / etc is fine... but maybe just point it to your monthly / weekly / daily backup folder(s) rather than the main files?

You also had some other suggestions I think, like zfs / btrfs snapshots... which would be a point in time copy of your files.

Or burn the photos to DVD / Bluray and store them at the other location? No power requirements there...

[–] Cyber@feddit.uk 3 points 1 week ago

I think most options have been covered here, but I'd like to consider some other bits...

User accounts & file permissions:- if you have >1 account, note that the UserID is internally numbered (starting from 1000, so Bob=1000, Sue=1001) and your file system is probably setup using the numerical UserID... so re-creating the users in a different order would give Sue access to Bob's files and vice versa.

Similarly, backing up /etc /var etc... you should check if any applications (ie databases) need specific chmod and chown settings

Rsync, tar, etc can cover some of this, you just need to check you rebuild users in the correct order.

Maybe Ansible is another approach? So your disaster recovery would be:

  1. Install plain OS on new drive
  2. Get Ansible access to it (ie basic netwroking)
  3. Rebuild OS and instsll applicstions automatically with Ansible
  4. Restore application & home folders (again with Ansible)

When you get this working, it's amazing to watch an entire system being rebuilt

[–] Cyber@feddit.uk 1 points 1 week ago (5 children)

Wake on LAN won't work remotely, so you'd either need to have access to a VPN at their location, or have a 2nd always on device that you can connect to and that could then WoL to your device... or... get a device with an IPMI which you remote into. (All non-VPN forms of remote connection are open to abuse)

I suspect (guess) you're not going to be able to setup a VPN, so perhaps an always on pi is going to be necessary - so maybe it'll be that with drives set to spin down when idle?

OpenMediaVault was my preferred choice until everything went docker on it which was getting too complex for a NAS... so I just created my own, which powers on at certain times of the day and off again when CPU / network IO was low enough.

Data transfer with syncthing is great, but I don't really recommend sync for snapshot backups... (consider your files are all corrupted, it'll happily sync those corruptions) but I have enough space for a few versions of my files, so in theory I can roll back, but it's cetainly not a Grandfather, Father, Son strategy.

[–] Cyber@feddit.uk 2 points 1 week ago (1 children)

Are batteries ok in the roof? I thought the temperature variation up there would be too much for them?

(Lazy question without searching for the answer myself)

view more: ‹ prev next ›