From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,968aaffaa0fbe0c2 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-11-08 07:45:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsflash.concordia.ca!not-for-mail From: Sylvain Robitaille Newsgroups: comp.unix.tru64 Subject: Re: How to perform an Online (live) backup Date: 8 Nov 2002 15:45:50 GMT Organization: Concordia University, Montreal, Canada Message-ID: References: <5UPy9.6258$i%.1576806@localhost> NNTP-Posting-Host: alcor.concordia.ca User-Agent: slrn/0.9.7.4 (OSF1) Xref: archiver1.google.com comp.unix.tru64:9101 Shawn Kearley wrote: > I have recently taken over the management of our Tru64 Unix systems, > currently running 4.0f, and have found out that there have been > virtually no backups performed on these systems since their > installation. Ouch! "virtually no backups" suggests that *something* has been done at least. Do you have a disk-mirroring setup (RAID1)? > I am new to the Unix management scene, and from what I have been > told, you cannot backup the "/" partition while the systems is in > multi-user mode and use this backup to recover the system should the > system disk fail. Actually, I don't know why you've been told that. I've successfully reloaded various Unix systems from backup, (specifically, DEC-4.0, Linux, and NetBSD). > My problem here is that these systems are in use 24x7x365 and cannot be > taken offline without causing problems for the company's operation. OS patches never get applied? What did you say this system's IP address was again??? ;-) Seriously, if the system is that critical, the company should be willing to shell out some dollars for a fail-over system which you can setup in parallel, permitting you to perform maintenance when required on the primary system. keep the two systems up-to-date with each other, and switching over should be reasonably painless. > My question is, is this correct? I don't think so; at least, not in my experience. If the system runs a database, though, the database itself might be a different matter. Still, with those, you should be able to take a snapshot of the database to a separate file, which can be backed up. (some databases also include utilities that write directly to tape, but probably require the database to be unavailable -- shut down -- during its backup.) > Is there any way that a full backup of the "/" and "/usr" partitions > be performed while the system is in use, and be able to recover the > system using these backups in the event of a failure. With 4.0[bd-g], I've used an enhanced version of tar, with success. If you're using AdvFS, and you *do* use tar, the stock tar is the only one I know of which will store and recover file and directory ACLs, but in our tests, it wasn't found to be robust enough for daily backups (see Elizabeth Zwicky's paper on testing backup software -- hrmmm... the original seems to have disappeared from SGI's site, but a copy appears to still be available at http://gd.tuwien.ac.at/utils/archivers/star/testscripts/zwicky/). > I will be replacing, and upgrading these systems soon to 5.1A, Is > there a way to perform live backups available in this version that > are not in 4.0f? I suspect there is, since my attempts so far with the software I'm used to using (and I know works with 4.0) have failed. > Note that the current systems are using UFS, not ADFS as the file system. I'm sure you would find that AdvFS is a much better file system, since you can add and remove disk partitions (permitting you to increase the size of file systems, or replace failing disks) without shutting the system down. On more than one ocassion, AdvFS has been key to my recommending DEC-Unix over another version, (including the free Unixes, which would otherwise be my first choice). I've experimented with (though don't actually use; I don't recall the Zwicky-test results, though) the "vdump/vrestore" approach recommended by the OS vendor for recovering a 5.1A system with AdvFS. That certainly seems to work, and it is the dump version made specifically for AdvFS... > I am not yet sure of what options I have for the File System on the new > upgraded systems,, this will be dictated by the primary application. Unless the application needs to write to the file system at a very low level (very few do), it really shouldn't matter what the file-system underneath is. Some vendors are a bit weird about that, though... :-( > If I need a specific file system to perform this sort of backup, then > this is the time for me to find out, as I may be able to influence > the set-up of the new systems. You shouldn't. I've recovered Unix systems with various file systems. If you're using well designed backup software, you should have no problems. I hope that helps ... -- ---------------------------------------------------------------------- Sylvain Robitaille syl@alcor.concordia.ca Systems analyst Concordia University Instructional & Information Technology Montreal, Quebec, Canada ----------------------------------------------------------------------