Prev: How to use a dvd image to install Solaris 10 on E 250/E 450
Next: Import of zpool to two seperate hosts.
From: none on 18 Jan 2010 09:36 Hello, Does anyone know how I can backup the config data (with zfs properties) of the ZFS Filesystem ? The background is when a ZFS Filesystem/Zpool is completely destroyed (e.g rpool) I want easily recover the configuration data. After that I can recover the user data. I use TSM to backup the user data. I don't want to use the commands zfs send/receive. Regards, Florian
From: Richard B. Gilbert on 18 Jan 2010 10:49 none wrote: > Hello, > > > Does anyone know how I can backup the config data (with zfs properties) > of the ZFS Filesystem ? > > The background is when a ZFS Filesystem/Zpool is completely destroyed > (e.g rpool) I want easily recover the configuration data. After that I > can recover the user data. > > I use TSM to backup the user data. > I don't want to use the commands zfs send/receive. > > > Regards, > > Florian What about the commands you used to create the filesystem? If you wrote a script to create it, rerunning that script should recreate the file system. If you didn't write a script, do you remember the exact commands? What problem are you trying to solve?
From: Florian Faltermeier on 18 Jan 2010 11:20 Richard B. Gilbert schrieb: > none wrote: >> Hello, >> >> >> Does anyone know how I can backup the config data (with zfs >> properties) of the ZFS Filesystem ? >> >> The background is when a ZFS Filesystem/Zpool is completely destroyed >> (e.g rpool) I want easily recover the configuration data. After that I >> can recover the user data. >> >> I use TSM to backup the user data. >> I don't want to use the commands zfs send/receive. >> >> >> Regards, >> >> Florian > > What about the commands you used to create the filesystem? If you wrote > a script to create it, rerunning that script should recreate the file > system. If you didn't write a script, do you remember the exact commands? > > What problem are you trying to solve? Hello Richard, I can look in the zpool history. At every night I make a backup of the zpool history command and copy it to another machine. But this cannot be the best way. When I do a lot of things with the zfs/zpool commands the configuration is changing again and again. When the system comes down you have a lot to do with zfs commands. What I want is, that I copy every night the actual ZFS configuration (zfs properties, zpool properties, and so on) away. When the system crashes so I can say: "No problem. I have an actual backup of my zfs configuration". So I don't have to do a lot of things with the zfs commands (zpool create, zfs set,...) It was really good when there is for example a following feature # zpool backup config -f config.file # zpool restore config -f config.file Regards, Florian Thank you.
From: Ian Collins on 18 Jan 2010 13:56 Florian Faltermeier wrote: > Richard B. Gilbert schrieb: >> none wrote: >>> Hello, >>> >>> Does anyone know how I can backup the config data (with zfs >>> properties) of the ZFS Filesystem ? >>> >>> The background is when a ZFS Filesystem/Zpool is completely destroyed >>> (e.g rpool) I want easily recover the configuration data. After that >>> I can recover the user data. >>> >>> I use TSM to backup the user data. >>> I don't want to use the commands zfs send/receive. >> >> What about the commands you used to create the filesystem? If you >> wrote a script to create it, rerunning that script should recreate the >> file system. If you didn't write a script, do you remember the exact >> commands? >> >> What problem are you trying to solve? > > Hello Richard, > > I can look in the zpool history. At every night I make a backup of the > zpool history command and copy it to another machine. But this cannot be > the best way. When I do a lot of things with the zfs/zpool commands the > configuration is changing again and again. When the system comes down > you have a lot to do with zfs commands. Why can't you just do a recursive incremental send to to the other machine? -- Ian Collins
From: Florian Faltermeier on 19 Jan 2010 03:23 Ian Collins schrieb: > Florian Faltermeier wrote: >> Richard B. Gilbert schrieb: >>> none wrote: >>>> Hello, >>>> >>>> Does anyone know how I can backup the config data (with zfs >>>> properties) of the ZFS Filesystem ? >>>> >>>> The background is when a ZFS Filesystem/Zpool is completely >>>> destroyed (e.g rpool) I want easily recover the configuration data. >>>> After that I can recover the user data. >>>> >>>> I use TSM to backup the user data. >>>> I don't want to use the commands zfs send/receive. >>> >>> What about the commands you used to create the filesystem? If you >>> wrote a script to create it, rerunning that script should recreate >>> the file system. If you didn't write a script, do you remember the >>> exact commands? >>> >>> What problem are you trying to solve? >> >> Hello Richard, >> >> I can look in the zpool history. At every night I make a backup of the >> zpool history command and copy it to another machine. But this cannot >> be the best way. When I do a lot of things with the zfs/zpool commands >> the >> configuration is changing again and again. When the system comes down >> you have a lot to do with zfs commands. > > Why can't you just do a recursive incremental send to to the other machine? > Hello Ian, I think that zfs send/receive don't backup all zfs configurations. Regards, Florian
|
Next
|
Last
Pages: 1 2 Prev: How to use a dvd image to install Solaris 10 on E 250/E 450 Next: Import of zpool to two seperate hosts. |