rsnapshot | Backups using rsync and hard links for deduplication | Incremental Backup library

 by   jmesmon Perl Version: Current License: GPL-2.0

kandi X-RAY | rsnapshot Summary

kandi X-RAY | rsnapshot Summary

rsnapshot is a Perl library typically used in Backup Recovery, Incremental Backup applications. rsnapshot has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

rsnapshot comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              rsnapshot has a low active ecosystem.
              It has 6 star(s) with 3 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              rsnapshot has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of rsnapshot is current.

            kandi-Quality Quality

              rsnapshot has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              rsnapshot is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              rsnapshot releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              It has 2771 lines of code, 0 functions and 5 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 rsnapshot
            Get all kandi verified functions for this library.

            rsnapshot Key Features

            No Key Features are available at this moment for rsnapshot.

            rsnapshot Examples and Code Snippets

            No Code Snippets are available at this moment for rsnapshot.

            Community Discussions

            QUESTION

            btrfs send / receive on incremental folders that rotate
            Asked 2021-Sep-28 at 06:36

            I am using incremental backups using rsnapshot combined with a custom cmd_cp and cmd_rm to make use of btrfs snapshots, this procudes multiple daily btrfs subvolumes:

            ...

            ANSWER

            Answered 2021-Sep-28 at 06:36

            I solved it! I created a bash script that syncs all snapshots with a date in the name to the remote server. The date is subtracted from btrfs subvolume show.

            So daily.0 can become 2021-09-20-08-44-46 on the remote.

            I sync backwards. daily.30 first. daily.0 last. This way I can pass the proper parent to btrfs send. E.g.: btrfs send -p daily.30 daily.29.

            If the date named snapshot exists on the remote, I check with btrfs subvolume show whether it was properly synced. If not, I delete the remote subvolume/snapshot and re-sync. If it was already synced, I will skip the sync. A proper synced subvolume/snapshot has a Received UUID and readonly flag.

            After syncing I compare all snapshot names of the remote to what was just synced. The difference will deleted (thus old snapshots).

            I might share the code in the future when it's all been stable for a long run. For now I hope the above information will help others!

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

            QUESTION

            Hardening authorized_keys used in rsync backup
            Asked 2021-Jul-15 at 08:36
            • I'm trying to make a rootfs backup from ServerA on to ServerB.
            • The connection is one way and is initialized from ServerB using rsnapshot.
            • I have made a backup account on ServerA and enabled paswordless sudo only for rsync

            What I'm trying to accomplish:

            • Change the authorized_keys file on ServerA, so only the rsync command can be used via ssh.

             

            On ServerB - /etc/rsnapshot.conf is setup to run rsync with the following args:

            • rsync_long_args --rsync-path="sudo rsync" --delete --numeric-ids --relative --delete-excluded

             

            I have tried the following on ServerA:

            • from="ServerB",command="sudo rsync *" ssh-ed25519 SSH-KEY

            But rsnapshot keeps crashing and giving IO error codes for rsync.

            What am I missing here?

            ...

            ANSWER

            Answered 2021-Jul-15 at 08:36

            !! Problem Solved !!

            Found out about rrsync --- /usr/share/doc/rsync/scripts/rrsync, copy it to wherever.

            • ServerA:authorized_keys --- command="sudo /usr/local/bin/rrsync -ro /backup"

            Since I'm keeping a copy of the backups on ServerA, I might as well rsync from them instead of using rsnapshot on ServerB. (This was my initial idea, but it doesn't work since there are duplicate files because of links that rsnapshot creates, I ended up having rsnapshot running both on ServerA and ServerB, to save backups from ServerA to a localDir on ServerA and also make remote snapshots from ServerA to ServerB.)

            • Also changed the sudoers file on ServerA:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install rsnapshot

            rsnapshot is a filesystem snapshot utility based on rsync. rsnapshot makes it easy to make periodic snapshots of local machines, and remote machines over ssh. The code makes extensive use of hard links whenever possible, to greatly reduce the disk space required. It is written entirely in perl with no module dependencies, and has been tested with versions 5.004 through 5.8.5.
            Debian: 3.0 (woody), 3.1 (sarge), unstable (sid)
            Redhat: 7.x, 8.0, Enterprise Linux 3.0 ES
            Fedora Core 1, 3
            CentOS 3, 4
            WhiteBox Enterprise Linux 3.0
            Slackware 9.0
            SuSE: 9.0
            FreeBSD 4.9-STABLE
            OpenBSD 3.x
            Solaris 8 (SPARC and x86)
            Mac OS X
            IRIX 6.5

            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/jmesmon/rsnapshot.git

          • CLI

            gh repo clone jmesmon/rsnapshot

          • sshUrl

            git@github.com:jmesmon/rsnapshot.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

            Explore Related Topics

            Consider Popular Incremental Backup Libraries

            rsnapshot

            by rsnapshot

            bitpocket

            by sickill

            RsyncOSX

            by rsyncOSX

            sshfs

            by osxfuse

            rsync

            by WayneD

            Try Top Libraries by jmesmon

            rust-systemd

            by jmesmonRust

            pahole

            by jmesmonC

            sodalite

            by jmesmonRust

            illum

            by jmesmonC

            wdfs

            by jmesmonC