From: Cheng-Ling Lai Date: Thu, 16 Jul 2026 06:15:41 +0000 (+0800) Subject: Add a manpage for snapper-sync X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8677cf9e938f07625e3d71d4c8ee1c2e777ecd62;p=thirdparty%2Fsnapper.git Add a manpage for snapper-sync --- diff --git a/configure.ac b/configure.ac index f15bf28e..013a79c7 100644 --- a/configure.ac +++ b/configure.ac @@ -242,6 +242,7 @@ AC_CONFIG_FILES([ doc/snapperd.xml:doc/snapperd.xml.in doc/snapper-configs.xml:doc/snapper-configs.xml.in doc/snbk.xml:doc/snbk.xml.in + doc/snapper-sync.xml:doc/snapper-sync.xml.in doc/snapper-backup-configs.xml:doc/snapper-backup-configs.xml.in doc/snapper-zypp-plugin.xml:doc/snapper-zypp-plugin.xml.in doc/snapper-zypp-plugin.conf.xml:doc/snapper-zypp-plugin.conf.xml.in diff --git a/dists/debian/snapper-backup.manpages b/dists/debian/snapper-backup.manpages index f1f434ba..a937b71d 100644 --- a/dists/debian/snapper-backup.manpages +++ b/dists/debian/snapper-backup.manpages @@ -1,2 +1,3 @@ debian/tmp/usr/share/man/man8/snbk.8 +debian/tmp/usr/share/man/man8/snapper-sync.8 debian/tmp/usr/share/man/man5/snapper-backup-configs.5 diff --git a/doc/Makefile.am b/doc/Makefile.am index f6fe4220..640e3e10 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -4,7 +4,8 @@ if ENABLE_DOC -man_MANS = snapper.8 snapperd.8 snapper-configs.5 snbk.8 snapper-backup-configs.5 +man_MANS = snapper.8 snapperd.8 snapper-configs.5 \ + snbk.8 snapper-sync.8 snapper-backup-configs.5 if HAVE_PAM man_MANS += pam_snapper.8 diff --git a/doc/snapper-sync.xml.in b/doc/snapper-sync.xml.in new file mode 100644 index 00000000..c0791c91 --- /dev/null +++ b/doc/snapper-sync.xml.in @@ -0,0 +1,60 @@ + + + + + 2026-07-16 + + + + snapper-sync + 8 + 2026-07-16 + @VERSION@ + Filesystem Snapshot Management + + + + snapper-sync + Script to synchronize the highest snapshot number + + + + + snapper-sync + + + + + DESCRIPTION + snapper-sync is a script to synchronize the highest snapshot + number across the source and backup target devices, avoiding a potential snapshot + number collision after restoration. For details, please refer to the + + snbk8 + + documentation + + + + EXIT STATUS + Normally the exit status is 0. If an error occurred the exit status is 1. + + + + HOMEPAGE + http://snapper.io/ + + + + AUTHORS + Arvin Schnell aschnell@suse.com + + + + SEE ALSO + + snbk8 + + + + diff --git a/snapper.spec.in b/snapper.spec.in index b6974acd..53371e86 100644 --- a/snapper.spec.in +++ b/snapper.spec.in @@ -380,6 +380,7 @@ A backup program for snapshots created by snapper. %{_unitdir}/snapper-timeline.timer.d %{_unitdir}/snapper-timeline.timer.d/10-snapper-sync-override.conf %{_mandir}/*/snbk.8* +%{_mandir}/*/snapper-sync.8* %{_mandir}/*/snapper-backup-configs.5* %dir %{_datadir}/bash-completion %dir %{_datadir}/bash-completion/completions