db_backup: database backup

Description Usage Note

View source: R/utils.R

Description

database backup

Usage

1
2
3
4
db_backup(year = data.table::year(Sys.Date()), db = yy2dbnam(year),
  host = ip(), user = getOption("wader.user"), pwd = wadeR::pwd(),
  outdir = getOption("wader.dbbackup"), startMonth = 5,
  startDay = 25)

Note

similar to sdb::mysqldump but tailored for a field database.


mpio-be/wader documentation built on Jan. 16, 2020, 2:04 a.m.