Description Usage Arguments See Also
Intended for saving databases that will be overwritten during data updates (e.g., standard, license, history). Note that this is potentially destructive to existing files in the archive drive (i.e., existing archived files will be overwritten), and you will need to specify overwrite = TRUE in this case.
1 2 3 4 5 6 7 8 9 10 | data_backup(
state,
files = c(file.path("E:/SA/Data-sensitive/Data-Dashboards", state,
"standard.sqlite3"), file.path("E:/SA/Data-production/Data-Dashboards", state,
"license.sqlite3"), file.path("E:/SA/Data-production/Data-Dashboards", state,
"history.sqlite3")),
archive_drive = "H:",
overwrite = FALSE,
...
)
|
state |
2-letter abbreviation for state |
files |
vector of file paths that will be backed-up |
archive_drive |
drive to which the files will be copied |
overwrite |
If TRUE, existing files in the archive drive can be overwritten |
... |
additional arguments passed to |
Other functions to manage data:
data_archive()
,
data_destroy()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.