SUMARY: Remote backup using ufsdump

From: Mario Andrés Yepes C (marioy@upb.edu.co)
Date: Fri Jan 30 2004 - 18:51:16 EST


First of all, thanks to everybody that answered. This a great list

Here is the summary:
- You have to execute ufsdump FOR EACH file system you want to backup
- using ssh with the -C flags is no good on fast connections
- For a tape backup the ideal blok size is 63k

Here is an example of a backup session

mt -f /dev/rmt/0cn rewind
ssh sun2 ufsdump 0baf 126 /tmp/dumplog - /u00 | dd of=/dev/rmt/0cn bs=63k
ssh sun2 ufsdump 0baf 126 /tmp/dumplog - /u01 | dd of=/dev/rmt/0cn bs=63k
ssh sun2 ufsdump 0baf 126 /tmp/dumplog - /u05 | dd of=/dev/rmt/0cn bs=63k

For restoring /u01 (second file system)

mt -f /dev/rmt/0cn rewind
mt -f /dev/rmt/0cn fsf 1
ufsrestore -if /dev/rmt/0cn

Regards
Mario Andres Yepes
Support Ingeneer
Universidad Pontificia Bolivariana
Medellmn Colombia
_______________________________________________
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:27:56 EDT