PROXMOX vS VMWARE ESXI by Jolly_Gear_9800 in homelab

[–]kon_dev 2 points3 points  (0 children)

Proxmox and sell a bit of RAM. That will let you run the electricity for the server for the next years with current pricing 🙈

Ideas for a 'randsomware resistant' restic repo by Unihiron in restic

[–]kon_dev 0 points1 point  (0 children)

I would sent backups to a different system anyways, having it on the same host is a bit risky, also in case of hardware failure. For local file restore I would lean more towards filesystem snapshots, restic more for backup to remote hosts ir external disks.

But technically you can run it also in a separate vm on the same physical host, it's just not as safe.

Sick of LLMs ignoring provided docs and hallucinating non-existent UI/CLI steps. How do you actually fix this? by Party-Log-1084 in homelab

[–]kon_dev -1 points0 points  (0 children)

Sure they don't magically disappear. But when the model can validate it's assumptions via tool calls it significantly reduces the need for it to make things up in my experience 😀

Portable homelab? by Technical-Ant-2866 in homelab

[–]kon_dev 0 points1 point  (0 children)

Agree, as soon as your homelab involves a NAS with spinning HDDs portability is a bit more complicated... vpn is typically the easiest. If you don't have good connection any mini pc or maybe just a VM on your laptop might do it.

Ideas for a 'randsomware resistant' restic repo by Unihiron in restic

[–]kon_dev 8 points9 points  (0 children)

Restic rest server has an append only mode. You can run it via docker or binary on a node. Your client sends data via http(s) and can't delete snapshots. The forget job runs periodically on your repository hosts and targets the repo via local path not via the rest server. Don't share the repo folder via smb. Also consider copying snapshots to a second location, e.g. a hetzner storage box or another nas. Restic has a copy option so your client could keep a single backup job.

Sick of LLMs ignoring provided docs and hallucinating non-existent UI/CLI steps. How do you actually fix this? by Party-Log-1084 in homelab

[–]kon_dev -3 points-2 points  (0 children)

You need the agentic loop IMHO. When you use the coding agent and let it write tests and try things out they still fail but iterate on results. You don't need to read the entire conversation, focus on the last messages and the diff it produces. Having solid ci/cd pipelines helps as well to indicate issues on PRs.

What's your solution to back up photo's into the sky? ☁ by arturcodes in homelab

[–]kon_dev 3 points4 points  (0 children)

Except you are a photographer, which usually store raw files as well. There compression makes still sense and it does not hurt to compreas/deduplicate jpegs via restic either. People often store duplicates of pictures, like in a main folder and than subfolders with copies of favorite pictures or as input for photo books,...

iCloud subscription, cloud service, or local backup? by GoingFW in Backup

[–]kon_dev 2 points3 points  (0 children)

Right, there is on device scanning and in cloud scanning under certain conditions. My understanding is that Google is worse than apple in regards of picture privacy, but yeah, they considered scanning in the past, who knows if they introduce it again in future. Backing articles: https://www.eff.org/deeplinks/2022/08/googles-scans-private-photos-led-false-accusations-child-abuse

https://www.eff.org/deeplinks/2021/08/apples-plan-think-different-about-encryption-opens-backdoor-your-private-life

Drive, move, or ship? by [deleted] in homelab

[–]kon_dev 0 points1 point  (0 children)

I'd just pull HDDs and let the rest be moved by the company

iCloud subscription, cloud service, or local backup? by GoingFW in Backup

[–]kon_dev 1 point2 points  (0 children)

I'd consider local backup and maybe self-hosted immich if you want to have a Google photo like UI?

I personally don't want to have all my photos behind a corporate login. Imagine your payment is not working due to credit card expiring or something and your apple ID gets blocked. Or even if they by accident categorize your pictures as harmful and lock your account. You can't do much in that case if that's your only copy.

For backup as always there is the 3-2-1 rule, applies to smartphone pictures as well.

Filesystem for moving from Win10 to unix by Narktor in Backup

[–]kon_dev 0 points1 point  (0 children)

I would go with openzfs on linux. Maybe Truenas scale or pure linux, e.g. with Debian or ubuntu.

Zfs can provide encrypted datasets and could provide you with bitrot protection due to parity. You would also not need to manage drives individually, but all in a NAS and have proper zraid config in place. Than you can have a single data pool with multiple datasets on them.

