SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
ClientNameAlias
Author Message
Post ClientNameAlias 
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.

--
BW,
Sorin
-----------------------------------------------------------
# Sorin Srbu [Sysadmin, Systems Engineer]
# Dept of Medicinal Chemistry, Phone: +46 (0)18-4714482 >3 signals> GSM
# Div of Org Pharm Chem, Mobile: +46 (0)70-4250229
# Box 574, Uppsala University, Fax: +46 (0)18-4714482
# SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b
# Web: http://www.orgfarm.uu.se
-----------------------------------------------------------
# () ASCII ribbon campaign - Against html E-mail
# /\
#
# This message was not sent from an iProduct!
#
# MotD follows:
# CentOS: Enterprise Linux for the rest of us.


------------------------------------------------------------------------------
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.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post ClientNameAlias 
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.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

------------------------------------------------------------------------------
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.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post ClientNameAlias 
-----Original Message-----
From: Tyler J. Wagner [mailto:tyler < at > tolaris.com]
Sent: den 24 november 2011 13:23
To: General list for user discussion, questions and support
Cc: Sorin Srbu
Subject: Re: [BackupPC-users] ClientNameAlias

On 2011-11-24 11:47, Sorin Srbu wrote:
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"?


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.

Cool, thanks!

This is CentOS 5.7, but I guess the differences are not too difficult to work
out.

--
/Sorin


------------------------------------------------------------------------------
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.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB