r/linuxquestions • • 5d ago

Advice In need of a backup server

Today I'm running active backup for business on an old Nas. It works and I'm happy with it but it will need replacing soon so my idea is to replace it with a Linux box but I need a backup software.

Requirements:

Agentless - the backup server shall fetch the files from the boxes they are stored on. (combined with a firewall this is a good protection against attacks and crypto/deleting viruses)

Versioning - Versions of files should be kept instead of directly overwritten. ( good against file corruption and viruses)

Deduplication - saves diskspace

retention policy - clears out unneeded backups/versions

scheduling

3 Upvotes

17 comments sorted by

2

u/distressed_by_heat 5d ago

Syncthing is what you need for a simple setup, but if you want deduplication and encryption you might want to check out Borg.

1

u/mats_o42 5d ago

Borg pushes backups as i understand it. I need it the other way.

Syncthing doesnt seem to have versioning, deduplication or retention policies

1

u/Laurendon-Mimoune 4d ago

pull mode is the tricky part with both of those though, since they usually expect the client to push data rather than the server fetching it

2

u/tomhung 4d ago

I just installed kopia repo server.

1

u/mats_o42 4d ago

and that seems to be agents to the backup server, I need an agentless solution

1

u/Smart_Advice_1420 5d ago edited 5d ago

Have a look into rsnapshot, it's what i use for my business and also for my private server. Looks like it also checks all your boxes with the right setup.

I schedule it with a simple cronjob. The rest is usual linux hardening.

1

u/mats_o42 4d ago

looks rather good but seems to be ssh only .....

1

u/Smart_Advice_1420 4d ago

Not really. It also takes pretty much anything that's mounted like a smb or nfs share from another server.

1

u/OhBeeOneKenOhBee 5d ago

Proxmox Backup Server is awesome overall, really robust, integrates with external S3 storage for offsite copies, it's fast, does differential backups and deduplication really well

1

u/mats_o42 5d ago

can it pull files from another box?

as far as i understand it - it cant

1

u/OhBeeOneKenOhBee 5d ago

Not natively, but there are ways to do it.

The simplest would be rclone mount + the CLI, a more "complete" addon with a GUI would be something like Fallbck (one of my company's OSS projects)

1

u/barnamos 5d ago

Arrrgh! Not command line! Lol just because it's easy and fully customizable and basically free is no reason to mess with it!!

1

u/OhBeeOneKenOhBee 5d ago

It's the fastest way to get started often... But yeah, that's why we ended up rolling all of our scripts into Fallbck eventually, it's just easier to maintain in the long run if you can get a quick overview of the status of everything.

1

u/cgherman 5d ago

bareos can be choice. it can done full/incremental/diferential backups. files can be encrypted on backuo server.

It has a web interface. I used for 3 years and saved our asses few time.

1

u/mats_o42 4d ago

doesnt that require a client?

1

u/bearwithme777 1d ago

Yeah, for regular files it normally needs a client, but it actually solves your fear about viruses. The server, as brain, pulls data and the client wont have access to the backup storage, so if your box gets hit by smth, the virus literally cannot reach across the network to encrypt your backups What do you backup? VMs?

1

u/mats_o42 1d ago

files