This app archives a set of directories and uploads them to a cloud storage provider. This is a work in progress...
File archivingImprove archive file names to include directory namesSchedulingUploadingSupport new structure- Removing old backups
- Encrypting
- Update logging
- Incremental backups
- Support for multiple storage providers
- Support for local storage
- Clone Repo
cd backup-to-cloud
cp config.example.js config.js
- Complete the config.js file's missing parameters
npm i node-windows
npm run install-windows
This will install a service called "Backup to Cloud - YOUR_SERVICE_NAME_HERE"
Using PM2 would be my recommended solution
From here
- Select or create a Cloud Platform project.
- Enable billing for your project.
- Enable the Google Cloud Storage API.
- Set up authentication with a service account so you can access the API from your local workstation.
- Rename your credentials JSON file to google.json and place it in the cloud directory.