very large snapshot files

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

very large snapshot files

Post by dln949 » Sat Jun 22, 2019 5:45 am

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?



j12t
Posts: 106
Joined: Tue Dec 12, 2017 9:17 pm
Contact:

Re: very large snapshot files

Post by j12t » Mon Jun 24, 2019 7:07 pm

These are actually not files, although they look like it. These are btrfs filesystem snapshots created automatically with "snapper" (see http://snapper.io/ ) 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