snapshot.sh | Bash script for versioned snapshots using rsync | Continuous Backup library

 by   WikiBox Shell Version: Current License: LGPL-3.0

kandi X-RAY | snapshot.sh Summary

kandi X-RAY | snapshot.sh Summary

snapshot.sh is a Shell library typically used in Backup Recovery, Continuous Backup, Docker applications. snapshot.sh has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

Bash script for versioned snapshots using rsync, with purging. This is how I do my first level automatic backups of my servers. I run a couple of Odroid HC2 ARM SBCs with the Openmediavault NAS software and a 12TB drive. nas0 to nas5. I run them in pairs where the first NAS in the pair is used to share files on my LAN and the second NAS in the pair is used to take daily automatic versioned backup snapshots of the first NAS. I use a couple of bash-scripts, one per major folder on the NAS. And I have a cron job setup to, at 03:00, run a "master script" that in turn run all the snapshot scripts. All my NAS are connected to each other using GbE, NFS4 and autofs. The autofs mounts are in /srv/nfs/nas#. I have a separate script for each backup job. The scripts are all identical except for some paths, names and constants modified at the beginning of the script. As can be seen above this script was used to update a snapshot of local_media from nas0 to nas1. And snapshots are automatically purged so that no more than 7 daily, 4 weekly and 4 monthly snapshots are retained. The script creates a full snapshot backup copy by hardlinking unmodified files from the previous snapshot and copying over only modified files, if any. This means that the script is usually very fast. A snapshot with several TB of data and many thousands of files and folders can be updated in about a minute or so, if no files need to be copied. The script, as it is here, uses rsync in local mode. It might be used between two filesystems on the same server or on two servers via a NFS mount. But it should also be very easy to modify the script to run on the backup server and create snapshots of a remote server over ssh. This is of course inspired by "Easy Automated Snapshots, Mike Rubel".
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

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

            kandi-Quality Quality

              snapshot.sh has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              snapshot.sh is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              snapshot.sh releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            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 snapshot.sh
            Get all kandi verified functions for this library.

            snapshot.sh Key Features

            No Key Features are available at this moment for snapshot.sh.

            snapshot.sh Examples and Code Snippets

            No Code Snippets are available at this moment for snapshot.sh.

            Community Discussions

            QUESTION

            vssadmin don't want reconize shadowID (Invalid option value)
            Asked 2021-Nov-29 at 14:37

            I'm wondering why my Shadown ID of a snaphot is not reconize when i want to select or delete it...

            Context

            I have created my snapshot with this:

            ...

            ANSWER

            Answered 2021-Nov-29 at 14:37

            As mentioned in the comments, you need to pass the GUID without the {} curly braces. The default string representation will do:

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

            QUESTION

            Using Terraform to create multiple AWS EBS volumes from shared snapshot and tagging them with snapshot description
            Asked 2020-Apr-15 at 00:35

            As title described, I'm trying to create multiple AWS EBS from shared snapshots.

            I am using data "aws_ebs_snapshot_ids" to get the list of snapshots and then use for_each to create the EBS volumes. So something like this

            ...

            ANSWER

            Answered 2020-Apr-15 at 00:35

            You can use an aws_ebs_snapshot data source to get the details for those snapshot IDs:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install snapshot.sh

            You can download it from GitHub.

            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/WikiBox/snapshot.sh.git

          • CLI

            gh repo clone WikiBox/snapshot.sh

          • sshUrl

            git@github.com:WikiBox/snapshot.sh.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 WikiBox

            sift

            by WikiBoxC++

            sift3

            by WikiBoxC++