Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dump an SQL table to a compressed .SQL file #8

Open
paulrougieux opened this issue Aug 14, 2017 · 0 comments
Open

Dump an SQL table to a compressed .SQL file #8

paulrougieux opened this issue Aug 14, 2017 · 0 comments
Assignees

Comments

@paulrougieux
Copy link
Collaborator

Create an R function that dumps a SQL table. Function of the form:

#' @param tablename character name of the database table to backup
#' @param folder character folder where the dump file will be saved 
#' @param dumpfilename path to the file name, including .7z extension
dumptable <- function(tablename = "",  folder, dumpfilename = paste0(tablename, ".7z")

The output should be a compressed .sql.7z file, available on the public server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant