BackupPC-users

Re: [BackupPC-users] following directories are bogus

2015-07-24 11:34:03
Subject: Re: [BackupPC-users] following directories are bogus
From: Michael Stowe <mstowe AT chicago.us.mensa DOT org>
To: bob AT donelsontrophy DOT net
Date: Fri, 24 Jul 2015 10:02:18 -0500
On 2015-07-24 06:54, Bob of Donelson Trophy wrote:
> I am receiving this email:
> 
> The following directories are bogus and are not being used by
> BackupPC. This typically happens when PCs are removed from the
> backup list. If you don't need any old backups from these PCs you
> should remove these directories. If there are machines on this
> list that should be backed up then there is a problem with the
> hosts file:
>  - /var/lib/backuppc/pc/192.168.***.119
> 
> Regards,
> PC Backup Genie
> 
> This was a 'test' host and the host was removed, weeks ago. I assumed
> that BackupPC (v3.3.0) would eventually remove the bogus directory.
> Searching the 'net' results in some very old ways of removing this
> directory. In the past I simply "rm -rf
> /var/lib/backuppc/pc/192.168.***.119" but I have read that it does not
> work properly. What is the correct manner to remove this bogus
> directory?

Well, that filename is a bit of a treat.  The shell will try to expand 
it and you may have unintended consequences unless you escape the stars 
...

cd /var/lib/backuppc/pc
cd 192.168.\*\*\*.119 (or) cd "192.168.***.119"
rm -f -r *
cd ..
rmdir 192.168.\*\*\*.119 (or) rmdir "192.168.***.119"

------------------------------------------------------------------------------
_______________________________________________
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>