I am torn on how to setup backups

demuxer86

New Member
Apr 29, 2023
25
1
1
I have Proxmox on baremetal. Not changing that, I love it.

I run Truenas in a VM. I run a large SMB share with that, along with Nextcloud in Truecharts. Currently I use replication to backup the datasets to an offsite server, and it works well. I will admit I have had issues with snapshots though... I am not confident Truenas Scale is mature enough to handle them conveniently.

I am realizing, overall, it's not the best practice to run any apps in Truenas. If you can do the same thing in Portainer on Proxmox, that's the way to go.

Am I missing anything as far as nextcloud goes? If I run that in Portainer, and use pbs to backup that VM to an offsite location, is this good practice? Right now, Truenas handles replication REALLY well... and I am a little worried the Proxmox backups aren't as robust. Does anyone have insight to this? I have two 8TB hdd's, two 4TB hdd's and nothing is Raid or mirrored. My plan is to run single drives for everything, and have it nightly backup to an offsite location. I am OK if I lose 1 days worth of work.
 
Does anyone have insight to this? I have two 8TB hdd's, two 4TB hdd's and nothing is Raid or mirrored. My plan is to run single drives for everything, and have it nightly backup to an offsite location. I am OK if I lose 1 days worth of work.
I use a raidz1/raidz2/mirror/striped mirror for everything. The problem with backups without ECC RAM and without bit rot detection/protection is, that you never can rely on your backups. It for example doesn't help to have 2 months of backups when a file corrupted 3 months ago but you didn't noticed it, because your RAM and storage got no mechanism to identify it. Then all backups of those 2 months contain the same corrupted file and you won't be able to restore a healthy version of that file.
With single disk ZFS pools that only scrub once per month you for example would need to keep backups for over a month as you are missing the parity data so that ZFS could auto-heal corrupted data.
 
Last edited:
I get what you're saying. I think. I run a b550, so eec ram is on the docket if I want to. When I was researching parts, I found that eec isn't the end all of protection, but it's technically better than without it.

Overall I'm not running mission critical stuff. What would suck is if the data corruption was on a main app, like Nextcloud , and it wouldn't boot at all. But even then, the actual files should still be ok. Like I researched, the risk isn't that bad running normal ram. Bitrot does worry me though... Is it a common thing? I certainly plan on changing hard drives every 5 years to prevent it.
 
Is it a common thing? I certainly plan on changing hard drives every 5 years to prevent it.
It doesn't happen that often, but can be really bad if it does. Lets say you store an important file on your nextcloud, like a password safe. Would be bad if that file corrupts, your password is now "ABCEFX" instead of "ABCDEFG" and you wonder why logging in into your bank account doesn't work anymore. Or even worse it's not the password for your bank account which you can reset by calling your bank, but the passphrase that unlocks a 1TB encrypted partition, so you can't unlock those 1TB of files anymore. The most worrying part is, that you can never know if and what has already got corrupted. If that file is still there, but just damaged, you usually won't notice it until it is too late to restore a non-damaged copy of it. And replacing disks every 5 years won't protect you from that.
Similar problem without ECC. Got a bad RAM module 2 years go that slowly started failing. Until I realized that something was wrong because system crashes got more frequent, it already corrupted some hundred GBs of data.
 
Last edited:
i guess i will acquire some EEC ram at least then. for critical passwords, those always get printed out and saved physically hidden in the house somewhere. but yes if I am going to run my business with a full ERP system on this server it would be bad to lose customer data. Especially when part of the service I provide is a user account logins where they can get their document history.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!