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>
On 9/29/20 7:07 AM, joe--- via rsync wrote:> unknown module Linux1This would imply that "Linux1" is not defined in the rsyncd.conf file on the backup server. Of course since it is a NAS appliance I don't know if you have any access to the config file. 1 check you could run is 'rsync root at server::'. This would list the modules the server is configured with (assuming listing is allowed). -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. Kevin at FutureQuest.net (work) Orlando, Florida kmk at sanitarium.net (personal) Web page: https://sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/rsync/attachments/20200929/c77d3fb4/signature.sig>