Disk full. What files are safe to delete?


#1

Here’s what I’ve got so far:

rm -rf ~/.buddy/app/data/backend/tmpFiles/
rm -rf ~/.buddy/app/data/backend/trash/
rm -rf ~/.buddy/app/data/backend/builds/git-server/
docker image prune -a
docker container prune

Unable to perform backups anymore - On Premise
#2

BersteinA, can you provide more context? Where is this running, and what is the output of 1) df -h 2) lsblk


#3

Buddy standalone free running on a digitalocean droplet. I’ve since added a volume and moved buddy, but df -h would have said something along the lines of /dev/sda1 100%
(It was not an easy migration, and support said to post here because they wouldn’t help.)


#4

@jordanwilson230
$ buddy backup

Something went wrong. Please check your free disk space

$ df -h

Filesystem      Size  Used Avail Use% Mounted on
udev            2.0G     0  2.0G   0% /dev
tmpfs           396M   42M  355M  11% /run
/dev/vda1        39G   17G   22G  44% /
tmpfs           2.0G  680K  2.0G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/vda15      105M  3.4M  102M   4% /boot/efi
/dev/sda         50G   39G  8.2G  83% /mnt/volume-tor1-01
tmpfs           396M     0  396M   0% /run/user/0

[omitted a bunch of docker volumes]

$ du -hs /mnt/volume-tor1-01/buddy/data/backend/*

24G		/mnt/volume-tor1-01/buddy/data/backend/builds
8.6M	/mnt/volume-tor1-01/buddy/data/backend/logs
8.5G	/mnt/volume-tor1-01/buddy/data/backend/repositories
156K	/mnt/volume-tor1-01/buddy/data/backend/served
24K		/mnt/volume-tor1-01/buddy/data/backend/ssh-keys
12K		/mnt/volume-tor1-01/buddy/data/backend/tmpFiles
2.4G	/mnt/volume-tor1-01/buddy/data/backend/trash

$ du -hs /root/.buddy

440K	/root/.buddy

#5

welp, I ran buddy update and it cleared about 40gb of disk space for me… but not in a good way


Pipeline ssh keys not working anymore
unlisted #6