restbatch-db: Fix or restore database

Description Usage Arguments Value

Description

These functions must run interactively.

Usage

1
2
3
4
5
6
7
8
database_fix()

database_restore(
  bkup,
  backup_current = TRUE,
  tables = c("user", "client-task", "server-task"),
  owner_key = c("drop_old", "keep_both")
)

Arguments

bkup

path to the backup folder, should contains 'DB/restbatch.sqlite'

backup_current

whether to backup current one before restoring

tables

which table(s) to restore

owner_key

whether to keep the old owner key; default is 'drop_old'

Value

None


dipterix/restbatch documentation built on Oct. 13, 2021, 8:58 a.m.