ansible-restic | Deploy restic backup program | Continuous Backup library

 by   donat-b Python Version: Current License: BSD-2-Clause

kandi X-RAY | ansible-restic Summary

kandi X-RAY | ansible-restic Summary

ansible-restic is a Python library typically used in Backup Recovery, Continuous Backup, Ansible applications. ansible-restic has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However ansible-restic build file is not available. You can download it from GitHub.

Deploys restic binary and cron jobs to trigger restic commands.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ansible-restic has a low active ecosystem.
              It has 32 star(s) with 40 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 3 open issues and 5 have been closed. On average issues are closed in 154 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ansible-restic is current.

            kandi-Quality Quality

              ansible-restic has 0 bugs and 0 code smells.

            kandi-Security Security

              ansible-restic has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ansible-restic code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ansible-restic is licensed under the BSD-2-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ansible-restic releases are not available. You will need to build from source code and install.
              ansible-restic has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              ansible-restic saves you 14 person hours of effort in developing the same functionality from scratch.
              It has 40 lines of code, 5 functions and 1 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ansible-restic
            Get all kandi verified functions for this library.

            ansible-restic Key Features

            No Key Features are available at this moment for ansible-restic.

            ansible-restic Examples and Code Snippets

            No Code Snippets are available at this moment for ansible-restic.

            Community Discussions

            QUESTION

            Jinja template in Ansible treats "dest" as a directory instead of as a file
            Asked 2019-Mar-12 at 11:56

            tl;dr
            Ansible's template module treats a template destination as a directory instead of as a file. What am I missing?

            Situation:
            I am using paulfantom's ansible-restic role in another role, named backups-role. I am testing my role with a dummy playbook in a local lxc environment, which installs a database service and then uses ansible-restic to create a cron job to back it up. For testing purposes, the backup destination is a local restic repo: /var/backup/backups-test . I am using only one restic_repo named backups-testWrong! the variable was named {{ ansible_hostname }}/{{ ansible_date_time.epoch }}, evaluated to something equivalent to myhost.local/1551799877. See the answer directly.

            Problem
            This ansible task with from a stable ansible role (ansible-restic):

            ...

            ANSWER

            Answered 2019-Mar-06 at 20:22

            I self-answer becase I solved it with the hints of @TheLastProject from github.com. See just asked:

            What's the value of your restic_repos variable?

            And it turned to be that the info I provided at the question was wrong. I was setting the variable with a slash / in the middle of the name, still don't know why. Therefore, when ansible-restic was trying to make sure that /etc/cron.d/{{ repo_name }} existed, it was actually trying to check /etc/cron.d/myhost.local/1551799877, which clearly didn't exist, and didn't create it because it only creates files, not intermediary parents.

            So no magic and no bugs in Ansible!

            Source https://stackoverflow.com/questions/55007415

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ansible-restic

            You can download it from GitHub.
            You can use ansible-restic like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/donat-b/ansible-restic.git

          • CLI

            gh repo clone donat-b/ansible-restic

          • sshUrl

            git@github.com:donat-b/ansible-restic.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Continuous Backup Libraries

            restic

            by restic

            borg

            by borgbackup

            duplicati

            by duplicati

            manifest

            by phar-io

            velero

            by vmware-tanzu

            Try Top Libraries by donat-b

            dotfiles

            by donat-bShell

            ansible-restic-rest

            by donat-bHTML

            ansible-certbot

            by donat-bShell

            The-Powder-Toy

            by donat-bC++

            procyon

            by donat-bShell