Date: Wed, 21 Sep 2022 01:47:18 +0100 From: Graham Perrin <grahamperrin@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: Good practices with bectl Message-ID: <35f04731-8daa-53de-d28a-96bae81146ca@freebsd.org> In-Reply-To: <CAFDf7UL42z-m9P-gp6eY-orwcPz_UdJpiAM3ab-z4XLbY0LOdg@mail.gmail.com> References: <CAFDf7UL42z-m9P-gp6eY-orwcPz_UdJpiAM3ab-z4XLbY0LOdg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------HuzgY0vvUXdVgEIsK19IOP3a Content-Type: multipart/mixed; boundary="------------ZwgkQ2ZS04o20aPlM0WPVNHX"; protected-headers="v1" From: Graham Perrin <grahamperrin@freebsd.org> To: freebsd-current@freebsd.org Message-ID: <35f04731-8daa-53de-d28a-96bae81146ca@freebsd.org> Subject: Re: Good practices with bectl References: <CAFDf7UL42z-m9P-gp6eY-orwcPz_UdJpiAM3ab-z4XLbY0LOdg@mail.gmail.com> In-Reply-To: <CAFDf7UL42z-m9P-gp6eY-orwcPz_UdJpiAM3ab-z4XLbY0LOdg@mail.gmail.com> --------------ZwgkQ2ZS04o20aPlM0WPVNHX Content-Type: multipart/alternative; boundary="------------SmvYqTt8crcNPOuLhnFfA0BY" --------------SmvYqTt8crcNPOuLhnFfA0BY Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjAvMDkvMjAyMiAyMzoxNCwgTnVubyBUZWl4ZWlyYSB3cm90ZToNCg0KPiBIZWxsbyB0 byBhbGwsDQo+DQo+IEkgd2lsbCB1c2UgYmVjbCBmb3IgdGhlIGZpcnN0IHRpbWUgZm9yIGN1 cnJlbnQgdXBncmFkZXMuDQo+IEp1c3QgdG8gY2hlY2sgdGhhdCBJJ20gdGhpbmtpbmcgY29y cmVjdGx5Og0KPg0KPiBDcmVhdGUgYSB0ZXN0IGVudmlyb25tZW50IGZvciB1cGdyYWRlOg0K PiA+IGJlY3RsIGNyZWF0ZSAtciB0ZXN0IChzaG91bGQgSSB1c2UgJy1yJz8pDQo+IEFjdGl2 YXRlIHRlc3Q6DQo+ID4gYmVjdGwgYWN0aXZhdGUgdGVzdA0KPiA+IHJlYm9vdA0KPiAuLi4N Cj4gPiB1cGdyYWRlIE9TIG9uIHRlc3QNCj4g4oCmDQpJZiB1c2luZyBmcmVlYnNkLXVwZGF0 ZSg4KSB0byBwZXJmb3JtIHRoZSB1cGdyYWRlOiBwbGVhc2UgYmUgYXdhcmUgdGhhdCwgDQp3 aXRoIHJlY2VudCByZWxlYXNlcyBvZiB0aGUgT1MsIHRoZXJlJ3MgYXV0b21hdGVkIGNyZWF0 aW9uIG9mIGEgc25hcHNob3QgDQpvZiBhIGJvb3QgZW52aXJvbm1lbnQuDQoNCjxodHRwczov L3d3dy5mcmVlYnNkLm9yZy9jZ2kvbWFuLmNnaT9xdWVyeT1mcmVlYnNkLXVwZGF0ZS5jb25m JnNla3Rpb249NSZtYW5wYXRoPUZyZWVCU0Q+LCANCkNyZWF0ZUJvb3RFbnYNCg0KT21pdHRl ZCBmcm9tIHJlbGVhc2Ugbm90ZXM7IHNvcnJ5Lg0KDQo= --------------SmvYqTt8crcNPOuLhnFfA0BY Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html data-lt-installed=3D"true"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF= -8"> </head> <body> <p>On 20/09/2022 23:14, Nuno Teixeira wrote:<br> </p> <blockquote type=3D"cite" cite=3D"mid:CAFDf7UL42z-m9P-gp6eY-orwcPz_UdJpiAM3ab-z4XLbY0LOdg@mail.gmai= l.com"> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DU= TF-8"> <div dir=3D"ltr"> <div>Hello to all,</div> <div><br> </div> <div>I will use becl for the first time for current upgrades.</di= v> <div>Just to check that I'm thinking correctly:</div> <div><br> </div> <div>Create a test environment for upgrade:</div> <div>> bectl create -r test (should I use '-r'?)<br> </div> <div>Activate test:</div> <div>> bectl activate test</div> <div>> reboot<br> </div> <div>...</div> <div>> upgrade OS on test</div> =E2=80=A6<br> </div> </blockquote> If using freebsd-update(8) to perform the upgrade: please be aware that, with recent releases of the OS, there's automated creation of a snapshot of a boot environment. <br> <p><a class=3D"moz-txt-link-rfc2396E" href=3D"https://www.freebsd.org= /cgi/man.cgi?query=3Dfreebsd-update.conf&sektion=3D5&manpath=3DFr= eeBSD"><https://www.freebsd.org/cgi/man.cgi?query=3Dfreebsd-update.con= f&sektion=3D5&manpath=3DFreeBSD></a>, CreateBootEnv</p> <p>Omitted from release notes; sorry. <br> </p> </body> <lt-container></lt-container> </html> --------------SmvYqTt8crcNPOuLhnFfA0BY-- --------------ZwgkQ2ZS04o20aPlM0WPVNHX-- --------------HuzgY0vvUXdVgEIsK19IOP3a Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmMqXxYFAwAAAAAACgkQt2dIb0oY1Av7 Cw/+INFLHMp8T/8GRTeZIADPjE7ZF1rnUaH44gbrWcVcNppQWXoQseWbKAMjcLgj8u80NCQrmfB+ pNBQBaW2/3tdNq03cVmEeXgRpuX3m950lSgVfmV+4J/qlRHtRUHFxXxrHNQQUfDocffzqZAh+EI1 dXSkZDbEK4fhg66JKyRU+IfopOqkU4nW/Iqmp1023H2VjHh3h4i4tpZIHIjybyC43HS+rX6PS30v K6t5wOtqSkzOB3sR/OrtrNQfi3gZRZsWq8ZYJB+sfycFV3oxPKL7molYM4gsiLVCy1biejA+3RVj GD5nhftxYtWZa01vsBck26j9m1mS1Zp6RxzS5r1IXREn/inh90Z4Dmw0F0mWmruh4nx/5C7Iz70d 5+h1ssqritdNZqJqL5qMLX9G6rLNzEAL7A2GxXMoigPjUpPsdI+e8b1sMat5XCgqsc9PKyzuMskd 5/0+U1gPZesR3cXiQ3kKm80YNNr3xkSIC+aQo6sZ96SKGX//Fqs8jv0/AT+YDNKFeGJfiBq3siKy pP9u6VLVbzm9h43Yk2Hu2vlWTEpTF1uFeo9vQkbZmpbXc9OLAnkQytIserA6VPEGnXVPTQv8kd0j PHguczlCWHf7+/HoURkG5VP0AeTlOKRNNHy1Oso6sWBOtb+3lDmId4x4qu4QmVLiTwNy7trX9GY/ 3rk= =xK8p -----END PGP SIGNATURE----- --------------HuzgY0vvUXdVgEIsK19IOP3a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35f04731-8daa-53de-d28a-96bae81146ca>