Repository backups
From Puszcza Wiki
(Difference between revisions)
(Created page with "All repositories hosted on Puszcza are backed up on daily basis at 03:06 UTC. Backups are available for download via: * anonymous FTP from ftp://download.gnu.org.ua/pub/snaps...") |
|||
(2 intermediate revisions by one user not shown) | |||
Line 8: | Line 8: | ||
== Git Repositories == | == Git Repositories == | ||
− | Each Git repository is archived to <tt>''project''.''commit''.tar.gz</tt> | + | Each Git repository is archived to |
+ | |||
+ | <tt>''project''.''commit''.tar.gz</tt> | ||
+ | |||
+ | where ''commit'' is the latest commit ID (abbreviated to the first 8 digits). The file ''project''<tt>.latest.tar.gz</tt> is a symbolic link to that file. | ||
== SVN Repositories == | == SVN Repositories == | ||
Line 21: | Line 25: | ||
An exact copy of each CVS repository is provided in file ''project''.tar.gz. | An exact copy of each CVS repository is provided in file ''project''.tar.gz. | ||
+ | |||
+ | == Mercurial Repositories == | ||
+ | |||
+ | For each Mercurial repository, the following files are available (''rev'' stands for the latest revision number): | ||
+ | |||
+ | * <tt>''project''.''rev''.tar.gz</tt>: A gzipped tarball of the repository. | ||
+ | * <tt>''project''-snapshot.tar.gz</tt>: A snapshot, obtained by running <tt>hg archive --rev ''rev'' --type tgz</tt>. |
Latest revision as of 16:02, 20 March 2014
All repositories hosted on Puszcza are backed up on daily basis at 03:06 UTC. Backups are available for download via:
- anonymous FTP from ftp://download.gnu.org.ua/pub/snapshots/
- rsync gnu.org.ua::snapshots
The backup method and naming scheme depends on the type of the repository. In the discussion below, project stands for the system name of the project.
Contents |
[edit] Git Repositories
Each Git repository is archived to
project.commit.tar.gz
where commit is the latest commit ID (abbreviated to the first 8 digits). The file project.latest.tar.gz is a symbolic link to that file.
[edit] SVN Repositories
For each SVN repository, the following files are available (rev stands for the latest revision number):
- project.rev.dump.gz: A gzipped dump of the repository.
- project.dump.gz: A symbolic link to the above.
- project-snapshot.tar.gz: A snapshot, obtained by running svn export project/trunk and archiving it with tar -z.
[edit] CVS Repositories
An exact copy of each CVS repository is provided in file project.tar.gz.
[edit] Mercurial Repositories
For each Mercurial repository, the following files are available (rev stands for the latest revision number):
- project.rev.tar.gz: A gzipped tarball of the repository.
- project-snapshot.tar.gz: A snapshot, obtained by running hg archive --rev rev --type tgz.