ADSM-L

Re: Open file and image backups on Linux

2004-10-26 13:14:47
Subject: Re: Open file and image backups on Linux
From: "Mark D. Rodriguez" <mark AT MDRCONSULT DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 26 Oct 2004 12:14:28 -0500
Hi Zoltan,

I agree with you in regards to making a backup of file systems that
contain System files like /, /usr, /var, etc.  However, I don't think it
is the backing them up that is a problem.  It is how do you restore
them?  If you need to restore an image of /, /usr or other System
related file system then you almost certainly will have to restore the
entire OS any way.  So I am not quite sure how effective an image backup
of these file systems would be.  You will need an OS with a TSM B/A
Client installed in order to restore the image.  You might be able to
get this to work in AIX or Linux (not familiar enough with HP-UX or
Solaris) using a dual boot system and boot one OS while you restore the
other, but it will be tricky making the new target disk or partition
bootable.  In Linux using GRUB you should be able to get it done without
too much trouble.  In AIX, I am not sure how you would get the bosboot
command to set the boot sector of the disk where the restored file
systems were.

This is an interesting problem, but there is already an alternative why
to solve this problem using BMR or Sysback, so why reinvent the wheel.

Zoltan Forray/AC/VCU wrote:

Since when ????

You can use the IMAGETYPE=dynamic option !

From the 5.2.x book:

dynamic
Replaces the dependency on the copy serialization value in the management
class to perform an image backup without unmounting and remounting the
file system read-only. Use this option only if the volume cannot be
unmounted and remounted read-only. Tivoli Storage Manager backs up the
volume as is without remounting it read-only. Corruption of the backup may
occur if applications write to the volume while the backup is in progress.
In this case, run fsck after a restore. This option is valid for AIX,
Solaris, HP-UX, Linux86, Linux IA64, Linux pSeries, and Linux iSeries.

include.image /home MYMC imagetype=dynamic





"Stapleton, Mark" <mark.stapleton AT BERBEE DOT COM>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
10/25/2004 11:27 AM
Please respond to
"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>


To
ADSM-L AT VM.MARIST DOT EDU
cc

Subject
Re: Open file and image backups on Linux






You can only take image backups of Linux filesystems if you can unmount
the filesystem. This requirement will prevent you from image backups of
filesystems containing system files, such as /, /var, /etc/, and /usr.

--
Mark Stapleton (stapleton AT berbee DOT com)
Berbee Information Networks
Office 262.521.5627



-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On
Behalf Of Sandra
Sent: Monday, October 25, 2004 10:33 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Open file and image backups on Linux

Dear All,
Please share your experience on taking open file backup and
image backup on Linux (including system files).

I have been going through documentation and manuals, but there
are so many IFs and BUTs involved.

My scenario is to take cold backup of Oracle 9i on Linux,
which is fine, but with this I need to take entire system
backup so that I can restore my server real soon in case of disaster.

Please share practical implementations that you gurus are using !!!

Thanking you!
This list has been a source of real good knowledge to me !

Kind Regards
Sandra







--
Regards,
Mark D. Rodriguez
President MDR Consulting, Inc.

===============================================================================
MDR Consulting
The very best in Technical Training and Consulting.
IBM Advanced Business Partner
SAIR Linux and GNU Authorized Center for Education
IBM Certified Advanced Technical Expert, CATE
AIX Support and Performance Tuning, RS6000 SP, TSM/ADSM and Linux
Red Hat Certified Engineer, RHCE
===============================================================================