![]() This is usually a very expensive setup, and is only warranted if the value of your changed data is high: for example, a bank's electronic ledger. ![]() Also, continuous backup is almost never used locally, and instead used to send data to a remote source. Usually, continuous backup is used in enterprise settings where data changes constantly. Which brings me to the following: what would be the purpose, in your mind, of "continuous" replication? What are you trying to protect against? The only "continuous" setup would be mirroring, but that will not accomplish what I think you are trying to accomplish: for starters, it will limit the size of your pool, and secondly, it won't be a series of backups, but rather an exact copy of your pool at the current time, which means it would never get full until your pool gets full. There is no such thing as a "continuous" replication. Have zpool mirrored on new huge drive but with snapshots from this point onĪ replication is a point-in-time event.Label the full drive with the date and put it somewhere safe.Receive a mail as soon as the huge drive is full so I can replace it with another one.Mirror zpool onto huge drive along with all snapshots but WITHOUT regular deletion of old snapshots.Thank you very much!ĮDIT/REQUEST: How would I go about this use-case instead: You helped me out a lot by pointing me to the replication commands and telling me that there's no GUI way to do this. Please tell me if you need any more information concerning the hardware. The zpool is used for CIFS-shares and is a residence of 2 virtual machines (per bhyve). PSU: Platimax 500W Enermax (80plus Platinum)įreeNAS on bare metal, the 5 WD Reds are running an encrypted RAIDZ2 zpool.Hot-Swap: 5.25" to 3.5" SATA hot-swap slot.Chassis: Corsair Obsidian 650D (used, in good condition).HDD: 5 x WD Red 3TB (WD30EFRX) + 1 8TB Backup-HDD (Toshiba X300).I will write down everything that comes to mind about my current FreeNAS server in the following lines and hope this information is what you were after, so you don't need to click around: (I just wanted to provide the extra info of the meta-post with it.) The link I gave you was meant to guide you to the second line of the post that the link was tied to, which contained a link to the thread of my hardware config. The following documentation should provide all you need to do the snapshots and replications: Again, I would not attempt to automate the detection of the new drive, but I would do the import of the new drive from the web GUI, and once I've confirmed that it's imported successfully, would I run my script. If you want to get fancy, it wouldn't be too difficult to add some logic that would populate the email with details from the replication and tell you if it's a success or failure. Scripts that do what you want, without proper design or testing, tend to break in ways that destroy data, which is obviously not what we want here.Īssuming you are confident enough that the pool names are static, and won't change, I would write a script that does the following, and it should only take three lines: Part of the problem with doing it this way is identifying the new drive properly. You probably could do it, but again, if you are manually installing and pulling the drive, I wouldn't think it would be that much more hassle to run a command or two. ![]() Thanks in advance for reading and your recommendations! (I'm not even sure how to do it manually via the WebGUI, aside from having this in an automated way, which is the goal.)ĭo you have any idea how I could accomplish this use-case? Plug in a drive while server is running, have it backup the current state, then plug the drive out and put it somewhere safe. Especially when this drive is plugged in and out while the server is running. Sadly I don't know how to dynamically let FreeNAS mirror a zpool onto another drive. The backup should be easily reimportable if shit hits the fan, so maybe a mirrored zpool is the way to go. A could be morning and B evening for example. I want to be able to put a big HDD into the Hot-Swap at time A and have a full backup of a specific zpool on it by time B. So I'm trying to make Hot-Swap work for me: Īside from what you can read in the former thread, Hot-Swapping seems to work well as long as I don't use static HDDs as a spare. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |