On 2018-07-23 12:36, Tim Evans wrote:
I'm retiring the oldest PC among my BackupPC clients, and replacing it
with a new one. Would like to use the same hostname for the new
machine, but think this might confuse things with BackupPC.
Can anyone suggest a process for making this work right? Thanks.
Rsync is the only transport which will care. This can be fixed by
editing ~backuppc/.ssh/knownhosts and deleting the lines that reference
that system, then using ssh as the backuppc user to log in again and
store the fingerprint.
If you're not concerned with backups from the new host being incremental
with (and combined with) the old one, do nothing! You're all set. It's
simplest to do a full backup right away. Your old host will gracefully
age out of the pool.
If you are, first rename the old host:
1. Stop BackupPC service :
service backuppc stop
2. Login to the configuration folder
cd /etc/BackupPC
2. Change the host file to the corresponding one :
vi hosts
*change old_host to new_host*
3. Rename the pl file in pc folder :
cd pc
mv old_host.pl new_host.pl
4. Make the changes in the backup location (I assume your backup is
storing in the location /backup):
cd /backup/filesystem/pc/
mv old_host new_host
5.Start Backuppc service:
service backuppc start
6. Login to the backuppc console and make sure that the changes are
replicated there.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/