Mirror issues?
Charles Chambers
cchamb2 at gmail.com
Thu Mar 19 12:15:38 UTC 2020
Here's the script at this point. I have two of them (one for cdimages, one
for packages), but they both work the same.
==================
while [ 1 ]
do
#Download archives
# rsync -a --progress --delete rsync://ubuntu.cs.utah.edu/ubuntu
/media/8TB/ubuntu-mirror
# rsync -a --progress --delete rsync://
mirrors.syringanetworks.net/ubuntu-archive /media/8TB/ubuntu-mirror
rsync -a --progress --delete rsync://mirror.arizona.edu/ubuntu
/media/8TB/ubuntu-mirror
chown -R charles:charles *
# Download ISO
# rsync -a --progress --delete rsync://cdimage.ubuntu.com/cdimage
/media/8TB/ubuntu-cdimage
# chown -R charles:charles *
# Check for errors/abends
if [ "$?" = "0" ] ; then
echo "rsync completed normally"
exit
else
echo "rsync failure. Retrying..."
sleep 600
fi
done
================
On Tue, Mar 17, 2020 at 4:03 PM Thomas Ward <teward at ubuntu.com> wrote:
> What specific RSync command are you using? When you use `*` it might
> cause issues, or if the filename is named `*` you're trying to rsync it
> will not work right either. Details about what command you're using
> **exactly** would be helpful.
>
> If you need it, I can bundle up my mirror sync scripts (I have one for
> cdimage and one for packages) and share them with you if you think that'd
> be helpful.
>
>
> Thomas
>
>
> On 3/17/20 8:49 AM, Charles Chambers wrote:
>
> I may or may not be having an issue with my connection.
>
> I mirror both the cdimages as well as packages.
>
> On both, rsync is failing, with the error message showing of:
>
> chown: cannot access ‘*’: No such file or directory
> rsync failure. Retrying...
>
> And nothing further happens.
>
> Control C on the session, restart it, and the same outcome.
>
> It's been in place for a few months while I figure out how to get a
> static IP and go public.
>
> Do I need to change anything?
>
>
>
>
--
Charlie
cchamb2 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-mirrors/attachments/20200319/6bc4309b/attachment.html>
More information about the ubuntu-mirrors
mailing list