On Thu, 2005-11-24 at 17:14 +0100, David Moron wrote:
> Guus Houtzager wrote:

[...]

> > But you can write a bit of shellscript (or perl or something like that)
> > that parses the /pc/backups file and deletes the backups you no longer
> > need. The nightly run will then automatically clean out the pool.
> To delete the backups I don't need, Should I?
> 
> 1. Edit the "backup" file in /pc/backups.?
> 2. Delete the directory /pc/backups/backup_number?
> 3. Both?

3. Both.
- edit /var/lib/backuppc/pc/<client>/backups 
  (remove the entries of the backups you want deleted)
- delete the corresponding directories:
  /var/lib/backuppc/pc/<client>/<backup nr>/

Your directories might be slightly different, but this is how it works
on my Debian based systems.

BackupPC_nightly does the rest.

Hth,

-- 
Guus Houtzager                           Email: [EMAIL PROTECTED]
PGP fingerprint = 5E E6 96 35 F0 64 34 14  CC 03 2B 36 71 FB 4B 5D
Early to rise, early to bed, makes a man healthy, wealthy and dead.
        --Rincewind, The Light Fantastic



-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to