# Does kopia calculate exludes correctly?

**URL:** <https://kopia.discourse.group/t/does-kopia-calculate-exludes-correctly/184>\
**Category:** Support\
**Created:** [October 17, 2020, 11:11pm UTC](https://kopia.discourse.group/t/does-kopia-calculate-exludes-correctly/184 "2020-10-17T23:11:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wazabees](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/wazabees/32/48_2.png) [@wazabees](https://kopia.discourse.group/u/wazabees)\
**Post date:** [October 17, 2020, 11:11pm UTC](https://kopia.discourse.group/t/does-kopia-calculate-exludes-correctly/184/1 "2020-10-17T23:11:52Z")

</div>

I’m working on setting up kopia to backup my ~/ directory and there are things there I do not want backed up, such as NextCloud and a VirtualBox VM (I’ll move that soon…). I’m using .kopiaignore to manage the excluded directories.

If I run with the VirtualBox folder **excluded** I get:

```auto
Snapshot includes 47034 files, total size 68.8 GB
  with size over 1 GB : 3 files, total size 56.4 GB
  with size over 1 MB : 1140 files, total size 9.9 GB
  with size over 1 KB : 34828 files, total size 2.6 GB
  with size over 0 B : 11063 files, total size 3.9 MB

Snapshot excludes 11 directories and 8 files with total size 379.2 MB
  with size over 1 MB : 2 files, total size 378.6 MB
  with size over 1 KB : 2 files, total size 549.1 KB
  with size over 0 B : 15 files, total size 1.1 KB

Estimated upload time: 15h17m6s at 10 Mbit/s

```

If I **include** VirtualBox in .kopiaignore I get:

```auto
Snapshot includes 36921 files, total size 13.6 GB
  with size over 1 GB : 2 files, total size 2.7 GB
  with size over 1 MB : 1000 files, total size 9.4 GB
  with size over 1 KB : 26247 files, total size 1.5 GB
  with size over 0 B : 9672 files, total size 3.7 MB

Snapshot excludes 12 directories and 8 files with total size 379.2 MB
  with size over 1 MB : 2 files, total size 378.6 MB
  with size over 1 KB : 2 files, total size 549.2 KB
  with size over 0 B : 16 files, total size 1.1 KB

Estimated upload time: 3h1m10s at 10 Mbit/s

```

So kopia sees that I’m excluding one additional directory, but it’s the same size calculation.
