Quote disk backups

gdp01

Verified User
Joined
Oct 7, 2019
Messages
24
I have a folder in root where the backup copies are stored with a retention of three days, since the ./set_permissions.sh was made all this is now counted as user quota since the copy add user and group to the folders. How can I exclude this folder from the user quota?
 
you can reconfigure qouta_partition from / (root) to /home for example.
 
I don't have a specific partition of / home, I have the whole root system in / I can't apply on / home

#cat /etc/fstab
<file system> <mount point> <type> <options> <dump> <pass>
/dev/md2 / ext4 errors=remount-ro,usrquota,grpquota 0 1
/dev/nvme0n1p3 swap swap defaults 0 0
/dev/nvme1n1p3 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/nvme0n1p1 /boot/efi vfat defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
 
Last edited:
in such case just add to cron command that will change backup owner to neutral one.
 
Back
Top