Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SQLR-IMPORT(1)			  User Commands 		  SQLR-IMPORT(1)

NAME
     sqlr-import - manual page for sqlr-import 1.9.3

SYNOPSIS
     sqlr-import [OPTIONS]

DESCRIPTION
     sqlr-import is the SQL Relay database object import utility.

     Import  a database object from a file created previously or elsewhere using
     sqlr-export.

OPTIONS
   Connection options:
     -host host
	    Host name or IP address of the server to connect to.

     -port port
	    Port to connect to.

     -socket socket
	    Local unix socket file name to connect to.	Can be used  instead  of
	    host/port for making connections to local servers.

     -user user
	    User name to auth with.

     -password password
	    Password to auth with.

   Alternate connection options:
     -config config
	    Override the default configuration with the specified configuration.

     -id instanceid
	    Derive  connection info and credentials from the specified instance,
	    as defined in the configuration.

     -krb   Use Kerberos authentication and encryption.

     -krbservice svc
	    Use the specified kerberos service.

     -krbmech mech
	    Use the specified kerberos mechanism.

     -krbflags flags
	    Use the specified kerberos flags, comma-separated.

     -tls   Use TLS/SSL authentication and encrpyiton.

     -tlsversion version
	    Use the specified TLS/SSL version.

     -tlscert file
	    Use the specified certificate chain file.  This file should  contain
	    the  client's certificate, private key, and signing certificates, as
	    appropriate.  On Windows systems, this must  be  a	.pfx  file.   On
	    non-Windows systems, a variety of file formats are supported.

     -tlspassword pwd
	    Use  the  specified  password  to  acess the private key in the file
	    specified by -tlscert.

     -tlsciphers "list"
	    Allow the specified list of ciphers.  The list should be quoted  and
	    the ciphers should be separated by spaces.

     -tlsvalidate (no|ca|ca+host|ca+domain)
	    Certificate  validation  option.  "no" - Don't validate the server's
	    certificate.  "ca" - Validate  that  the  server's	certificate  was
	    signed by a trusted certificate authority.	"ca+host" - Perform "ca"
	    validation and also validate that one of the subject alternate names
	    (or  common  name if no SANs are present) in the certificate matches
	    the host parameter.  (Falls back to  "ca"  validation  when  a  unix
	    socket  is	used.)	 "ca+domain"  - Perform "ca" validation and also
	    validate that the domain name of one of the subject alternate naames
	    (or common name if no SANs are present) in the  certificate  matches
	    the  domain name of the host parameter.  (Falls back to "ca" valida-
	    tion when a unix socket is used.)

     -tlsca file
	    Use the specified certificate authority  file  when  validating  the
	    server's  certificate.   Or,  if "file" is a directory, then use all
	    certificate authority files found in that directory when  validating
	    the server's certifictate.

     -tlsdepth depth
	    Set  the maximum certificate chain validation depth to the specified
	    depth.

   Command options:
     -file filename
	    Import the specified file.

     -commitcount rowcount
	    Execute a commit each time the specified number of	rows  have  been
	    imported since the beginning or since the previous commit.

     -debug [filename]
	    Write debug information to the specified file or to the screen if no
	    file is specified.

     -verbose
	    Display details about the import process.

EXAMPLES
     Import a table and sequence using the server at svr:9000 as usr/pwd.

	    sqlr-import -host svr -port 9000 -user usr -password pwd \

	    -file mytable.tbl

	    sqlr-import -host svr -port 9000 -user usr -password pwd \

	    -file myseq.seq

     Import  a table and sequence using the local server on socket /tmp/svr.sock
     as usr/pwd.

	    sqlr-import -socket /tmp/svr.sock -user usr -password pwd \

	    -file mytable.tbl

	    sqlr-import -socket /tmp/svr.sock -user usr -password pwd \

	    -file myseq.seq

     Import a table and sequence using connection info and credentials	from  an
     instance defined in the default configuration.

	    sqlr-import -id myinst -file mytable.tbl

	    sqlr-import -id myinst -file myseq.seq

     Import  a	table and sequence using connection info and credentials from in
     instance defined in the config file ./myconfig.conf

	    sqlr-import -config ./myconfig.conf -id myinst -file mytable.tbl

	    sqlr-import -config ./myconfig.conf -id myinst -file myseq.seq

     Rudiments version: 1.4.0 Compiled: Aug  9 2021 22:13:30

AUTHOR
     Written by David Muse.

COPYRIGHT
     Copyright (C) 1999-2018 David Muse
     This is free software; see the source for copying conditions.  There is  NO
     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SQL Relay			   August 2021			  SQLR-IMPORT(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=sqlr-import&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help