If you want to fully rename a host, you must (assuming Ubuntu standard
install):
1. Edit the /etc/backuppc/hosts
2. Rename any /etc/backuppc/hostname.pl and .pl.old files
3. Rename the directory in /var/lib/backuppc/pc/
Attached is my bash script to do this with some error checking.
Regards,
Tyler
On 2011-11-24 11:47, Sorin Srbu wrote:
> Hi all,
>
> The recent ClientNameAlias-hint I got on this list, got me thinking a bit.
>
> Suppose I want to change the already set hostname from the anonymous
> "machine001.domain.local" to "adminstation", can I do that somehow, without
> botching the old backed up files for "machine001.domain.local"?
>
> Any gotchas'?
>
> Thanks.
>
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
>
>
>
> _______________________________________________
> 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/
--
"The map is not the territory."
-- Alfred Korzybski
BackupPC_renameHost
Description: Text document
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d _______________________________________________
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/
|