very large snapshot files

Questions and discussions about Indie Computing's UBOSbox
Post Reply
Posts: 10
Joined: Mon Mar 25, 2019 6:02 pm

very large snapshot files

Post by dln949 »

In the .snapshots directory I have three directories - named "7", "8", and "9" - that are each over 647,000 MB in size.

I don't know what these files are, nor how they get created.

They are taking up so much space on the disk that I cannot upload files to the nextcloud application.

What are these file?

What makes them?

How do I get rid of them?

Posts: 196
Joined: Tue Dec 12, 2017 9:17 pm

Re: very large snapshot files

Post by j12t »

These are actually not files, although they look like it. These are btrfs filesystem snapshots created automatically with "snapper" (see ) during certain ubos-admin operations -- basically an extra form of insurance kept around for a while in case something goes wrong.

You can remove some/all of them, which will indeed free up disk space (but not immediately: btrfs needs to have some time to do cleanup):

To see more info about those snapshots:

Code: Select all

sudo snapper list
To delete listed snapshot number 1:

Code: Select all

sudo snapper delete 1
Post Reply