Author Topic: Make new backup not count for quota usage  (Read 518 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Make new backup not count for quota usage
« on: March 15, 2022, 01:07:56 PM »
Hi,

I am using quota in my webserver, and I can not make the new backup to run properly because it is causing some users to exceed its quota. Is there any way to make the tmp backup files not count for user quota? I always copy the backup files to anoter server, so my issue is only with the temporary files.

Offline
*
Re: Make new backup not count for quota usage
« Reply #1 on: March 16, 2022, 01:27:56 PM »
I partially solved my issue compressing the users home folder in a custom script.

Code: [Select]
    cd /home
     for d in * ; do
            echo "$d";
            tar -czf "/backup/$d.home.tar.gz" "$d";
     done

Probably I will need to do the same for emails and databases.