README.md 1.48 KB
Newer Older
Seblu's avatar
Seblu committed
1 2
Arch Linux Archive Tools
========================
Seblu's avatar
Seblu committed
3 4 5

Introduction
------------
Seblu's avatar
Seblu committed
6
**archivetools** is the project used to run the [Arch Linux Archive](https://wiki.archlinux.org/index.php/Arch_Linux_Archive). It's a turnkey solution to snapshot [Arch Linux](https://www.archlinux.org) packages repositories, ISOs images and boostrap tarballs. You can deploy one for your own needs.
Seblu's avatar
Seblu committed
7

Matthew Gamble's avatar
Matthew Gamble committed
8
The **Archive** is built by rsync'ing [rsync.archlinux.org](rsync://rsync.archlinux.org), or its mirrors, each day. *Rsync* features are used to transfer only the diff of new data from the previous snapshot and files are stored once with use of hardlinks.
Seblu's avatar
Seblu committed
9 10 11 12 13 14 15 16

Installation
------------
Create a pacman package and install it.

```
cd archivetools
makepkg -i
17
systemctl enable archive.timer
Seblu's avatar
Seblu committed
18 19
```

Seblu's avatar
Seblu committed
20 21 22 23 24 25 26 27 28
Debug
-----
```
cd archivetools
export DEBUG=1
export ARCHIVE_CONFIG=archive.conf.test
./archive.sh
```

Seblu's avatar
Seblu committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
Dependencies
------------
- [Bash](http://www.gnu.org/software/bash/bash.html)
- [Rsync](http://rsync.samba.org/)
- [Hardlink](http://jak-linux.org/projects/hardlink/)
- [xz](http://tukaani.org/xz/)
- [util-linux](https://www.kernel.org/pub/linux/utils/util-linux/)

Sources
-------
**archivetools** sources are available on [github](https://github.com/seblu/archivetools/).

License
-------
**archivetools** is licensied under the term of [GPL v2](http://www.gnu.org/licenses/gpl-2.0.html).

Author
------
Matthew Gamble's avatar
Matthew Gamble committed
47
**archivetools** was started by *Sébastien Luttringer* in August 2013 to replace the former *Arch Linux Rollback Machine* service.