Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
h1. Backup
h2. A Backup Ruby Gem
Backup is a Ruby Gem written for Unix and Rails environments. It can be used both with and without the Ruby on Rails framework! This gem offers a quick and simple solution to backing up databases such as MySQL/PostgreSQL and Files/Folders. All backups can be transferred to Amazon S3 or any remote server you have access to, using either SCP, SFTP or regular FTP. Backup handles Compression, Archiving, Encryption, Backup Cleaning (Cycling) and supports Email Notifications.
h2. Authors/Maintainers
h2. Backup's Current Capabilities
h3. Storage Methods
h3. Adapters
h3. Archiving
Handles archiving for the Archive and Custom adapters.
h3. Encryption
Handles encryption of all backups for any adapter. To decrypt a "Backup encrypted file" you can use Backup's built-in utility command:
bc. sudo backup --decrypt /path/to/encrypted/file.enc
h3. Backup Cleaning
With Backup you can very easily specify how many backups you would like to have stored (per backup procedure!) on your Amazon S3, Remote or Local server. When the limit you specify gets exceeded, the oldest backup will automatically be cleaned up.
h3. Email Notifications
You will be able to specify whether you would like to be notified by email when a backup successfully been stored. Simply fill in the email configuration block and set "notify" to true inside the backup procedure you would like to be notified of.
h3. Quick Example of a Single Backup Setting/Procedure inside the Backup Configuration File
bc. backup 'mysql-backup-s3' do adapter :mysql do user 'user' password 'password' database 'database' end storage :s3 do access_key_id 'access_key_id' secret_access_key 'secret_access_key' bucket '/bucket/backups/mysql/' use_ssl true end keep_backups 25 encrypt_with_password 'my_password' notify true end
Everything above should be pretty straightforward, so now, using the "trigger" we specified between the backup and do you can execute this backup procedure like so:
Rails Environment
bc. rake backup:run trigger=mysql-backup-s3
Unix Environment
bc. sudo backup --run mysql-backup-s3
That's it. This was a simple example of how it works.
h2. Interested in trying out Backup?
h3. Getting started with Backup for the Unix Environment
h3. Getting started with Backup for the Rails Environment
h3. Production Mode RAILS_ENV
h3. Encrypting and Decrypting
h3. Backup Configuration File (All Adapters, Storage Methods, Mail Settings and Options)
h3. Unix Utility Commands and Rails Rake Tasks
h3. Automatic Backups
h3. Capistrano Recipes
h3. Capistrano, Whenever!
h3. Understanding "The Backup Database"
h3. Trouble Shooting
h3. Requirements
h3. Resources
h3. Requests
If anyone has any requests, please send us a message or post it on the issues page!
h3. Suggestions?
Send us a message! Fork the project!
h3. Found a Bug?
"http://github.com/meskyanichi/backup/issues":http://github.com/meskyanichi/backup/issues
h3. Contributors
List of people that forked and added stuff!
Michael van Rooijen | Final Creation. ("http://final-creation.com":http://final-creation.com)
FAQs
Unknown package
We found that backup-gundua 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.