Closed jsilhan closed 8 years ago
use this url to sync files for example: http://fr2.rpmfind.net/linux/fedora/linux/updates/23/x86_64
on server, newest files are in local
dir and backed-up files are in backup/{date-timestamp}
dirs. Job is executed every 30 minutes (if there are changes).
gzip --rsyncable
backup/yyyy-mm-dd/x/
where x is a serial number of backup e.g. backup/2016-04-01/0/
for the first backup files.repack files with gzip --rsyncable
this part is tricky, you would need to fix the checksums in repomd.xml
to the new ones afterwards.
this part is tricky, you would need to fix the checksums in repomd.xml to the new ones afterwards.
I hope that only librepo uses those checksums after download and as we bi-passed it there should be no need for this.
Ok, I merged this with slightly changed location and name of the script. Please setup your editor to trim trailing whitespaces ;-).
depends on #1