So I wrote a little shell script I run in cron once a week, and it works great when I send a snapshot to a new disk and even send incrementals to that disk afterwards, however if i change backup disks I can't change back without it bombing. The main issue I don't understand is how to send new incremental snapshots when the destination is missing the last or last few, can zfs resend any older snaps to catch it up?
http://pastebin.com/ecszdfzm
This is how it's setup right now, 3 1.5TB in a raidz and a single 2TB for backup. I currently have an unused 1.5 and 2tb drive, im about to rework my storage raidz to be 4 1.5's to expand it.
Any ideas on how I can have multiple drives? The idea is to take one offsite for a week, then swap every week between 2 2TB drives I have for backup. Also once my dataset exceeds using 2TB I'll need to figure out how to backup to multiple drives I can slide in and out of the server.
Right now I use an icydock trayless sata cage that sits in a cdrom bay. I can get another one they have that goes upto 4 drives at once, I guess I could slide a whole raidz pool of drives in and then import it....
Anyone have any other ideas for backup to disk?
http://pastebin.com/ecszdfzm
This is how it's setup right now, 3 1.5TB in a raidz and a single 2TB for backup. I currently have an unused 1.5 and 2tb drive, im about to rework my storage raidz to be 4 1.5's to expand it.
Any ideas on how I can have multiple drives? The idea is to take one offsite for a week, then swap every week between 2 2TB drives I have for backup. Also once my dataset exceeds using 2TB I'll need to figure out how to backup to multiple drives I can slide in and out of the server.
Right now I use an icydock trayless sata cage that sits in a cdrom bay. I can get another one they have that goes upto 4 drives at once, I guess I could slide a whole raidz pool of drives in and then import it....
Anyone have any other ideas for backup to disk?