I think what you're looking for is:

rm -rf /var/lib/backuppc/cpool/* /var/lib/backuppc/pool/* /var/lib/backuppc/pc/*

This deletes the pool plus all host data, basically starting back at
zero. Assuming the host is still listed as a target, backups will
repopulate next job.

If you're looking for a way to purge an individual host, remove it
from the hosts file, rm -rf /var/lib/backuppc/pc/HOSTNAME, and
backuppc_nightly will take care of the stale files next time it's
called. Similarly, if you just delete everything in
/var/lib/backuppc/pc/* and remove all hosts from the hosts file,
backuppc_nightly will basically delete your pool for you.

On Thu, Nov 5, 2009 at 9:51 PM, Robert Furman <rwfnetwork...@cox.net> wrote:
> I have been doing some testing with BackupPC and need to find the best way
> to do two things:
>
>
>
> #1 – Delete all backed up data, but retain the host
>
> #2 – Delete the host as well as all backup data.
>
>
>
>
>
>
>
> Thanks
>
>
>
>
>
> Robert
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to