Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fss + dump example



On Sat, 8 Dec 2012, Erik E. Fair wrote:

Where in our fine manual can one find an example of using fss(4)
with dump for backups?

I don't know that there is much of an example in our man pages, but here's an example from the script I use for my own backups:

#! /bin/sh

h=$(hostname)
h=${h%%.*}

dump -0au -h 0 -X -f- / | gzip -9 > ${1}/root-${h}.dmp.gz
<snip>


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index