-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use source pool names as target pool name #41
Comments
Can you explain what you mean exactly? We already support multiple pools automaticly, just set the autobackup: property like usual, but on multiple pools. Edwin |
1:1 replication, like using standard PVE built-in replication mechanism. Currently, all FS with autobackup:property=true gives such a result: Best regards |
Ah i understand. Can you try using --strip-path as workaround? In your example a --strip-path 1 should result in:
It strips the first "part" of the source name. In this case it strips ssd1 and hdd from it. I assume the other vm has a different number than 100, so there should be no naming conflict. Edwin |
Well, you discovered the problem with PVE and VM disk naming when using ZFS storage (disk name is unique in storage scope, but not in whole VM). So stripping the first part of the source name is not an option because you will achieve a dangerous situation like below (this is the schema you created) :
Additionally, I don't want to store virtual-disk which is assumed to contain lots of rarely used data (slow access is acceptable) on SSD storage. The Strip-path parameter gives some possibilities, but it still not what I'm trying to achieve. I tried it earlier but to make full replication (1:1 between identical servers) I need 3 different commands and different properties for each of storage's type:
|
You basically want something like rsync for zfs pools? :) |
yes, 1:1 replication with all benefits from zfs-autobackup (custom properties, autoprune). |
Ok, first i have to fix some more stuff and then i'll figure out how to do this in a nice way. |
update: the fixing some stuff turned into adding full regression testing and a lot of new features for 3.1. this one is still on the table however. :) |
please have a look at #114 and let me know overthere what you think of it |
In the mean time, if you want 1:1 replication on a per-pool basis, look here: https://github.com/psy0rz/zfs_autobackup/wiki#making-source-and-target-paths-look-the-same |
closing this, since its essentially fixed via that documentation. zfs-rsync is a different thing. |
As a user, I want to backup multiple pools to Backup Server that has the same pool schema, so I'm able to create a full replica ready to go in a disaster scenario.
Let's imagine the situation where you have 2 servers in equal hardware configuration, ZFS pools on those servers are divided on fast and slow storage (SSD/fs and HDD/fs) and you want to perform a backup.
Best regards!
The text was updated successfully, but these errors were encountered: