1834827 Members
2516 Online
110070 Solutions
New Discussion

Re: Restore

 
shasha_1
Super Advisor

Restore

What files do I need to restore to recover user (including password) and printer configurations on HP-UX 11.0? I will be doing a fresh installation of the said OS version and I want to recover whatever user and printer configurations I have from my previous OS (v 10.20). Will this be possible or would it be better if I just recreate everything?

3 REPLIES 3
Stefan Farrelly
Honored Contributor

Re: Restore


For users you should only need;

/etc/passwd
/etc/group
/home/
Other files you might need are;
/var/adm/cron/cron.allow
/etc/ftpd/ftpsers

For printer config its much safer to use the SAM option to backup your printer configuration, copy the resultant file over to your 11 server and again use SAM to restore your printer configuration.


Im from Palmerston North, New Zealand, but somehow ended up in London...
Paula J Frazer-Campbell
Honored Contributor

Re: Restore

Donna

The are lots of posts on the subject of upgrading your OS and what you need to keep information on.

If you search on "upgrade" there will be lots of very useful advice.

To get you going :-

Full system backup (twice)
Make_Tape_recovery Ignite)

Copy of :-
Passwd
groups
hosts
services
inetd.conf

HTH

Paula
If you can spell SysAdmin then you is one - anon
James R. Ferguson
Acclaimed Contributor

Re: Restore

Hi Donna:

Start your installation by making an Ignite recovery tape of your existing vg00. In this way, should anything fail, you can rapidly restore your system.

Capture your key configuration files before you start. I like to 'diff' files in the list below, to those provided in a new release and "marry' my local needs to any enhanced features. Otherwise, many can be loaded as is.

Here's the basic list I tranfer to safe-keeping for reference, reuse, and comparison against new configurations (via 'diff') during a cold installation process:

# /.forward
# /.profile
# /etc/ftpd/ftpusers
# /etc/group
# /etc/hosts
# /etc/inetd.conf
# /etc/inittab
# /etc/nsswitch
# /etc/ntp.conf
# /etc/passwd
# /etc/profile
# /etc/rc.config.d/netconf
# /etc/rc.config.d/netdaemons
# /etc/rc.config.d/nfsconf
# /etc/resolv.conf
# /etc/sendmail.cf
# /etc/services
# /etc/shells
# /etc/shutdown.allow
# /var/adm/at/*.allow|deny
# /var/adm/cron/*.allow|deny
# /var/adm/fbackupfiles/*
# /var/adm/inetd.sec
# /var/spool/cron/crontabs/*
# /sbin/init.d/

Don't forget to add your volume group 'vgexport' mapfiles too.

Regards!

...JRF...