runopencode/dm-assets-backup-plugin
Composer 安装命令:
composer require runopencode/dm-assets-backup-plugin
包简介
dmAssetsBackupPlugin - Assets backup for Diem Extended
README 文档
README
Author: TheCelavi
Version: 1.0.1
Stability: Stable
Backward compatibility: Incompatible configuration with version 1.0.0
Date: December 9th, 2012
Courtesy of Run Open Code
License: Free for all
dmAssetsBackupPlugin for Diem Extended is manager for assets backup, as well as for backuping assets.
Configuration
In dmAssetsBackupPlugin/config/dm/config.yml are default configuration values.
default:
dmAssetsBackupPlugin:
locations:
backup_dir: %SF_ROOT_DIR%/data/dm/backup/assets
source_dir: %SF_UPLOAD_DIR%
rotations:
max_backup_files: 3
max_backup_size: 4294967296 # 4GB
adapter: dmAssetsBackupAdapterTar
adapters:
dmAssetsBackupAdapterTar:
extensions: [ tar, tar.gz, tar.bz2 ]
use: tar
dmAssetsBackupAdapterZip:
extensions: [ zip ]
use: zip
locations configures source and destination directory, that is the directory
to backup and directory where that backup should go.
rotations defines the max backup files or max backup size. When one of these
two is reached, the oldest backup gets deleted when new backup is created. Note
that max_backup_size accepts bytes as size units.
adapter which of installed adapters you would like to use for compression.
adapters are installed adapters for compressing the backup. Two are already provided,
TAR and ZIP. Each adapter uses some extension or creates file with some extension.
Administration
Go to System > Backup > Assets backup and you will see the list of backup files. Each
file can be:
- Downloaded
- Deleted
Or you can create new backup.
In order to see list of backup files, to create or delete a backup and to download
some or all of them, user must have a assets_backup or backup permission associated.
Task
Backups can be created via console, by using a task dm:assets-backup.
The task can be executed periodically, via cron - which is major advantage of this plugin.
runopencode/dm-assets-backup-plugin 适用场景与选型建议
runopencode/dm-assets-backup-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 1, 最近一次更新时间为 2012 年 12 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「assets」 「plugin」 「diem」 「diem extended」 「dmAssetsBackupPlugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 runopencode/dm-assets-backup-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 runopencode/dm-assets-backup-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 runopencode/dm-assets-backup-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Asset Management for PHP
Caching and compression for Twig assets (JavaScript and CSS).
Tool for loading or deploying CSS and JS files into web pages
Laravel theme manager, that will help you organize and maintain your themes inside Laravel projects.
Plugin for YOURLS. Default tools to use in some laemmi plugins
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Free
- 更新时间: 2012-12-20