Skip to content

jbaikge/repository-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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=<your key>
AWS_SECRET_ACCESS_KEY=<your other key>
AWS_REGION=<your region>
AWS_BUCKET=<bucket path, without s3://>

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

About

SVN repository backup to S3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages