backupify

0.0.7 • Public • Published

BACKUPiFY

A simple node module to facilitate automated google drive uploads

SETUP INSTRUCTIONS

Copy the .env.template file into a .env file and fill in the following

VARIABLE NAME DESCRIPTION REQUIRED
AUTH_FOLDER The absolute path of the folder that should contain a file named credentials.json containing the Google API client secret configuration downloaded from the developer console. __THIS IS WHERE THE ACCESS TOKEN RECEIVED FROM GOOGLE WILL BE STORED SO ENSURE YOU SECURE IT AND ADD IT TO THE RELEVANT IGNORE FILES ___ yes
TRIGGER_FOLDER The absolute path of the folder that this script/module will monitor for changes yes
ALLOWED_TYPES This takes a regex expression of the file types that should be uploaded from the TRIGGER_FOLDER for instance \.(gz|tar|iso|zip|rar|tgz|bz2|7z\)\$ yes
GDRIVE_EXPORT_PATH The google drive folder to upload a file in no

/backupify/

    Package Sidebar

    Install

    npm i backupify

    Weekly Downloads

    8

    Version

    0.0.7

    License

    ISC

    Unpacked Size

    24 kB

    Total Files

    6

    Last publish

    Collaborators

    • ianmin2