Changes

Jump to navigation Jump to search
26 bytes removed ,  22:19, 7 February 2011
m
Update rsync source
Line 25: Line 25:  
Add the following rsync job to the newly created template fragment. All directories we do not want to sync are disabled with the <tt>--exclude</tt> parameter except for the 'smeupdates' directory which we want to replicate:
 
Add the following rsync job to the newly created template fragment. All directories we do not want to sync are disabled with the <tt>--exclude</tt> parameter except for the 'smeupdates' directory which we want to replicate:
 
   # Rsync SME-Server updates to local repository at 21 minutes after the hour, every two hours. Standard output is deleted (> /dev/null)
 
   # Rsync SME-Server updates to local repository at 21 minutes after the hour, every two hours. Standard output is deleted (> /dev/null)
   21 */2  * * *  root /usr/bin/rsync -aHhimOSz --partial --timeout 300 --delay-updates --delete-after --delete --max-delete 1000 --exclude 'contribs/' --exclude 'mirrorlist/' --exclude 'obsolete/' --exclude 'testing/' --exclude 'iso/' --exclude 'smeaddons/' --exclude 'smecontribs/' --exclude 'smedev/' --exclude 'smeextras/' --exclude 'smeos/' --exclude 'smetest/' --exclude 'smeupdates-testing/' --exclude 'SRPMS/' ibiblio.org::Linux/distributions/smeserver /home/e-smith/files/ibays/repos/html/ > /dev/null
+
   21 */2  * * *  root /usr/bin/rsync -aHhimOSz --partial --timeout 300 --delay-updates --delete-after --delete --max-delete 1000 --exclude 'contribs/' --exclude 'mirrorlist/' --exclude 'obsolete/' --exclude 'testing/' --exclude 'iso/' --exclude 'smeaddons/' --exclude 'smecontribs/' --exclude 'smedev/' --exclude 'smeextras/' --exclude 'smeos/' --exclude 'smetest/' --exclude 'smeupdates-testing/' --exclude 'SRPMS/' distro.ibiblio.org::smeserver /home/e-smith/files/ibays/repos/html/ > /dev/null
    
To activate the new fragment:
 
To activate the new fragment:
Line 31: Line 31:     
{{Tip box|If you would want to see what directories are offered by ibiblio.org you can run the following command:
 
{{Tip box|If you would want to see what directories are offered by ibiblio.org you can run the following command:
   rsync ibiblio.org::Linux/distributions/smeserver/}}
+
   rsync distro.ibiblio.org::smeserver/}}
     
board
414

edits

Navigation menu