Thanks for the quick reply. With this is there an easier way to delete ALL backups older than the newest full? While I can go in and manually delete with this script every full and thus every incremental it is time consuming to delete all 50+ of them per host.

On Mon, Sep 24, 2012 at 3:18 PM, Sabuj Pattanayek <sabujp@gmail.com> wrote:
Yes . First list all the backups for a host :

orca pc # /usr/local/BackupPC/bin/BackupPC_deleteBackup.sh -l -c orca

If you're keeping n fulls and then doing m  incrementals, just delete
all but the last full, so from the command above it's showing :

BackupNumber 1066 - full-Backup from 2012-08-19
.
bunch of incrementals
.
.
BackupNumber 1097 - full-Backup from 2012-09-19
.
.
bunch of incremental
.
.

run :

orca pc # /usr/local/BackupPC/bin/BackupPC_deleteBackup.sh -c orca -d 1066 -f

That'll delete the first full (I keep 2 fulls, but let's say I'm
running low on space) and all the incrementals, then it'll run
Backuppc_nightly to reclaim the space.


On Mon, Sep 24, 2012 at 3:10 PM, Kameleon <kameleon25@gmail.com> wrote:
> I am trying to figure out the proper way to remove all but the most recent
> backups on our system. I could just:
>
> cd /var/lib/backuppc/pc/hostname
> rm -rf XX (for each old backup)
> /usr/share/backuppc/bin/Backuppc_nightly 0 255 (to actually remove the files
> from the pool)
>
> But is there another way?
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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/
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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/