alphanodes / ansible-backup Goto Github PK
View Code? Open in Web Editor NEWAnsible daily backup role
Home Page: https://galaxy.ansible.com/AlphaNodes/backup
License: GNU General Public License v3.0
Ansible daily backup role
Home Page: https://galaxy.ansible.com/AlphaNodes/backup
License: GNU General Public License v3.0
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.
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})
Hi there, would it be possible that we could add tags for this collection so we can pin at specific versions? Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.