Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
________
_ _ _ ____//______\\_____
__| | |__| |_ /__________________/|
| _ | _ | _| | |______| | |
|____|____|___| |_________________|/
The dbt
command makes it easy to connect to your database, create snapshots
and restore from these at a later time.
To connect to the database:
dbt
To create a snapshot:
dbt --snapshot
To restore from the most recent snapshot, based on timestamp on file:
dbt --restore
To restore from a specific snapshot:
dbt --restore db/snapshots/my_database.dump
By default the snapshots are stored in db/snapshots
but they can be saved
anywhere if the path is specified.
To find out what configuration is being used:
dbt --info
To find out what configuration is being used in a particular environment:
dbt --env test --info
The connection configuration is read from config/
in the form of a
database.yml
(Ruby on Rails) or
database.json
(Sequelize) file.
NOTE: You will need to be able to connect to the default Postgres database
for your user if you want to be able to drop and restore databases from
snapshots. If you can run the psql
command successfully without any
options, and that role has the ability to create and drop databases, it should
work.
Full support for PostgreSQL, partial support for MySQL.
Often saving and restoring PostgreSQL database snapshots takes a little work
to get things to line up correctly. dbt
should handle most of that for you.
The ownership is automatically changed to whatever username
is defined in
the database configuration.
(C) 2014-2020 Scott Tadman, PostageApp Ltd. and other contributors.
Using the MIT License as described in
the LICENSE
file.
FAQs
Database Shell Toolkit
The npm package dbt receives a total of 7 weekly downloads. As such, dbt popularity was classified as not popular.
We found that dbt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.