Move to new disk. #229
Replies: 6 comments 5 replies
-
Cant you just temporary zpool attach the new disk to disk b? So it will be a mirror that syncs. |
Beta Was this translation helpful? Give feedback.
-
You mean attach new disk and make it mirror with zfs? then detach old disk.? |
Beta Was this translation helpful? Give feedback.
-
still, you can use zfs-autobackup for this. just create a new pool, and point the target-path to it. then all neccesary snapshots )(according to thinning schedule of target) that are on disk A will be again transferred to B. After that you run zfs-autobackup again for B -> C The thing is that zfs-autobackup doesnt keep any hidden state or anything like that, so you can just rerun with a new or empty target and it will do what you expect. :) |
Beta Was this translation helpful? Give feedback.
-
create a new pool, and point the target-path to it |
Beta Was this translation helpful? Give feedback.
-
Yes it will do a full sync, since the disk is still empty. :) If you do the zpool attach trick, its also basically the same amount of time and data, as that of a full sync. You can do anything you like outside of zfs-autobackups control, as long as you make sure you have valid common snapshots. (or an empty target offcourse) |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this ? I need to move a dataset to a new disk (On Proxmox). You know there is "zfs send -R" command which sends dataset with all snapshot. Can I use it and after sent delete snapshot that was create by zfs command only ? |
Beta Was this translation helpful? Give feedback.
-
I need to move existing disk to a new disk by keeping all data along with snapshots. What is the best way for this.
I am backing up Disk A > Disk B > Disk C
Disk B must be moved to new disk. I do not want to start full backup with new disk.
Beta Was this translation helpful? Give feedback.
All reactions