Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jbaikge/repository-backup
- Owner: jbaikge
- License: mit
- Created: 2022-11-16T16:06:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-16T16:12:23.000Z (about 2 years ago)
- Last Synced: 2024-10-28T13:09:08.014Z (about 2 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```