Root Partition Filling Up during backups

I have Urbackup 2.1.19 running on an Ubuntu 16.04 LTS Server with a 150 GB Root Partition and 2 TB Data Partition. Whenever Urbackup Server is running any jobs, it saves the backups to the data partition, but it also slowly uses up space on the root partition, and whenever the root partition fills up Urbackup Server crashes and the space frees up the root partition again back to 130 GB free on the root partition. Any help on this issue or any steps to take to help diagnose this would be greatly appreciated. Thanks!

look at at /usr/local/var/urbackup in addition to the path you set in urbackup.
also look at /tmp during a backup for fils owned by urbackup

also try unchecking Temporary files as file backup buffer in advanced

you can use ncdu to quickly fins where the disk space goes

you can use mount with bind option to mount a partition in two places

I have the exact same problem. Did you figure this out. No matter what / gets filled. Using ncdu doesn’t show where the hidden files go. If you restart urbackup, the space erases.

Hi

By default ncdu shows hidden files.


Actually you need to run something like ‘ncdu /var/data/’ or whatever is your mount point.

If it wont shows via ncdu, then another low possibility is “lsof | grep -i deleted”, but i really doubt that’s the problem.

I dont think there are other a lot possibilities. Space could be consumed by something like inode and that s a super low probability that inode use more space than data itself.
Maybe zfs/brfs snapshots or something can use data in unexpected ways, but that would be too file-system specific for me to diagnose like this.

its the URbackup program. If I reset it, I get the space back. I am restarting the service.

Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 785M 1.3M 784M 1% /run
/dev/sdc2 55G 35G 18G 67% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/loop1 87M 87M 0 100% /snap/core/4486
/dev/loop0 87M 87M 0 100% /snap/core/4571
/dev/sdc1 511M 4.6M 507M 1% /boot/efi
/dev/md0 916G 77M 870G 1% /mnt/md0
tmpfs 785M 0 785M 0% /run/user/1000

The backup is running and filling up / above.

Output of ncdu doesn’t add up either

ncdu 1.12 ~ Use the arrow keys to navigate, press ? for help
— / ---------------------------------------------------------------------------------------------------------------------------------------
. 2.0 GiB [##########] /var
964.5 MiB [#### ] /usr
. 530.1 MiB [## ] /snap
516.0 MiB [## ] /lib
. 178.4 MiB [ ] /mnt
77.5 MiB [ ] /boot
15.0 MiB [ ] /sbin
14.9 MiB [ ] /bin
. 5.9 MiB [ ] /etc
. 1.2 MiB [ ] /run
48.0 KiB [ ] /home
24.0 KiB [ ] /tmp
! 16.0 KiB [ ] /lost+found
4.0 KiB [ ] /lib64
e 4.0 KiB [ ] /srv
! 4.0 KiB [ ] /root
e 4.0 KiB [ ] /opt
e 4.0 KiB [ ] /media
. 0.0 B [ ] /proc
. 0.0 B [ ] /sys
0.0 B [ ] /dev
@ 0.0 B [ ] initrd.img.old
@ 0.0 B [ ] initrd.img
@ 0.0 B [ ] vmlinuz.old
@ 0.0 B [ ] vmlinuz

maybe its the mlocate file?.. see this post…