Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jbaikge/repository-backup

SVN repository backup to S3
https://github.com/jbaikge/repository-backup

Last synced: 9 days ago
JSON representation

SVN repository backup to S3

Awesome Lists containing this project

README

        

# SVN Repository Backup

Backs up a directory full of subversion repositories to S3. Configuration for automatic backups is outlined below.

## Configuration

Create a file in /etc/repository-backup.conf with the following contents:

```
AWS_ACCESS_KEY=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_BUCKET=
```

## Timer

```
[Unit]
Description=Daily Repository Backup

[Timer]
OnCalendar=*-*-* 01:30:00

[Install]
WantedBy=timer.target
```

## Service

```
[Unit]
Description=Repository Backup

[Service]
Type=oneshot
ExecStart=/usr/local/bin/repository-backup
```