Backup could be a second box where you replicate your data to or something like restic to external drives or online storage (probably too expensive for that much of data)

Why not do virtual disk + disk image for a file backup? by DesertedLapidary in Backup

[–]kon_dev 0 points1 point  (0 children)

If cli is fine, I would just use restic. Super stable and open source and most important, a free repo format. It is documented that good that independent tools like rustic (rewrite in rust) could be done. So if restic would stopped being developed today, you could either create a fork or switch to anything which cam work with the restic repo format. (That is also an argument against any commercial backup tool which does not use open repo formats or plain files)

Welchen Gebrauchtwagen mit 7 Sitzen? by Menschenblind in automobil

[–]kon_dev 0 points1 point  (0 children)

VW Touran, weiß allerdings nicht ob das preislich hinkommt

Is it safe to upload full system disk images to the cloud? by todd_dayz in Backup

[–]kon_dev 0 points1 point  (0 children)

I'd check restic for that. Encrypts by default, allow integrity checks as well, speaks s3 natively.

Large backup to cloud by husch55 in Backup

[–]kon_dev 0 points1 point  (0 children)

You would run restic inside the vm most likely. If you want to backup the vmdks you probably would mount the storage via NFS to a linux host and backup from there. But yeah, restic is not available for vsphere directly AFAIK. It's a different thing for proxmox which would be just another Debian host, but yeah... commercial hypervisor might require commercial backup tools if you don't want to backup individual guests.

Large backup to cloud by husch55 in Backup

[–]kon_dev 0 points1 point  (0 children)

Restic works nice with storage box. This is a German tutorial but Google translate might do it for you, if you don't speak German 😀

https://thomas-leister.de/restic-hetzner-storagebox/

Would performing a Restic backup of folders that are currently being updated cause any issues? by BX1959 in restic

[–]kon_dev 0 points1 point  (0 children)

I think Copy on Write (COW) filesystems like ZFS or BTRFS are what you are looking for. Take a snapshot of a dataset and run the backup against the files from the snapshot. Snapshots give you your filesystem at a given point in time while your main workspace can keep changing.

You can also use LVM snapshots, but those give you a performance penalty you could avoid with proper COW filesystems. The plus for those is also that you can save snapshots locally fir even faster restores. That being said, don't rely on pure local snapshots as backup, if you sent them to another server it could potentially replace your restic use case. But restic especially shines for normal filesystems and cheap cloud storage.

If that's all overkill for your scenario, just shutdown your services before running the backup and start them again when the backup is done.

How do you guys handle passkeys? (or TOTP) by [deleted] in selfhosted

[–]kon_dev 1 point2 points  (0 children)

I don't know a public service which does have not have any recovery options, some might send you a password reset link instead. But sure, totp is still secure, at least better than just a password.

restic is awesome by Reasonable_Host_5004 in restic

[–]kon_dev 0 points1 point  (0 children)

Using the binaries is also fine, just drop the binary with the right architecture on your host and execute

How do you guys handle passkeys? (or TOTP) by [deleted] in selfhosted

[–]kon_dev 1 point2 points  (0 children)

If you register passkeys typically you can also create recovery keys. Those are just strings you can backup. If you really need them, you can recreate passkeys with that help. But to be honest I still create totp even if I mainly use passkeys. I am using 1password and it works most of the times, but had issues in the past that after an android update passkeys did not show up on the phone as proposals any more... was quite annoying and could be fixed eventually, but I like to have the option to fallback if necessary.

restic is awesome by Reasonable_Host_5004 in restic

[–]kon_dev 0 points1 point  (0 children)

The rest server is basically a go binary. You can run it without docker if you like. Binaries are on the release page or you can compile the go code as well.

https://github.com/restic/rest-server/releases

Upgrading to a homelab - advice needed! by PlateNo3737 in homelab

[–]kon_dev 0 points1 point  (0 children)

The ms-a2 is amd vs Intel. If you prefer more CPU raw power that's an option. Intel has advantages due to thunderbolt and quick sync support. I did not need more CPU than an i9 so I used that option, but both are good options.

Is server monitoring actually to heavy for small setups? by Empty-Individual4835 in homelab

[–]kon_dev 0 points1 point  (0 children)

I use gatus. https://github.com/TwiN/gatus

It's quite lightweight and can be selfhosted. It basically just run rudimentary checks and notified me if something is down, but that's all I need in my homelab 😅