----- Le 18 Avr 20, à 18:00, Michael Stowe michael.st...@member.mensa.org a 
écrit :

> On 2020-04-17 03:20, R.C. wrote:
>> Hi all
>> 
>> Is the following Host remove sequence correct?
>> - remove Host backups (one by one) with BackupPC_backupDelete
>> - run BackupPC_nightly 0 255
>> - remove host from hosts file
>> - reload server configuration
>> - remove pc/<host> folder manually
>> 
>> What would happen if a wrong sequence is followed?
>> For example:
>> - remove host from hosts file
>> - reload server configuration
>> - remove pc/<host> folder manually
>> - run BackupPC_nightly 0 255
>> 
>> Would this leave orphan files in the pool?
>> 
>> Thank you
>> 
>> Raf
> 
> I usually follow this sequence:
> 
> - remove host from hosts file
> 
> That's it.  The nightly job will usually take care of the rest, although
> you can speed things up by running steps manually if you really need the
> space.
> 

You also need to delete the backup tree in /var/lib/BackupPC/pc/<hostname> (or 
whatever dir is used). Space won't be released as long as the backups are still 
referenced here, and BackupPC do not delete this dir when removing the host 
from the host file

++

-- 
[ https://www.firewall-services.com/ ]  
Daniel Berteaud 
FIREWALL-SERVICES SAS, La sécurité des réseaux 
Société de Services en Logiciels Libres 
Tél : +33.5 56 64 15 32 
Matrix: @dani:fws.fr 
[ https://www.firewall-services.com/ | https://www.firewall-services.com ]



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

Reply via email to