
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Dump and restore databases easily.
Backup and Restoration Strategies & MongoDB Manual
Add this line to your application's Gemfile:
gem 'mongodb_clone'
And then execute:
$ bundle
Use a rake task to dump production database and restore locally.
$ rake db:copy:production:to_local
or create your tasks:
# Dump environment "staging", session "default" and restore in "development" environment, session "backup"
MongodbClone::MongodbReplication.new.dump('staging').restore('development', 'backup')
Use config/mongoid.yml
to configure the environments:
development:
sessions:
default:
database: mongodb_clone_development
hosts:
- localhost:27017
backup:
database: mongodb_clone_development
hosts:
- localhost:27017
staging:
sessions:
default:
database: mongodb_clone_staging
username: mongodb_clone
password: 12345678
hosts:
- mongodb_clone_staging.example.com:27017
production:
sessions:
default:
database: mongodb_clone_production
username: mongodb_clone
password: 12345678
hosts:
- mongodb_clone.example.com:27017
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)MIT License. Copyright 2012 Tiago Rafael Godinho
FAQs
Unknown package
We found that mongodb_clone 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.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.