use pbs as fileserver also

glideless

New Member
Jan 22, 2025
1
0
1
Hi.
We installed PBS on one of our servers and we really like functionality of it.
But on pbs server we have a lot of space (about 30TB) and currently we use it only to backup virtual machines from proxmox servers. But we also have other backups (database backups, file backups,...) + we would like to use storage on pbs server as some kind or archive also.
so my question is, can we use pbs as fileserver and if that is possible, how to configure it? i searched for this, but couldn't find the answer. A lot of people wants to connect fileserver to pbs, but we want to create fileserver on pbs, basically :)
 
Well basically PBS is a customized Debian so you can always install more Software. Whether you should is a different question though. Personally I would only install sonething like restic or borg server but not samba or NFS due to it's security implications
 
Ok, I won't recommend this either.
A doctor would call it "off-label".
A sysadmin would call it "unsupported".
In either case, they might mean either "dumb" or "dangerous". Tough to tell without context.

I like to think of these Proxmox machines as virtual appliances.
The more like black box they are, the better.
Because ... the more you tinker with them ... the more likely it is that the vendor's built in management of that appliance is going to stomp all over your constructions.

But I likes me a good hack. Adventurous spirits should be encouraged.
Read this.
https://wiki.debian.org/NFSServerSetup
 
  • Like
Reactions: Johannes S
But I likes me a good hack. Adventurous spirits should be encouraged.
Read this.
https://wiki.debian.org/NFSServerSetup
Please keep in mind that NFS before NFSv4 and without kerberos authentification shouldn't be used when security matters. And on the server who hosts the backups security matters *a lot*. NFS is broken by design in that regards since it's a protocol from the 1980s where nobody was root on his client (nowadays we have people with their own notebook or something like virtualbox/wsl) and only the admin of a system (root user) was able to change his uid by doing su - $user.

I saw a talk on this last year, although the talk is in German the slides are in English: https://media.ccc.de/v/2024-343-network-file-system-security