Back-up differences. Raspberry Pi and Fedora

joe at craythorne.uk joe at craythorne.uk
Tue Sep 29 11:07:35 UTC 2020


I am using the 'backup to a central backup server with 7 day 
incremental' example to archive three separate computers to identically 
configured (apart from name) shares on a Western Digital 'MyBookLive' 
NAS which has rsync enabled. The backup from two Raspberry Pi Computers 
operates without a problem but the backup from a Fedora 32 computer 
fails with an 'unknown module Linux1' error message. The only difference 
between the code in the .sh module for all three computers is the name 
of the share(Linux1 for the Fedora Computer) and the home directory.

#~ #!/bin/sh

# This script does personal backups to a rsync backup server. You will 
end up
# with a 7 day rotating incremental backup. The incrementals will go
# into subdirectories named after the day of the week, and the current
# full backup goes into a directory called "current"
# tridge at linuxcare.com

HOME=/home/XXX

# directory to backup
BDIR=/

# excludes file - this contains a wildcard pattern per line of files to 
exclude
EXCLUDES=$HOME/Documents/exclude.txt

# the name of the backup machine
BSERVER=root at nnn.nnn.nnn.nnn

export RSYNC_PASSWORD=xxxxxxxx

########################################################################

BACKUPDIR=`date +%A`

OPTS="--force --ignore-errors --delete-excluded 
--exclude-from=/home/joe/Documents/exclude.txt
       --delete --backup --backup-dir=/$BACKUPDIR -a"

export PATH=$PATH:/bin:/usr/bin:/usr/local/bin

# the following line clears the last weeks incremental directory
[ -d $HOME/emptydir ] || mkdir $HOME/emptydir
rsync --delete -a $HOME/emptydir/ $BSERVER::Linux1/$BACKUPDIR/
rmdir $HOME/emptydir

# now the actual transfer
rsync $OPTS $BDIR $BSERVER::Linux1/current


Can anyone explain why this is happening please?

Joe Curtis



-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20200929/8ec5ef0e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: banner.png
Type: image/png
Size: 56980 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/rsync/attachments/20200929/8ec5ef0e/banner.png>


More information about the rsync mailing list