Re: [BackupPC-users] V4 - eventual effects of wrong sequence when removing Host
- 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/ folder manually >> >> What would happen if a wrong sequence is followed? >> For example: >> - remove host from hosts file >> - reload server configuration >> - remove pc/ 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/ (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/
Re: [BackupPC-users] V4 - eventual effects of wrong sequence when removing Host
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/ folder manually What would happen if a wrong sequence is followed? For example: - remove host from hosts file - reload server configuration - remove pc/ 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. ___ 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/
[BackupPC-users] V4 - eventual effects of wrong sequence when removing Host
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/ folder manually What would happen if a wrong sequence is followed? For example: - remove host from hosts file - reload server configuration - remove pc/ folder manually - run BackupPC_nightly 0 255 Would this leave orphan files in the pool? Thank you Raf ___ 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/