🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

backup_data

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backup_data

1.0.0
Rubygems
Version published
Maintainers
1
Created
Source

Database Backup Plugin

Engine style plugin which allow a user (usually admin) to manually backup the database and files themselves.

It uses the connection details in database.yml.

Create a routes like so:

map.admin_backup_database '/admin/backup/database', :controller => 'admin/backups', :action => 'database' map.admin_backup_files '/admin/backup/files', :controller => 'admin/backups', :action => 'files' map.admin_backup '/admin/backup', :controller => 'admin/backups'

The Admin::BackupsController inherits from Admin::AdminController, this may not fit with your app.

However if you install this as a plugin this is easily changed.

Copyright (c) 2010 Kris Leech, released under the MIT license

FAQs

Package last updated on 27 Aug 2010

Did you know?

Socket

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.

Install

Related posts