Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4591

General discussion • RPi3 Bullseye - how to configure subversion?

$
0
0
Background
I have an RPi3B running Bullseye Server (no Desktop) on the company LAN and I want to use it as a supervisor to check that our version control system on Windows Server 2016 is doing its backups successfully.
The backups consists of nightly syncing the 10 repositories to a remote server running on an Ubuntu server in an off-site location.
The offsite subversion server is available via the Internet while the main server is not.

So on Windows we have a batch script that runs an svnsync operation on all repositories towards the off-site server.
This has been running for a number of years now and following a system crash we needed to read back the synced data and discovered that on one repository the sync had stopped about a year ago... :(

We managed to restore this from other backups but it highlighted that we really need to monitor the sync operations.

Monitoring Solution?

So in order to do that I have written a batch script that I can run on the RPi3B which runs an svn info call to retrieve the last revision on each repository on both subversion servers and compare and then if there is a difference run a website php script that alerts us of the problem.

So I can run the svn calls on the RPi3B and get the response I need if done on the command line.
But in that process it displays a login dialogue where it asks for the user's password....

This does not happen if I run the same command on say my own PC or the mirror svn server (Ubuntu), so apparently the subversion on my PC and the mirror server is configured differently than on the RPi3.

I understand that it asks the first time I connect to the remote server but the next time it should have cached it!

Question
How can I configure my subversion client on the RPi3B such that it caches the login password and does not ask when a command is issued?
(After the first time when I type it in)

Statistics: Posted by Bosse_B — Sun Jan 12, 2025 3:03 pm — Replies 0 — Views 61



Viewing all articles
Browse latest Browse all 4591

Trending Articles