🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3081

Bug#1142081: marked as done (sqlite3-tools: please package sqlite3_rsync)

#3081
From: Job Snijders
Date: Mon, 02 Nov 2026 22:50
156 lines
5904 bytes
--f3HUvjO0tg0SunVT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Dear Laszlo,

Thank you for adding sqlite3_rsync to now also be part of the binary package.

Small request - perhaps it is good to also include a man page for sqlite3_rsync?

The Debian package already contains sqlite3_analyzer.1 and sqldiff.1, so
adding sqlite3_rsync.1 seems consistent, right? :-)

The diff I sent before already included a man page: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142081&pow_referer=#15

For your convenience I have attached just the man page itself to this email.

	Files: debian/sqlite3_rsync.1
	Copyright: 2026 Job Snijders Aq job@bsd.nl
	License: public-domain

May I ask you to include the (human written!) man page?

Kind regards,

Job

--f3HUvjO0tg0SunVT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=sqlite3_rsync.1

.Dd 2026-08-24
.Dt SQLITE3_RSYNC 1
.Os "Debian GNU/Linux"
.Sh NAME
.Nm sqlite3_rsync
.Nd SQLite3 database remote-copy tool
.Sh SYNOPSIS
.Nm
.Ar ORIGIN
.Ar REPLICA
.Op Fl -exe Ar PATH
.Op Fl -help
.Op Fl p|--port Ar PORT
.Op Fl -protocol Ar N
.Op Fl -ssh Ar PATH
.Op Fl v
.Op Fl -version
.Op Fl -wal-only
.Sh DESCRIPTION
.Nm
makes
.Ar REPLICA
into a copy of
.Ar ORIGIN .
If
.Ar REPLICA
does not already exist, it is created.
.Pp
One of
.Ar ORIGIN
or
.Ar REPLICA
is a pathname to a database on the local machine and the other is of the form
.Dq USER@HOST:PATH
describing a database on a remote machine.
At least one of
.Ar ORIGIN
or
.Ar REPLICA
must be on the local machine.
It is not required that one of
.Ar ORIGIN
or
.Ar REPLICA
be remote, local copy works fine too.
.Pp
The synchronization uses a bandwidth-efficient protocol, similar to
.Xr rsync 1
(from which its name is derived).
The
.Xr ssh 1
program is used for communication, so
.Dq USER@HOST
may be an SSH alias.
.Pp
Both databases may be
.Dq live
while this utility is running.
Other programs can have active connections to the databases on either end while this utility is running.
Other programs can write to
.Ar ORIGIN
and can read from
.Ar REPLICA
while this utility runs.
.Pp
.Ar REPLICA
becomes a copy of a snapshot of
.Ar ORIGIN
as it existed when the
.Nm
command started.
If other processes change the content of
.Ar ORIGIN
while this command is running, those changes will be applied to
.Ar ORIGIN ,
but they are not transferred to
.Ar REPLICA .
Thus,
.Ar REPLICA
ends up as a fully-consistent snapshot of
.Ar ORIGIN
at an instant in time.
.Pp
See
.Lk https://sqlite.org/rsync.html
for a more detailed description.
.Sh OPTIONS
.Bl -tag -width indent
.It Fl -exe Ar PATH
Name of the
.Nm
program on the remote side.
.It Fl -help
Show help screen.
.It Fl p|--port Ar PORT
Run SSH over TCP port
.Ar PORT
instead of the default 22.
.It Fl -protocol Ar N
Use sync protocol version
.Ar N .
.It Fl -ssh Ar PATH
Name of the SSH program used to reach the remote side.
.It Fl v
Verbose.
Specify
.Fl v
multiple times for increasing output.
.It Fl -version
Show detailed version information.
.It Fl -wal-only
Do not sync unless both databases are in
.Em WAL
mode.
.El
.Sh AUTHOR
.Nm
has been written by
.An D. Richard Hipp Aq drh@hwaci.com .
.Pp
This manual page was written by
.An Job Snijders Aq job@bsd.nl
for the Debian GNU/Linux system.

--f3HUvjO0tg0SunVT--
Technical Details
Message-ID: <NV90J-9ugU-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NV90J-9ugU-5@gated-at.bofh.it> <NgV2W-4MxE-5@gated-at.bofh.it> <NV90J-9ugU-7@gated-at.bofh.it> <NgV2W-4MxE-5@gated-at.bofh.it> <NV90J-9ugU-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Job Snijders <job@bsd.nl>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1142081: marked as done (sqlite3-tools: please package sqlite3_rsync)
Date: Mon, 02 Nov 2026 23:50:01 +0100
Message-ID: <NV90J-9ugU-3@gated-at.bofh.it>
References: <NV90J-9ugU-5@gated-at.bofh.it> <NgV2W-4MxE-5@gated-at.bofh.it> <NV90J-9ugU-7@gated-at.bofh.it> <NgV2W-4MxE-5@gated-at.bofh.it> <NV90J-9ugU-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov  2 22:47:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Job Snijders <job@bsd.nl>, 1142081@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: gcs@debian.org
X-Debian-Pr-Message: followup 1142081
X-Debian-Pr-Package: sqlite3-tools
X-Debian-Pr-Source: sqlite3
X-Cm-Envelope: MS4xfF5t2hcHC/n+hStD6WDaNUMXnAYpQyIAtklne1gewoeiJe2bbe8IJyNbYFf3P8HC7B4cYmqUF4YU28cSB7KSoV4EHSq1Nk/LAV0ElqH4FmgJ9gP5EMAy ONu94GhSvXz4ZpO47YugsqnePZVCPVFNjmG5Kfpm6lClVTaN/BzdzdeoMcz/6YaR+yqAbNNySJwTuOdFMXXK/PrSbrXsReOkyj+EH2qbY6UDGAf1DPSToOFn
X-Soverin-ID: 01a19e68-aab0-7f49-a01b-99f1de2de22c
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="f3HUvjO0tg0SunVT"
Content-Disposition: inline
X-Clacks-Overhead: GNU Erik Bais
X-Spampanel-Class: ham
X-Greylist: delayed 447 seconds by postgrey-1.37 at buxtehude; Mon, 02 Nov 2026 22:44:33 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000316
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 156
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Laszlo Boszormenyi <gcs@debian.org>
X-Original-Date: Mon, 2 Nov 2026 22:37:00 +0000
X-Original-Message-ID: <aukQjFkGJZEDUGp1@feather.sobornost.net>
X-Original-References: <E1xO0BE-0000000AddM-3T77@fasolo.debian.org> <20260714233550.M171022@dcvr> <handler.1142081.D1142081.17936572251136047.ackdone@bugs.debian.org> <20260714233550.M171022@dcvr> <handler.1142081.D1142081.17936572251136047.ackdone@bugs.debian.org>