Re: [BackupPC-users] Proper way to remove all but most recent backups
2012-09-24 16:19:42
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 AT gmail DOT 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 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/
>
------------------------------------------------------------------------------
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 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/
|
|
|