From: Karl.Rossing@Federated.CA
Date: Thu Jul 10 2003 - 16:30:08 EDT
Hi,
We run progress databases and veritas does not have a db agent for
progress. So I'm using rsync to copy over 22GB from one drive to the other
for a nightly backup.
I liked rsync because the exclusions are easier to setup.
The copy take 50 minutes which is kinda slow.
We don't need exclusions anymore, so i thought we would use TAR instead
and hopefully speed things up.
I'd like to do the following:
command_to_stop_database
/usr/sbin/umount /db-copy
/usr/sbin/newfs /dev/rdsk/c10t0d0s0
/usr/sbin/mount -o logging,noatime /dev/dsk/c10t0d0s0 /db-copy
/usr/bin/tar cf - /db | ( cd /db-copy; tar xf -)
command_to_start_database
I'm using mount/newfs/umount because i think it's faster than rm -rf'ing
the db directory
How do i get newfs to not ask me any questions? Is there a faster stock
Solaris program i can use? What would you do differently?
Thanks,
Karl
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:44 EDT