Les Mikesell <[EMAIL PROTECTED]> writes: > 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.
I figured out something similar to your suggestion, but I was a too afraid to do it :) thanks for the idea, Rodrigo > > -- > Les Mikesell > [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
