Akman.ocstore_backup
Ansible Role: ocstore_backup
Backup ocStore on Linux.
Requirements
None.
Role Variables
Available variables are listed below, along with default values:
ocstore_backup_dir: "backup/yourdmain"
ocstore_backup_keep: 7
ocstore_backup_to: "/var/tmp" ocstore_backup_prefix: ""
ocstore_mysql_databases: [] ocstore_backup_from: []
ocstore_backup_dumps_dir: "sql" ocstore_backup_files_dir: "files"
Dependencies
None.
Example Playbook
- hosts: all
roles:
- Akman.ocstore_backup
Inside vars/main.yml:
ocstore_mysql_databases:
- name: "ocstore" encoding: utf8 collation: utf8_general_ci
ocstore_backup_dir: "backup/ocstore"
ocstore_backup_keep: 7
ocstore_backup_to: "/var/tmp/ocstore" ocstore_backup_prefix: "ocstore_"
ocstore_backup_dumps_dir: "sql" ocstore_backup_files_dir: "shared"
ocstore_backup_from:
- path: "/var/www/ocstore/shared/"
options:
- "--include=/download/"
- "--include=/image/"
- "--exclude=/image/cache/"
- "--exclude=/*/"
- "--exclude=/*"
- "--exclude=index.html"
- "--exclude=.htaccess"
License
MIT / BSD
Author Information
This role was created in 2017 by Alexander Kapitman
Install
ansible-galaxy install Akman.ocstore_backupLicense
mit
Downloads
120
Owner
I am a passionate software development engineer with three decades of experience in professional software
development
