https://github.com/krisleech/backup_data
Engine style plugin which offers backup of database and files
https://github.com/krisleech/backup_data
Last synced: 11 months ago
JSON representation
Engine style plugin which offers backup of database and files
- Host: GitHub
- URL: https://github.com/krisleech/backup_data
- Owner: krisleech
- License: mit
- Created: 2010-08-27T07:38:52.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2010-08-27T08:00:47.000Z (almost 16 years ago)
- Last Synced: 2025-07-27T11:15:07.670Z (11 months ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: MIT-LICENSE
Awesome Lists containing this project
README
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