Skip to content

A Bash shell script for backing up Mercurial repositories from a Mercurial server to an Amazon S3 bucket.

Notifications You must be signed in to change notification settings

sasabrkic/s3backup-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# Description

This is a Bash shell script that is mainly intended for backing up Mercurial repositories from a Mercurial server to an Amazon S3 bucket.

Currently, the script only works on Red Hat based distributions.

The script executes following:

1. Stops the Apache server
2. Copies repositories to a working directory
3. Starts the Apache server
4. Packages (tar.gz) repositories to a date stamped archive
5. Uploads the archive to an Amazon S3 bucket

You need to have s3cmd installed and configured on your system.

About

A Bash shell script for backing up Mercurial repositories from a Mercurial server to an Amazon S3 bucket.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages