![]() ![]() ![]() Remember: You never need a backup until you don't have one.Ĭlick to expand.How paranoid you need to be about backups depends a lot on what is being backed up, and what the impact of losing that data forever is. If you back up to a spare disk, and recreate your server's partition scheme on that disk, you can always have a spare boot-able disk in the event of total catastrophe. You'll always have an identical copy of your pool as a backup, the amount of data copied is minimal, and snapshots will contain any past versions of files. After that, each time you run that same command zxfer will delete any stale snapshots from the destination that don't exist on the origin, then copy all the new files and snapshots to the destination. The first example in the zxfer man page works very similarly to rsync-it will replicate the entire pool, including snapshots, the first time you run it. My personal recommendation is to use sysutils/zxfer to back up to a spare disk or server. So no, ZFS snapshots are not backups, but in order to create good ZFS backups you need to use snapshots. Otherwise every time you make a backup you'll be copying every single file on the origin, and overwriting every single file on the destination. ![]() With zfs send | zfs receive, this can only be done if snapshots are used. ![]() Creating a proper backup means copying the data to another medium, and keeping multiple backups from different points in time in case one backup fails.A snapshot is not a "backup." It's just a safety precaution to keep you from accidentally deleting something. Or more likely, make some maintenance mistake or end up with an intrusion that you couldn't foresee. Your fancy RAIDZ array won't mean anything if your machine catches fire or gets stolen or lightning strikes the electric lines to your house or something. No copy of any data- absolutely none-is a "backup" if the copy and the original are in the exact same place.Either there's a miscommunication here, or some very important points are being overlooked: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |