From: Les M. <le...@fu...> - 2006-04-11 14:19:49
|
On Tue, 2006-04-11 at 09:09, Rodrigo Real wrote: > >> I didn't find any tools to manually remove backups, and I still think > >> we should have one. > > > > The brute force approach is to go to the pc/hostname directory > > and rm -rf some of the numbered backup directories, but you > > still don't recover the space until BackupPC_Nightly runs > > and removes the pooled links, and the web page backup list > > will probably be wrong for a while too. > > I tried this approach, but I never got the free space back, I was > hopping that the nightly routine would remove the files, but it didn't > work, maybe because I did not detect exactly what I should delete. The way hardlinks work is that the space for the data is not released until the last link is removed, and all of the files have a link under the cpool directory. The manual approach to that is to cd into the cpool directory and find . -type f -links 1 |xargs rm That is, remove the files in the pool that no longer have any links from pc backup directories, but you can do some damage if you get this wrong. -- Les Mikesell le...@fu... |