1.\" Copyright (c) 1995
2.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
--- 14 unchanged lines hidden (view full) ---
23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" $FreeBSD: head/libexec/ypxfr/ypxfr.8 89362 2002-01-14 16:59:03Z ru $
32.\"
33.Dd February 5, 1995
34.Dt YPXFR 8
35.Os
36.Sh NAME
37.Nm ypxfr
38.Nd "transfer NIS database from remote server to local host"
39.Sh SYNOPSIS
40.Nm /usr/libexec/ypxfr
41.Op Fl f
42.Op Fl c
43.Op Fl d Ar target domain
44.Op Fl h Ar source host
45.Op Fl s Ar source domain
46.Op Fl p Ar path
47.Op Fl C Ar taskid program-number ipaddr port
48.Ar mapname
49.Sh DESCRIPTION
50.Nm Ypxfr
51copies an
52.Tn NIS
53database (or
54.Pa map )
55from one
56.Tn NIS
57server to another using
58.Tn NIS
59services. In
60.Fx ,
61.Nm
62is generally invoked by
63.Xr ypserv 8
64when it receives a map transfer request from
65.Xr yppush 8 .
66.Nm Ypxfr
67is used primarily in environments where several
68.Tn NIS
69servers are in use in a single domain. One server, the
70.Tn NIS
71master, maintains
72the canonical copies of all
73.Tn NIS
74maps, and all the other servers,
75the
--- 79 unchanged lines hidden (view full) ---
155server. This protocol allows it to transfer raw map database files from
156the
157.Tn NIS
158master server and can be many times faster than the standard
159transfer method, particularly for very large
160.Tn NIS
161maps. The
162.Nm
163command will check to see if the
164.Xr rpc.ypxfrd 8
165server is registered on the
166.Tn NIS
167master server and attempt to use
168it if it is present. If it isn't it will fall back to the standard
169transfer method, copying the map contents from
170.Xr ypserv 8
171and creating new maps instead.
--- 121 unchanged lines hidden ---
2.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
--- 14 unchanged lines hidden (view full) ---
23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" $FreeBSD: head/libexec/ypxfr/ypxfr.8 89362 2002-01-14 16:59:03Z ru $
32.\"
33.Dd February 5, 1995
34.Dt YPXFR 8
35.Os
36.Sh NAME
37.Nm ypxfr
38.Nd "transfer NIS database from remote server to local host"
39.Sh SYNOPSIS
40.Nm /usr/libexec/ypxfr
41.Op Fl f
42.Op Fl c
43.Op Fl d Ar target domain
44.Op Fl h Ar source host
45.Op Fl s Ar source domain
46.Op Fl p Ar path
47.Op Fl C Ar taskid program-number ipaddr port
48.Ar mapname
49.Sh DESCRIPTION
50.Nm Ypxfr
51copies an
52.Tn NIS
53database (or
54.Pa map )
55from one
56.Tn NIS
57server to another using
58.Tn NIS
59services. In
60.Fx ,
61.Nm
62is generally invoked by
63.Xr ypserv 8
64when it receives a map transfer request from
65.Xr yppush 8 .
66.Nm Ypxfr
67is used primarily in environments where several
68.Tn NIS
69servers are in use in a single domain. One server, the
70.Tn NIS
71master, maintains
72the canonical copies of all
73.Tn NIS
74maps, and all the other servers,
75the
--- 79 unchanged lines hidden (view full) ---
155server. This protocol allows it to transfer raw map database files from
156the
157.Tn NIS
158master server and can be many times faster than the standard
159transfer method, particularly for very large
160.Tn NIS
161maps. The
162.Nm
163command will check to see if the
164.Xr rpc.ypxfrd 8
165server is registered on the
166.Tn NIS
167master server and attempt to use
168it if it is present. If it isn't it will fall back to the standard
169transfer method, copying the map contents from
170.Xr ypserv 8
171and creating new maps instead.
--- 121 unchanged lines hidden ---