zfsnapr
arq_restore
Our great sponsors
zfsnapr | arq_restore | |
---|---|---|
7 | 124 | |
21 | 648 | |
- | - | |
5.6 | 0.0 | |
8 months ago | almost 2 years ago | |
Ruby | C | |
BSD 2-clause "Simplified" License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zfsnapr
-
Kopia: Open-Source, Fast and Secure Open-Source Backup Software
FreeBSD had a pretty decent option in the base system two decades ago - FFS snapshots and a stock backup tool that would use them automatically with minimal effort, dump(8). Just chuck `-L` at it and your backups are consistent.
Now of course it's all about ZFS, so there's at least snapshots paired with replication - but the story for anything else is still pretty bad, with you having to put all the fiddly pieces together. I'm sure some people taught their backup tool about their special named backup snapshots sprinkled about in `.zfs/snapshot` directories, but given the fiddly nature of it I'm also sure most people just ended up YOLOing raw directories, temporal-smearing be damned.
I know I did!
I finally got around to fixing that last year with zfsnapr[1]. `zfsnapr mount /mnt/backup` and there's a snapshot of the system - all datasets, mounted recursively - ready for whatever backup tool of the year is.
I'm kind of disappointed in mentioning it over on the Practical ZFS forum that the response was not "why didn't you just use ", but "I can see why that might be useful".
Well, yes, it makes backups actually work.
> Also, it's unclear to me what happens if you attempt a snapshot in the middle of something like a database transaction or even a basic file write. Seems likely that the snapshot would still be corrupted
A snapshot is a point-in-time image of the filesystem at a given point. Any ACID database worth the name will roll back the in-flight transaction just like they would if you issued it a `kill -9`.
For other file writes, that's really down to whether or not such interruptions were considered by the writer. You may well have half-written files in your snapshot, with the file contents as they were in between two write() calls. Ideally this will only be in the form of temporary files, prior to their rename() over the data they're replacing.
For everything else - well, you have more than one snapshot backed up, right?
-
ZFS for Dummies
I make remote snapshot backups with Borg using this: https://github.com/Freaky/zfsnapr
zfsnapr mounts recursive snapshots on a target directory so you can just point whatever backup tool you like at a normal directory tree.
I still use send/recv for local backups - I think it's good to have a mix of strategies.
-
BorgBackup, Deduplicating archiver with compression and encryption
This is why I made https://github.com/Freaky/zfsnapr
Instead of working out how to teach my backup tools about snapshots, I just mount them in a subtree and use that as a chroot env.
-
Ask HN: Can I see your scripts?
borg-backup.sh, which runs my remote borg backups off a cronjob: https://github.com/Freaky/borg-backup.sh
zfsnapr, a ZFS recursive snapshot mounter - I run borg-backup.sh using this to make consistent backups: https://github.com/Freaky/zfsnapr
mkjail, an automatic minimal FreeBSD chroot environment builder: https://github.com/Freaky/mkjail
run-one, a clone of the Ubuntu scripts of the same name, which provides a slightly friendlier alternative to running commands with flock/lockf: https://github.com/Freaky/run-one
-
Correct Backups Require Filesystem Snapshots
I wrote https://github.com/Freaky/zfsnapr a few months ago so I could finally have point-in-time consistent Borg backups with ZFS snapshots, without having the mess of teaching Borg where every .zfs directory was.
It recursively snapshots mounted pools, and recursively mounts snapshots of the mounted datasets into a target ready to point your backup tools at. I do so via a chroot so I didn't need to make any changes to my Borg setup - just to how I run it.
-
Snapshot stat changes on access
This is the approach I take with zfssnapr - make a recursive snapshot of pools and then use mountpoint/canmount to recursively mount datasets on a location. Then I can just point borg at it without having to teach it where exactly each .zfs directory is.
- zfsnapr — recursively mount a system snapshot on a given location
arq_restore
-
Ask HN: Open-source Windows 11 backup solutions
There's also Arq Backup which can backup to OneDrive so if you have less than 1TB to backup you might not need to pay anything.
-
Back Up Storage options
I use Arq Premium backup services They supply the backup software and the cloud storage
-
ThinMachine – A $25 Thin Client macOS Time Machine Appliance
People who want something similar may want to look at Arq [1]. Similar to restic, it provides incremental encrypted backups to most cloud providers (or a machine with SSH). But it is a Mac app, making it easy to configure and maintain. I never had issues with data corruption so far.
Disclaimer: I am not affiliated with them, just a happy user for 9 years.
-
What am I looking for!?
Sending it to the NAS should create a copy automatically to BOTH an online server (I was thinking dropbox, but the space might be too limited. Maybe AWS? I've used https://www.arqbackup.com/ on my computer before so something similar would be great) and a second drive (so I guess I'm looking at a 2-drive NAS that I can setup as master-slave).
-
Guys I’m scared 😭 my life is on my computer and I don’t know how to fix it
For actual off-site backups, using something like https://www.backblaze.com or use https://www.arqbackup.com and your own choice cloud storage provider.
-
Anyone use Veeam Backup for Mac?
Curious too. On the Mac side, I feel like I mostly hear about Backblaze for cloud backups, but I do like Arq for pushing to any of the typical cloud storage options.
-
Cloud backup of TM backups
Have a look at Arq backup https://www.arqbackup.com/ It might meet your requirements
-
Is VeraCrypt 1.25.9 compatible with macOS Ventura?
Take a look at Arq Backup - not identical, but it's E2EE.
-
Could I backup to B2 Cloud with a similar experience as Backblaze Personal?
You could try this: https://www.arqbackup.com/ , it supports B2 I believe.
-
Digital clutter: Learning to let go and stop hoarding terabytes
Regarding Arq backup: if you are worried about using a proprietary (enrypted) and closed-source backup format in case the company were to go under, they have an open source command-line restore tool:
https://github.com/arqbackup/arq_restore
I've been using Arq for years, but I need to look into the "Glacier Deep Archive" format which is about 1/20th the cost of the fastest storage class.
What are some alternatives?
BorgBackup - Deduplicating archiver with compression and authenticated encryption.
restic - Fast, secure, efficient backup program
ioztat - ioztat is a storage load analysis tool for OpenZFS. It provides iostat-like statistics at an individual dataset/zvol level.
icloud_photos_downloader - A command-line tool to download photos from iCloud
benchmarks - Benchmarks of different backup tools.
kopia - Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included.
RcloneZFSBackup - Backup ZFS snapshots to cloud storage using RCLone
rclone - "rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Yandex Files
borgmatic - Simple, configuration-driven backup software for servers and workstations
Cryptomator - Multi-platform transparent client-side encryption of your files in the cloud
borgtui - A nice TUI for BorgBackup
vorta - Desktop Backup Client for Borg Backup