First, this isn't a potshot at ZFS - I've been stress-testing it heavily for some weeks now and it is the greatest thing since sliced bread. But... it is somewhat lacking in native tools for disaster recovery.
I collected a bunch of parts to make a nice large NAS - 32TB of disk, and a 48-tape LTO4 robotic tape library. After test-filling the 32TB to about 25% capacity, I then tried to use
After doing a number of extensive searches for any remotely relevant keywords, I found people use a number of solutions:
I installed the amanda port and was overwhelmed by the configuration options. I contacted zmanda and asked for a quote for configuring Amanda Community Edition, and got back a quote for building a zmanda-supported port of the Amanda Enterprise client to FreeBSD and having it send dumps to a supported server platform (such as Linux). I'm not sure if I was unclear in what I wanted, or if they feel that things are best done with Enterprise on another platform - in any event, it was a non-starter. I'll attach my original message to them so you can see what (I think) I was asking for.
So, I've got this large pile of data that wants to go to tape in some relatively-sane manner. I'm certainly not committed to using Amanda - just about any open-source solution will do, and if configuring whatever it is is beyond me, I'm willing to pay for some reasonable consulting to get it done. Any suggestions?
Here's the relevant piece of the message I sent to zmanda:
I collected a bunch of parts to make a nice large NAS - 32TB of disk, and a 48-tape LTO4 robotic tape library. After test-filling the 32TB to about 25% capacity, I then tried to use
# dump
to make a test backup to the tape library. Result: whaddaya mean, unknown file system? x(After doing a number of extensive searches for any remotely relevant keywords, I found people use a number of solutions:
- Use zfs snapshots
- Use zfs send/receive
- Use amanda
- Copy small pieces at a time to another filesystem and use dump
- Just hope nothing bad happens :\
I installed the amanda port and was overwhelmed by the configuration options. I contacted zmanda and asked for a quote for configuring Amanda Community Edition, and got back a quote for building a zmanda-supported port of the Amanda Enterprise client to FreeBSD and having it send dumps to a supported server platform (such as Linux). I'm not sure if I was unclear in what I wanted, or if they feel that things are best done with Enterprise on another platform - in any event, it was a non-starter. I'll attach my original message to them so you can see what (I think) I was asking for.
So, I've got this large pile of data that wants to go to tape in some relatively-sane manner. I'm certainly not committed to using Amanda - just about any open-source solution will do, and if configuring whatever it is is beyond me, I'm willing to pay for some reasonable consulting to get it done. Any suggestions?
Here's the relevant piece of the message I sent to zmanda:
I am setting up a new fileserver using FreeBSD 8.1. The system has 32TB of disk in a multi-level ZFS structure. A single mount point of 22TB is exposed by ZFS.
I also purchased a Dell TL4000 48-tape LTO4 robotic library (this is the same unit as the IBM TS3200). This library uses barcodes on the tapes to identify media in the library.
Everything was going well (I'm seeing over 500MB/sec read or write to the ZFS array) and I have successfully backed up the operating system (non-ZFS) partitions to tape. MTX sees the drive and can move tapes, read the tape barcodes, and so forth. I then tried to use "dump" on the ZFS partition and got the "unrecognized filesystem" message.
After searching, I found that a) dump doesn't support ZFS and b) nobody has a simple ZFS tape backup solution. Apparently everyone says "use ZFS snapshots or ZFS send/receive". Apparently they are under the misconception that RAID == backup.
The few people who are doing tape backup with ZFS seem to be using Amanda, so I installed it (2.6.1p2, latest stable, from FreeBSD ports). However, there are a zillion config options, and I find it very confusing. I don't want to make what could be a trivial mistake which could cost me my data in the event of a ZFS failure.
What I'm looking for:
I'd like to get an Amanda configuration that lets me back up the entire ZFS partition, located on the same system as the tape drive and Amanda, to the tape library, with automatic tape changing as needed, on an on-demand basis. There will be no scheduled backups, no incrementals, no clients, and no on-disk holding area - just a simple partition-to-tape.
Successful completion of this goal will be when I test:
1) Restoration of a single file from the backup set
2) Restoration of a directory and its contents from the backup set
3) Restoration of the complete ZFS partition from the backup set
4) A subsequent full backup which sucessfully re-uses some or all of the
tapes from the first backup run