2017 © Pedro Peláez
 

symfony1-plugin dm-assets-backup-plugin

dmAssetsBackupPlugin - Assets backup for Diem Extended

image

runopencode/dm-assets-backup-plugin

dmAssetsBackupPlugin - Assets backup for Diem Extended

  • Thursday, December 20, 2012
  • by TheCelavi
  • Repository
  • 2 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

dmAssetsBackupPlugin for Diem Extended

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, (*1)

dmAssetsBackupPlugin for Diem Extended is manager for assets backup, as well as for backuping assets., (*2)

Configuration

In dmAssetsBackupPlugin/config/dm/config.yml are default configuration values., (*3)

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., (*4)

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., (*5)

adapter which of installed adapters you would like to use for compression., (*6)

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., (*7)

Administration

Go to System > Backup > Assets backup and you will see the list of backup files. Each file can be:, (*8)

  • Downloaded
  • Deleted

Or you can create new backup., (*9)

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., (*10)

Task

Backups can be created via console, by using a task dm:assets-backup., (*11)

The task can be executed periodically, via cron - which is major advantage of this plugin., (*12)

The Versions

20/12 2012

dev-master

9999999-dev http://www.runopencode.com/projects/diem/front-behaviors/dmassetsbackupplugin

dmAssetsBackupPlugin - Assets backup for Diem Extended

  Sources   Download

Free for all

The Requires

 

plugin assets diem diem extended dmassetsbackupplugin