SUMMARY: Backup methods

From: Aldridge, Robert E. <REAldridge_at_mcdermott.com>
Date: Fri, 01 Jun 2001 14:59:48 -0500

Tru64 Managers -

Thanks for all of the replies. I probably received 20 responses (and 20
solutions).


First -- my plan is to use dump commands to dump from the tapeless machine,
to an NFS point.
The NFS point will actually be on the Tru64 systems which have the tape
drive.

For the HP-UX system, the command will be:
        vxdump 0f /backups/hp_extra /extra

For the SunOS system, the command will be:
        dump 0f /backups/sun_extra /extra

Justification:
I chose this route even though this is an NFS-write operation -- it keeps
things simple because I do not have to mount a large number of the remote
file systems on the Tru64 system.

The Tru64 system has a full-blown Networker installation which will do the
actual backup to tape. However, I can't go out and purchase the "client
packs" for NetWorker because of cost constraints and the age of the HP and
Sun systems.

I didn't/couldn't go direct-to-tape over the network -- because Networker
has control of the tape drives on the Tru64 system. (Yes, I could work
around that, at the risk of making NetWorker confused...)



I also wanted to pass along the other suggestions that I received:


1. Use Networker or other commercial package

2. Use 'amanda' - the Advanced MAryland Disk Archiver
(http://www.amanda.org)
"WHAT IS AMANDA
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup
system that allows the administrator of a LAN to set up a single master
backup server to back up multiple hosts to a single large capacity tape
drive. AMANDA users native dump and/or GNU tar facilities and can back up a
large number of workstations running multiple versions of Unix. Recent
versions can also use SAMBA to back up Microsoft Windows 95/NT hosts."


3. Use tar
Sample commands:

        tar cvf - /var | rsh alpha_with_tape dd of=/dev/tape

        rsh alpha_without_tape tar cvf - /var | dd of=/dev/tape


4. Use NFS
(Mount the "remote" system onto the Tru64 machine with the tape, then use
NetWorker to backup the NFS points.)

This still is a possibility if the dump commands don't work.

One manager advised against NFS unless NFS file locking problems are
resolved for the various machine types.
Security or other information about the files may be lost via NFS.

Another manager cautioned:
- NFS read operations are faster than writes
- *dump tools don't work on NFS file systems.


5. Use smbmount or smbtar - part of the Samba suite


6. For a SAN (storage network / fibre channel) -- Script the unmounting of
the disks containing the datafiles, mount them on the system with the drive
to back them up the revert to the original
location.


7. Use Gnu tar 'gtar' to backup to the system with the tape drive.
Gtar -- strips away the leading / from path names, making for easier
restores

Sample command:
/usr/local/bin/gtar -c --files-from "filelist" -f
remote_system:/dev/remote_device >/dev/null

The file list is obtained from:
gfind /filesystem >> filelist


8. Use the native 'dump' program on the computer with the disks and shove
the output across the network via an 'rsh-dd pipe'
examples: dump/rdump/vdump/ufsdump


Sample dump command:
rsh disk-computer dump <arguments> - | dd bs=<block-size-matching-dump>
of=<tapedrive>

For dump and restore utilities, make sure the block sizes are correct.


Other sample dump commands:
rsh -l root remote.machine.com "vdump -0Cf - /path/to/mount/point" | dd
obs=60k ibs=60k of=/dev/nrmt0h

/sbin/vdump 0f tapehost:/dev/tape/tape?_d1 /filesystem
        tapehost = hostname of the machine with the tape drive
        /filesystem = the advfs filesystem you want to back up


Tru64 example:
"vdump -0f - FILESYSTEM|rsh REMOTEHOSTWITHTAPE dd of=/dev/nrmt0h bs=64k"

Restore command example:
"rsh REMOTEWITHTAPE dd if=/dev/nrmt0h bs=64k| vrestore -if -"


Another example:
vdump to standard output, and pipe that into rsh --
 rsh dd of=/some/disk/or/tape/file .


9. Use "rvdump" (similar to same as "vdump" but it send the data over the
network to a remote tape drive


10. Use rsync (especially nice if the backup copy of the data will be kept
online
and the data themselves change slowly compared to the backup frequency);




Whatever route I choose, this was the advice:
......Have a recovery procedure planned and verify that it actually
works.......


Rob Aldridge
realdridge_at_att.com
AT&T Solutions
Alliance, Ohio





> Tru64 Managers:
>
> I have a Tru64 5.1 system. I'd like to "back up" another tapeless system
to
> the Tru64 system.
>
> What method can I use over the network to "back up" the other system? I'm
> most concerned about data files, but if I could do a full-system backup
that
> would be great. Space is about 5-10GB (once weekly).
>
> I suppose I could just NFS-mount the remote drives and use the Tru64's
tape
> backup system. But other suggestions/ideas would be appreciated.
>
>
> Rob Aldridge
> realdridge_at_att.com
> AT&T Solutions
> Alliance, Ohio
Received on Fri Jun 01 2001 - 20:02:25 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT