On Sat, 2006-01-14 at 21:56 -0800, Craig Barratt wrote: > Rich Duzenbury writes: > > > I've mistakenly allowed a bunch of really large files to get backed up > > to my backuppc server, which I did not intend. They come from one > > workstation. Now my pool is at about 96%. I've excluded the directory > > where they reside to solve things going forward, but now I need to clear > > them out of the backuppc machine to free up space. > > > > What is the best strategy to purge these files from the backuppc > > machine? > > Manually remove the large files (or parent directories) from under > the pc/CLIENT/nnn directory or directories. After BackupPC_nightly > runs the pool space will be reclaimed. > > Craig >
The following worked quite well, went from 96% to 60%. Thanks! cd pc/CLIENT killmyth * (killmyth) #!/bin/bash for file do if [ -d $file ] then dir="$file/f%2f/fvar/flib/fmythtv" if [ -d $dir ] then echo $dir rm -Rf $dir fi fi done ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/