BackupPC-users

Re: [BackupPC-users] Removing Bacakup Data

2009-11-05 23:48:38
Subject: Re: [BackupPC-users] Removing Bacakup Data
From: Robert Kosinski <robert.kosinski AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 5 Nov 2009 23:44:10 -0500
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 <rwfnetworking AT cox DOT 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 AT lists.sourceforge DOT 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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>