need some help with backup | Unix Linux Forums | AIX

  Go Back    


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

need some help with backup

AIX


Tags
aix, unix

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-03-2012
fierfek fierfek is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 14 August 2014, 4:29 PM EDT
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
need some help with backup

Hello,

I am new to using AIX. I am trying to figure out how to make a backup of the system. there is a rootvg and a datavg on it. I would like to get both but datavg is the one i really need. I have tried using mksysb to burn to a dvd but it does not look like it is writing to the disk. the step i tried was to mount a cifs and do i backup to there. I got an error that it could not connect. when I try it again it says that i have cifs mounted. I would like to be able to get this sent a a share i have on a windows 2008 server.

thanks
Sponsored Links
    #2  
Old 10-03-2012
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 29 September 2014, 8:03 PM EDT
Location: Saskatchewan
Posts: 19,468
Thanks: 794
Thanked 3,282 Times in 3,077 Posts
Show exactly what you did when you tried to mount the cifs, word for word, letter for letter, keystroke for keystroke.
Sponsored Links
    #3  
Old 10-03-2012
fierfek fierfek is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 14 August 2014, 4:29 PM EDT
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
mkcifsmnt -f /cifs_fs -d AIX -h hmpsrv01 -c mrwadmin -p password -x 755 -w HMP
    #4  
Old 10-04-2012
xfc38 xfc38 is offline
Registered User
 
Join Date: Sep 2009
Last Activity: 29 January 2013, 3:25 AM EST
Location: bucharest
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Code:
$ touch /cifs_fs/foo # as the mrwadmin user
$ savevg -i -f /cifs_fs/foo datavg


Last edited by Scott; 10-08-2012 at 04:57 AM.. Reason: Code tags
Sponsored Links
    #5  
Old 10-08-2012
gts1999 gts1999 is offline
Registered User
 
Join Date: Aug 2012
Last Activity: 12 September 2013, 6:59 AM EDT
Posts: 24
Thanks: 1
Thanked 2 Times in 2 Posts
Whilst a savevg is great for Disaster Recovery purposes, and can be used to grab single files from the savevg for restore purposes, I really prefer considering requirements for backup using an intelligent backup tool, ideally aware of incremental forever methodology.

Now we don't all have pots of cash to pay for TSM (or whatever enterprise software you may use) or this may be a test system, but there are options.

Checkout Burp: BURP - BackUp and Restore Program

Also, google Bacula and Amanda, bith a bit trickier to setup than Burp.

A good write-up on Burp in this months Admin Magazine (UK) which you can get from waterstones/wh smith and the like. Home - ADMIN | The resource for all system administrators
Sponsored Links
    #6  
Old 10-10-2012
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Last Activity: 30 September 2014, 3:15 AM EDT
Location: In the leftmost byte of /dev/kmem
Posts: 4,265
Thanks: 45
Thanked 820 Times in 647 Posts
Quote:
Originally Posted by fierfek View Post
I would like to get both but datavg is the one i really need. I have tried using mksysb [...]
An "mksysb" is always an image of the rootvg only. It is used to create a backup set with all the configuration/customization information of a system in place so that it can be set up again fast in case of a machine failure or to clone a system onto another one. In fact mksysb-format backups include boot blocks so it is possible to directly boot a system from such an image and restore it from it in one pass.

There is the more general command "savevg", which creates a backup for any volume group. "mksysb" is in fact using "savevg", but putting a boot block and other information in front of this image. gts1999 already told you about "savevg".

The destination for either a mksysb- or a savevg-image is classically a tape drive, but can be any device or file. Just make sure you have enough room for it on this device/file.

I hope this helps.

bakunin
Sponsored Links
    #7  
Old 10-10-2012
fierfek fierfek is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 14 August 2014, 4:29 PM EDT
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Thanks guys for the help. I have been able to get my data backed. I am trying to get one mksysb done to a mounted volume. I have created a nfs mount to a linux nas device. is this the correct syntax
mksysb -i /backup/image

will that create the bootable image that can be burned?

thanks
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment? MVEERA Shell Programming and Scripting 0 11-23-2011 11:27 AM
backup a file and keep every version of the backup cokedude UNIX for Advanced & Expert Users 7 02-02-2011 07:56 PM
Backup to SCSI Tape Backup aborts zionpc SCO 4 12-07-2007 06:47 PM
Check backup file size on backup tape ayhanne UNIX for Dummies Questions & Answers 0 10-25-2007 11:41 AM



All times are GMT -4. The time now is 05:47 AM.