Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: hmuhammad on July 07, 2006, 10:19:41 PM
-
What am I doing wrong?
[root@server download]# rsync -avv rsync://mirror.contribs.org/smeserver/releases/7/iso/smeserver-7.0.iso .
opening tcp connection to distro.ibiblio.org port 873
Welcome to distro.ibiblio.org's rsync server!
You may mirror any of our distributions by using the "distros"
module. Simply append the name of the distribution you would
like to use. For example:
rsync -avr distro.ibiblio.org::distros/bluelinux/ /local/path/
If you will, please subscribe to our mirror announcement list:
http://lists.ibiblio.org/mailman/listinfo/ibiblio-mirrors
If you have problems or questions,
feel free to mail ftpkeeper@ibiblio.org
Thanks!
@ERROR: Unknown module 'pub'
rsync: connection unexpectedly closed (533 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(151)
[root@server download]#
-
Shouldn't the first part of the url be:
rsync://ftp.ibiblio.org/Linux/distribution etc. ?
Dave
-
I just call my iso image smeserver.iso. Copy your 7.0rc2 iso or whatever to smeserver.iso then run this command:
rsync -avv --stats rsync://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases/7/iso/smeserver.iso .
Lloyd
-
Jus did a test seems ok that way
rsync -avv --stats rsync://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases/7/iso/smeserver.iso .
finished transmission
[root@ns1 ~]# rsync -avv --stats rsync://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases/7/iso/smeserver.iso .
opening tcp connection to ftp.ibiblio.org port 873
opening connection using --server --sender -vvlogDtpr . pub/linux/distributions/smeserver/releases/7/iso/smeserver.iso
*** ATTENTION ***
We are currently in the process of moving mirrored content out to its
own server. If you are looking for a specific repository that had
previously existed here, it's probably over there. To obtain a list
of mirrored modules, run 'rsync mirrors.ibiblio.org::'.
Thanks,
ibiblio Admins, 28jan2005
*** We now return you to your regularly scheduled MOTD, in process ***
Welcome to the ibiblio rsync server!
If you have problems or questions, feel free to mail help@ibiblio.org.
If you will, please subscribe to our mirror announcement list:
http://lists.ibiblio.org/mailman/listinfo/ibiblio-mirrors
We offer these particular rsync modules simply because users
have asked for them. If you would like another archive offered
as an rsync module, please ask help@ibiblio.org.
Thanks!
receiving file list ...
done
delta-transmission enabled
smeserver.iso
rsync[4739] (receiver) heap statistics:
arena: 135168 (bytes from sbrk)
ordblks: 1 (chunks not in use)
smblks: 2
hblks: 2 (chunks from mmap)
hblkhd: 532480 (bytes from mmap)
allmem: 667648 (bytes from sbrk + mmap)
usmblks: 0
fsmblks: 80
uordblks: 85512 (bytes used)
fordblks: 49656 (bytes free)
keepcost: 49576 (bytes in releasable chunk)
rsync[4738] (generator) heap statistics:
arena: 135168 (bytes from sbrk)
ordblks: 1 (chunks not in use)
smblks: 2
hblks: 1 (chunks from mmap)
hblkhd: 266240 (bytes from mmap)
allmem: 401408 (bytes from sbrk + mmap)
usmblks: 0
fsmblks: 72
uordblks: 78880 (bytes used)
fordblks: 56288 (bytes free)
keepcost: 56216 (bytes in releasable chunk)
Number of files: 1
Number of files transferred: 1
Total file size: 485998592 bytes
Total transferred file size: 485998592 bytes
Literal data: 0 bytes
Matched data: 485998592 bytes
File list size: 48
Total bytes sent: 154500
Total bytes received: 89181
sent 154500 bytes received 89181 bytes 3227.56 bytes/sec
total size is 485998592 speedup is 1994.40
[root@ns1 ~]#
Jan :hammer:
-
I just call my iso image smeserver.iso. Copy your 7.0rc2 iso or whatever to smeserver.iso then run this command:
rsync -avv --stats rsync://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases/7/iso/smeserver.iso .
Lloyd
Yep... that worked for me!
Thanks,
Hasan
-
Hi Guys
I want to mirror the following http://ftp://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases/ to a directory on my sme server. The proble is I can't work out what coding to use. I also would lik it to check once a day to see if things have changed.
Can anyone help me with the coding and setup?
-
Hi Guys
I want to mirror the following http://ftp://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases/ to a directory on my sme server. The proble is I can't work out what coding to use. I also would lik it to check once a day to see if things have changed.
Can anyone help me with the coding and setup?
Put rsync -anvv --stats rsync://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases .
in a cron job.
-
Hi Guys
I want to mirror the following http://ftp://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases/ to a directory on my sme server. The proble is I can't work out what coding to use. I also would lik it to check once a day to see if things have changed.
Can anyone help me with the coding and setup?
This works for me:
rsync -avhP --del --stats rsync://ftp.ibiblio.org/Linux/distributions/smeserver/releases/ /home/e-smith/files/ibays/ibay_of_your_choice/html/releases/
I put this in a script in /etc/cron.daily and it runs every day to keep it synced.
Be prepared, just the /7 directory it's almost 4 gig of data.
-
Put rsync -anvv --stats rsync://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases .
in a cron job.
That won't actually transfer any files. the -n option is for a "dry run" to show what would have been transfered.
Description of the options I use:
-a = Archive
-v = Verbose (you can use this more than once for more output.)
-h = Make the numbers more human readable.
-P = Keep partialy transfered files (this will save bandwidth if your connection bombs.) and show progress.
--del = delete files that no longer exist on sender. This is necessary to keep your copy in perfect sync with the server. You should do this to keep yum working properly.
rsync has MANY, MANY options. man rsync will show them all.
-
How do I create a cron task???
-
How do I create a cron task???
There is a learning curve for customizing the smeserver, here is a good place to start...
Chapter 12. Getting to know how to customize the SME Server
...in this document...
http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/html/devguide.html
...has this exercise...
"Let us say that you wish to customize your server so that it runs a specified program every twenty minutes"
...to get you started.
happy hacking,
Hasan