-
Notifications
You must be signed in to change notification settings - Fork 0
Feature: Download Zips #17
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
base: dev
Are you sure you want to change the base?
Conversation
…of `node nc-multiplex.js`
Keep in case we need to restore this later
@jdanish Please give this a spin on DO to see if download works |
Thanks @benloh ! Testing locally ... (All Backup .loki files) leads to: ![]() Would it be hard to make a single "download all networks" that zips the Loki files and templates in one place? I usually archive them together just in case ... Not a huge deal, though. Once the first one is fixed I'll test on DO. |
Verified on DO and it appears to work, including that one link that didn't work locally. |
Thanks. The issue is missing backup folder. We detect the erorr, but handle the error poorly, so I'm adding some error handling. |
Added:
|
This ads a new feature for downloading data for non-technical users.
Important
We've needed to add a new library, so make sure you run
npm ci
You can now download the following as zips:
*.loki
database files*.loki
database files*.template.toml
template filesThis will download all of the graphs on your server.
Caution
Security and privacy are your responsibility! Keep in mind that any one who can log into your
nc-multiplex
instance with the password is able to download all of your graph data.The data comes from the
netcreate-itest/runtime
folder.To Test
cd nc-multiplex
git checkout download-zips
cd netcreate-itest
-- make sure you're running a recent version of the repogit fetch && git checkout dev-dhi
-- the latest changes should be indev-dhi
cd ..
-- back tonc-multiplex
foldernpm ci
./start-nc-multiplex.sh
Minor Fixes