rsnapshot | a tool for backing up your data using rsync (if you want to get help, use https://lists.sourceforge. | Incremental Backup library

 by   rsnapshot Perl Version: 1.4.5 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 medium 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. 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.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              rsnapshot has a medium active ecosystem.
              It has 2812 star(s) with 254 fork(s). There are 90 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 32 open issues and 163 have been closed. On average issues are closed in 368 days. There are 11 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of rsnapshot is 1.4.5

            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 available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.
              It has 1774 lines of code, 0 functions and 4 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

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

          • CLI

            gh repo clone rsnapshot/rsnapshot

          • sshUrl

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

            rsnapshot.github.io

            by rsnapshotHTML