datacopy man page on Alpinelinux

Man page or keyword search:  
man Server   18016 pages
apropos Keyword Search (all sections)
Output format
Alpinelinux logo
[printable version]

FreeTDS(September 28, 2012)			   FreeTDS(September 28, 2012)

NAME
       datacopy - move table data between two servers

SYNOPSIS
       datacopy { -t | -a | -c owner } [-b batchsize] [-p packetsize] [-v] [-d]
       [-S server/username/password/database/table_or_view]
       [-D server/username/password/database/table]

DESCRIPTION
       datacopy is a utility distributed with FreeTDS.	datacopy will move ta‐
       ble data from one server to another without the need  for  intermediate
       files.  datacopy	 is  much  faster  and	more efficient than is freebcp
       out/in.

       datacopy makes use of the db-lib bcp API built into FreeTDS.  This  API
       is also available to application developers.

       datacopy	 can be used to migrate data between Sybase ASE and SQL Server
       or vice versa.

OPTIONS
       -t     Truncate target table before loading data.

       -a     Append data to target table.

       -c owner
	      Create the target table with the same schema as the  source  ta‐
	      ble. datacopy will submit a 'create table' command on the target
	      server/database using the specified owner in

	      the command, e.g. CREATE TABLE owner.table (...).

       -b batchsize
	      The number of rows per batch of data copied.  Each batch of data
	      is effectively 'committed' to the database. The default is 1000.

       -p packetsize
	      The  number  of  bytes, per network packet, sent to and from the
	      servers. Increased packet size can enhance performance.

       -v     Produce verbose output, including diagnostic timings.

       -d     Produce freetds TDSDUMP output. (Serious debug only!)

       -S server/username/password/database/table_or_view
	      The connection information for the source server and  the	 loca‐
	      tion/name	 of  the  table (or view) to be copied.	 If not speci‐
	      fied, datacopy will prompt the user for the information.

       -D server/username/password/database/table
	      The connection information for the destination  server  and  the
	      location/name  of	 the target table.  If not specified, datacopy
	      will prompt the user for the information.

SEE ALSO
       freebcp(1), defncopy(1), bsqldb(1), tsql(1), FreeTDS User Guide.

HISTORY
       datacopy first appeared in FreeTDS 0.64.

AUTHORS
       The  datacopy  utility	was   written	by   Bill   Thompson   (thomp‐
       bil@exchange.uk.ml.com).

FreeTDS Utilities		    0.92.70	   FreeTDS(September 28, 2012)
[top]

List of man pages available for Alpinelinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net