02
2016-10-19
dev1
Frédéric Galusik
03
2016-10-19
dev1
%%mtime(%m/%d/%Y)
05
2016-10-19
dev1
%!target: man
06
2016-10-19
dev1
%!encoding: utf-8
07
2016-10-19
dev1
%!outfile: snaps.1
10
2016-10-19
dev1
= NOM =[nom]
12
2020-05-09
f
SNAPS - An OpenBSD admin utility to deal with -current base snapshot.
15
2016-10-19
dev1
= SYNOPSIS =[synopsis]
17
2016-10-19
dev1
**snaps** [//options//]
20
2016-10-19
dev1
= DESCRIPTION =[description]
22
2020-05-09
f
**snaps** helps you to see if you need and/or can upgrade your -current BASE and PACKAGES system to next snapshots. It can show you when your system has been upgraded, which BASE snapshot you are using and compare it to your //$MIRROR// freshness in order to let you choose to run **sysupgrade** or not.
23
2020-05-09
f
If you need to, it can also ckeck available mirrors and show you their BASE and PACKAGES build dates.
24
2020-05-09
f
Moreover, you can also read the online FAQ **Following -current and using snapshots** and see if you have to make some tweaks.
25
2020-05-09
f
Nevertheless, //curl// and //links// (or //lynx//) from packages, are mandatory to run **snaps**.
28
2016-10-19
dev1
= GENERAL OPTIONS =[general-options]
31
2016-10-19
dev1
Print help and exit. It also print the content of the
32
2017-04-17
dev1
//$MIRROR// variable based upon ///etc/installurl// for a quick look.
35
2020-05-09
f
Check your BASE snapshot and your //$MIRROR// BASE and PACKAGES build dates to let you choose to run **sysupgrade -s** or not.
38
2021-12-04
dev
Check your BASE snapshot and BASE and PACKAGES build dates from //$MIRROR//.
41
2020-05-09
f
Check BASE and PACKAGES build dates from all available online mirrors.
44
2020-05-09
f
List date and download places of the 3 last //-s// from
45
2016-10-19
dev1
/var/log/snaps.log.
48
2020-05-09
f
Read the online FAQ : Following -current and using snapshots.
51
2016-10-19
dev1
Upgrade snaps to the last release.
54
2020-05-09
f
Update the ports tree to -current.
57
2016-10-19
dev1
= COMMAND LINE USAGE =[command-line-usage]
59
2020-05-09
f
Here is an usage example:
61
2020-05-09
f
: **MIRROR=http://another/openbsd/mirror/pub/OpenBSD doas snaps -s**
62
2017-04-17
dev1
Bypass your ///etc/installurl// file and manually setup the //$MIRROR//
63
2017-04-17
dev1
variable. Note that you have to indicate the root of the //$MIRROR// followed
64
2020-05-09
f
by **/pub/OpenBSD** (no **/** at the end). This one have to follow the OpenBSD directory layout. Moreover, in order to play with //$MIRROR//, **doas** have to be setup with the //keepenv// option.
67
2016-10-19
dev1
= WEBSITE =[website]
69
2021-12-04
dev
https://dev.galusik.fr/cgi-bin/gotweb/gotweb?path=snaps.git&action=summary
72
2016-10-19
dev1
= AUTHOR =[author]
74
2016-10-19
dev1
Frédéric Galusik
77
2016-10-19
dev1
= SEE ALSO =[see-also]
79
2020-05-09
f
**sysupgrade**(8), **sysmerge**(8), **pkg_add**(1)