Backup files to Google Drive
Usage
cas_backup_gd(
glob = c("*.tar.gz", "*.sqlite"),
email = gargle::gargle_oauth_email(),
scopes = "https://www.googleapis.com/auth/drive.file",
client = cas_google_client,
...
)
Arguments
- glob
A character vector with all glob selectors for the type of files to be stored. Defaults to
c("*.tar.gz", "*.sqlite")
.If given, email of the Google account to use for storing files.
- scopes
Defaults to
drive.file
, i.e., only give access to files created with this client. This means that no access to other files and folders on your Google Drive is ever given to this session.- client
Google app client, defaults to
castarter
's own. Passed togoogledrive::drive_auth_configure
. Set to NULL to usegoogledrive
's defaults.- ...