Cloning a system via mksysb backup from one system and restore to new system


 
Thread Tools Search this Thread
Operating Systems AIX Cloning a system via mksysb backup from one system and restore to new system
# 1  
Old 03-06-2016
Cloning a system via mksysb backup from one system and restore to new system

Hello All,

I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance.
Moderator's Comments:
Mod Comment Please use CODE tags for sample input, sample output, and for code segments; not for plain text explaining what you are trying to do.

Last edited by Don Cragun; 03-06-2016 at 09:42 PM.. Reason: Remove CODE tags.
# 2  
Old 03-07-2016
Hi Gull05,

Yes it is possible to create a full backup as follows;

Code:
tctl -f/dev/TAPE rewind
/usr/bin/mksysb -p -v   /dev/TAPE.1
/usr/bin/savevg -p -v -f/dev/TAPE.1 vgdata
/usr/bin/savevg -p -v -f/dev/TAPE.1 vgapps
/usr/bin/savevg -p -v -f/dev/TAPE.1 vgother
tctl -f/dev/TAPE rewind

The example is to tape, but it can go to the NIM server if you have one or to an NFS mounted disk.

Regards

Gull04
# 3  
Old 03-08-2016
Quote:
Hello ,

Thanks for the reply. I am a newbie in aix and i am not sure how to ckeck whether we have a NIS server(but i am sure the organsation has one).Can you please help me in the command/procedure to find the NIS server?Thanks
# 4  
Old 03-09-2016
Hi Gull05,

I mentioned a NIM server, which would normally be among the first LPAR's created not a NIS server.

You can check if ypbind is running or if rpcbind is running.

Regards

Gull04
# 5  
Old 03-13-2016
hmm - are you guys related? gull04 and gull05 Smilie

I have an old article on setting up a NIM server - http://www.rootvg.net/content/view/431/309/ - that should give you an idea of what is involved. Read more here on unix.com - there is also lots of material here. Or google further.

FYI: cloneing via mksysb is one of AIX's strengths - since the early 90's. But it does require more than novice understanding of AIX administration - especially when changing the base hardware.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Archiveadm system cloning - Solaris 11.4

Hi all, I am trying to use archiveadm to backup/clone an existing Solaris11.4 system. However, i failed at media creation with the error -> "Media can only be created from archives containing root-only data" root@xxx:/mnt/opt/software# zpool list NAME SIZE ALLOC FREE CAP DEDUP ... (6 Replies)
Discussion started by: javanoob
6 Replies

2. Cybersecurity

How to protect system from cloning?

Hello there, I would like to protect a Linux system from cloning, I don't mind if the cloned hard drive works in the same computer, but I need to avoid it to work in other one, even if it uses exactly same mainboard model and rest of computer parts. I want the cloned system to get frozen or... (4 Replies)
Discussion started by: Installimat
4 Replies

3. Solaris

how to restore backup from veritas vm in ufs file system

Hi all I have a DLT tape in that tape backup is there is in veritas volume format and i want to restore it in ufs file system how can i do it? right now i don't have veritas file system setup. i have only ufs file sysytem please help some production data is to be restore. backup was taken... (0 Replies)
Discussion started by: nikhil kasar
0 Replies

4. Solaris

Solaris 11 - how to backup and restore system disc

I have installed Solaris 11 Express on my machine and now I am wondering what is the best way to backup (to another hard disc) and restore the system hard disc content. The backup should to be done every night using a script launched by cron and all previously done backups should be available to... (8 Replies)
Discussion started by: RychnD
8 Replies

5. UNIX for Advanced & Expert Users

how to make a full system backup excluding data and restoring it to a new system

Hi, In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way : - Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies

6. UNIX for Advanced & Expert Users

Cloning a solaris system

I have several Solaris 8,9 and 10 servers. I need to refresh them and avoid doing any OS upgrades. I may have to apply patches when I am done due to the new hardware. My current servers have internal disk and my new target servers (same processor types) will have only SAN storage. Once the... (0 Replies)
Discussion started by: zzqv9p
0 Replies

7. AIX

How can I authorize a non-root user to do a system backup with 'mksysb'?

I use AIX 5.2 I want to allow a non-root user to do a system backup with 'mksysb' command. I try to add 'ManageBackup' Role to that non-root user but it have an error "ksh: mksysb: 0403-006 Execute permission denied." What should I do? (8 Replies)
Discussion started by: AIX122
8 Replies

8. UNIX for Dummies Questions & Answers

mksysb and system activity

Hello, With AIX 5.3 is it possible to run a mksysb with users logged into the system? The users are accessing a database app that runs on a separate physical disk than the system files. Does this even matter? Thanks (1 Reply)
Discussion started by: samsa1mi
1 Replies

9. UNIX for Dummies Questions & Answers

Full System Backup / Cloning HPUX

I am new to UNIX and need help in cloning a HPUX 10.2 Ace 5, can anybody please guide me in making a full system backup. Real Chess (0 Replies)
Discussion started by: real-chess
0 Replies

10. AIX

Problem cloning system

Hi everyone, I want to clone a AIX 5.2 system from a machine to another one. So i modified bosinst.data and image.data files (according to future platform) before making mksysb on old platform. After booting on CD and restoring system using mksysb tape, the installation is launched but ever... (2 Replies)
Discussion started by: fgaulois
2 Replies
Login or Register to Ask a Question