Question regarding datastorages

janczmok

Member
Feb 19, 2021
16
0
6
54
Hi,
if i want to split my backups in different datastores, like private and company one (to have a limitation in max usage like quota) ,would this the correct way ?

root@pbs01:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pbs lvm2 a-- <49.50g 6.12g
/dev/sdb1 vg-pbs lvm2 a-- <8.68t 4.77t

created a vg-pbs
and then lvcreate different volumes and mount them

/dev/mapper/vg--pbs-vol--czmok on /backup/czmok type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/mapper/vg--pbs-vol--company on /backup/company type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)

but this cannot be done via the web interface, correct ? What is the "best" way of implementing this ?

Besides: best tool since a long time for backup :-)
 
Hi,
yes, the web UI currently only supports creating full-disk directory and ZFS storages. Anything more involved or LVM needs to be done manually. And yes, I think using separate datastores is the way to go in such a situation. If you haven't already done so, you can also add two users and give them permissions for one datastore each, to further separate access.