01
2017-04-17
dev1
.TH "SNAPS" 1 "04/17/2017" "Frédéric Galusik"
07
2016-10-19
dev1
SNAPS \- An OpenBSD admin utility to upgrade to last \-current base snapshot.
09
2016-10-19
dev1
.SH SYNOPSIS
12
2016-10-19
dev1
\fBsnaps\fR [\fIoptions\fR]
14
2016-10-19
dev1
.SH DESCRIPTION
17
2016-10-19
dev1
\fBsnaps\fR will help you to download the needed \fBbsd.rd\fR, check it and move it to
18
2016-10-19
dev1
the right place before rebooting. A backup of your last bsd.rd is made. All
19
2016-10-19
dev1
steps are verbose. It can be run with only the base system. Nevertheless if you
20
2016-10-19
dev1
install \fIcurl\fR from packages, it will check your \fI$MIRROR\fR build date of
21
2016-10-19
dev1
base and packages. You will be able to decide if you want to do the update right now
22
2016-10-19
dev1
or wait for the synchronicity of the two directories.
24
2016-10-19
dev1
.SH GENERAL OPTIONS
27
2016-10-19
dev1
\fB\-h\fR
28
2016-10-19
dev1
Print help and exit. It also print the content of the
29
2017-04-17
dev1
\fI$MIRROR\fR variable based upon \fI/etc/installurl\fR for a quick look.
32
2016-10-19
dev1
\fB\-g\fR
33
2016-10-19
dev1
Fetch and check (SHA256 and signify) bsd.rd from \fI$MIRROR\fR (no need
34
2016-10-19
dev1
to be root for that one).
37
2016-10-19
dev1
\fB\-G\fR
38
2016-10-19
dev1
Fetch, check bsd.rd from \fI$MIRROR\fR then, move it to the right place,
39
2016-10-19
dev1
backup your last bsd.rd, print some reminders and reboot.
42
2016-10-19
dev1
\fB\-p\fR
43
2016-10-19
dev1
Update your \fI\-current\fR port tree.
46
2016-10-19
dev1
\fB\-l\fR
47
2016-10-19
dev1
List date and download places of the 3 last \fI\-G\fR from
48
2016-10-19
dev1
/var/log/snaps.log.
51
2016-10-19
dev1
\fB\-u\fR
52
2016-10-19
dev1
Upgrade snaps to the last release.
54
2016-10-19
dev1
.SH COMMAND LINE USAGE
57
2016-10-19
dev1
Here are some usage examples:
60
2017-04-17
dev1
\fBMIRROR=http://another/openbsd/mirror/pub/OpenBSD doas snaps \-G\fR
61
2017-04-17
dev1
Bypass your \fI/etc/installurl\fR file and manually setup the \fI$MIRROR\fR
62
2017-04-17
dev1
variable. Note that you have to indicate the root of the \fI$MIRROR\fR followed
63
2017-04-17
dev1
by \fB/pub/OpenBSD\fR (no \fB/\fR at the end).
64
2016-10-19
dev1
This one have to follow the OpenBSD directory layout. Moreover, in order to play
65
2016-10-19
dev1
with \fIMIRROR\fR, \fBdoas\fR have to be setup with the \fIkeepenv\fR option.
67
2016-10-19
dev1
.SH WEBSITE
70
2016-10-19
dev1
https://framagit.org/fredg/snaps
72
2016-10-19
dev1
.SH AUTHOR
75
2016-10-19
dev1
Frédéric Galusik
77
2016-10-19
dev1
.SH SEE ALSO
80
2016-10-19
dev1
\fBsysmerge\fR(8), \fBpkg_add\fR(1)
82
2016-10-19
dev1
.\" man code generated by txt2tags 2.6 (http://txt2tags.org)
83
2016-10-19
dev1
.\" cmdline: txt2tags snaps.t2t