db_copy: db_copy database copy from src to dst. It has to be run on...

View source: R/utils_DBIO.R

db_copyR Documentation

db_copy database copy from src to dst. It has to be run on dst.

Description

db_copy database copy from src to dst. It has to be run on dst.

Usage

db_copy(db, src, dst, cnf = config::get())

Arguments

src

source host

dst

destination host

cnf

configuration variables are obtained from an external config file. default to config::get().

Examples

## Not run: 
require(dup)
Sys.setenv(R_CONFIG_ACTIVE = "localhost")
db_copy(db = "FIELD_2024_NOLAatDUMMERSEE", src = "remotehost_1", dst ="host")

## End(Not run)


mpio-be/dup documentation built on April 15, 2024, 8:10 p.m.