From 45ba64cd92b2f2996a3e82d54905044265f1995c Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 18 Feb 2024 17:02:49 +0100 Subject: Some notes on backup drops --- topics/systems/backup-drops.gmi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'topics/systems/backup-drops.gmi') diff --git a/topics/systems/backup-drops.gmi b/topics/systems/backup-drops.gmi index 91631f6..191b185 100644 --- a/topics/systems/backup-drops.gmi +++ b/topics/systems/backup-drops.gmi @@ -112,6 +112,20 @@ chmod 0700 backup/bacchus/drop/ If auth.log says error: /dev/pts/11: No such file or directory on ssh, or received disconnect (...) disconnected by user we are good to go! +Note: at this stage it may pay to track the system log with + +``` +journalctl -u ssh -f +``` + +and, in a pinch, increase DEBUG output in sshd_config with + +``` +LogLevel DEBUG3 +``` + +In my case I had to disable PAM! + Next try sshfs ``` @@ -124,6 +138,10 @@ touch ~/mnt/dropserver/drop/HELLO And the remote directory should be ready for dropping files! +``` +rsync -vrltDP /export2/backup/borg/borg-tux01 ~/mnt/balg01/drop/ --delete +``` + To unmount the dir ``` -- cgit v1.2.3