# Usage of --global policy setting has an impact on snapshots?

**URL:** <https://kopia.discourse.group/t/usage-of-global-policy-setting-has-an-impact-on-snapshots/1887>\
**Category:** Support\
**Created:** [March 16, 2023, 5:11pm UTC](https://kopia.discourse.group/t/usage-of-global-policy-setting-has-an-impact-on-snapshots/1887 "2023-03-16T17:11:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sspade1](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/sspade1/32/373_2.png) [@sspade1](https://kopia.discourse.group/u/sspade1)\
**Post date:** [March 16, 2023, 5:11pm UTC](https://kopia.discourse.group/t/usage-of-global-policy-setting-has-an-impact-on-snapshots/1887/1 "2023-03-16T17:11:39Z")

</div>

I ran 2 tests:

1/  
rclone purge \<rclone\_path\>  
kopia repository create rclone --remote-path=\<rclone\_path\> --block-hash “BLAKE3-256-128”  
kopia policy set \<rclone\_path\> --compression=zstd-best-compression --one-file-system=true --keep-latest 3  
kopia snapshot create \<some\_folders\>

2/  
rclone purge \<rclone\_path\>  
kopia repository create rclone --remote-path=\<rclone\_path\> --block-hash “BLAKE3-256-128”  
kopia policy set --global --compression=zstd-best-compression --one-file-system=true --keep-latest 3  
kopia snapshot create \<some\_folders\>

The only difference between those 2 sets of commands is the usage or not of the parameter “–global” in the policy.  
\<some\_folders\> is the same set of folders in both cases.  
\<rclone\_path\> is a rclone entry pointing to a webdav share in kdrive.

I get those results:

zstd-best-compression global  
backup time : 53m35s  
data total size : 16.3 Go  
compressed size : 14.5 Go  
compressed part : 14.5 Go  
non-compressed part : 1,8 Go  
compression rate : 11.0%

zstd-best-compression local  
backup time : 24m49s  
data total size : 16.3 Go  
compressed size : 16.3 Go  
compressed part : 4,9 Mo  
non-compressed part : 16.3 Go  
compression rate : 0.0%

Is there any reason to get so different results ?  
Should I use global policy to get at least partial compression ?
