Coder Social home page Coder Social logo

alphanodes / ansible-backup Goto Github PK

View Code? Open in Web Editor NEW
28.0 8.0 5.0 90 KB

Ansible daily backup role

Home Page: https://galaxy.ansible.com/AlphaNodes/backup

License: GNU General Public License v3.0

Jinja 100.00%
backup mysql-backup postgresql-backup daily-backups ansible-role files backup-rotation

ansible-backup's People

Contributors

alexandermeindl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-backup's Issues

Breaking change since using community.general.archive: the functionality of excludes is different

Just wanted to let you know that the way of specifying excludes is now different, since your lib has switched to using community.general.archive. My backups were getting extremely large at one point, and I saw it was because of this.

The path and exclude_path variable from archive now take globs/wildcards so the old way of specifying paths doesn't work anymore.

Also, excluding subdirectories below the 2nd level is not possible, due to a bug i have filed here: ansible-collections/community.general#6857
This is actually not a bug, it was my failure to understand how it works. But the issue here still persists since its a breaking change.

removes wrong backup archive

When i use this role for more then 1 backup scenarios, it will remove an backup from an other backup instance.

TASK [alphanodes.backup : Remove old daily files] ******************************
changed: [gitlab] => (item={'uid': 0, 'woth': False, 'mtime': 1637394339.8754258, 'inode': 51511299, 'isgid': False, 'size': 10871953292, 'roth': True, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/data/backups/plex_k8s-202111200731-daily.tar.gz', 'xusr': False, 'atime': 1637393485.4575467, 'isdir': False, 'ctime': 1637394339.8754258, 'isblk': False, 'xgrp': False, 'dev': 54, 'wgrp': False, 'isfifo': False, 'mode': '0644', 'islnk': False})

Add tags for ansible-backup

Hi there, would it be possible that we could add tags for this collection so we can pin at specific versions? Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.