Dump Help

Jerry McAllister jerrymc at clunix.cl.msu.edu
Tue Nov 22 15:08:39 GMT 2005


> 
> Hi all, 
> 
> I'm trying to utilize dump to copy the entire disc to a network  drive , so
> that in the event of hardware failure I can just restore to a new machine
> 
> Here's the output of df
> Filesystem     Size    Used   Avail Capacity  Mounted on
> /dev/ad0s1a    248M     35M    193M    15%    /
> devfs          1.0K    1.0K      0B   100%    /dev
> /dev/ad0s1e    248M     12K    228M     0%    /tmp
> /dev/ad0s1f    4.9G    651M    3.8G    14%    /usr
> /dev/ad0s1d    248M     59M    169M    26%    /var
> devfs          1.0K    1.0K      0B   100%    /var/named/dev
> total          5.6G    745M    4.4G    14%
> 
> here's the command I ran 
> 
> dump / -0aL -f /usr/home/H/bsd_bkp/1116 /
> 
> it runs well   it says  dump complete 
> 
> but my file only turns out to be 37,314,560 bytes
> 
> what am I missing ,  Ideally I would like ( I think I would at least) the
> WHOLE disk to be backed up....

The dump utility backs up by file system, not by drive.
You told it to back up the '/' file system and it apparently did.
  (That was that final '/' in your command line.   I don't think
   the first '/' belongs there unless it is something odd that I 
   have been missing - so I think the command should read:
      dump -0aLf /usr/home/H/bsd_bkp/1116 /
   that is if '/usr/home/H/bsd_bkp/1116' is really the correct
   place to write the dump file)_

You then may also want to run dump for /usr and /var.  That would
get the rest of the drive that is meaningful.
You probably don't want to bother with /tmp though you could.

////jerry

> 
> Freebsd 5.4
> 
>  
>  
>  
>  
>  
> Jean-Paul Natola
> Network Administrator
> Information Technology
> Family Care International
> 588 Broadway Suite 503
> New York, NY 10012
> Phone:212-941-5300 xt 36
> Fax:  212-941-5563
> Mailto: Jnatola at Familycareintl.org 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> 



More information about the freebsd-questions mailing list