Ravinou / borgwarehouse

A fast and modern WebUI for a BorgBackup's central repository server.
https://borgwarehouse.com
GNU Affero General Public License v3.0
353 stars 22 forks source link

Mounted ext4 for repos location #267

Open mnestor opened 1 month ago

mnestor commented 1 month ago

I've mounted an ext4 partition to my repos directory. This contains the lost+found directory now causing issues when updating storage. As this is something to ignore anyway when getting the directory sizes it seems that placing

GLOBIGNORE="lost+found"

in the getStorageUsed.sh should be safe to do?

This way the directory is ignored preventing an error dumping to stderr causing the script call to think it failed and not process results.

Ravinou commented 1 month ago

Thanks for the suggestion, I'll take a look.