Reputation: 898
I am trying to determine best practices for backing up a Git repo to S3 with SSH on OS X. Can anyone recommend software for doing so?
Upvotes: 1
Views: 593
Reputation: 1700
You can use mc tool for this:
mc mirror /path/gitrepo https://<bucket>.s3.amazonaws.com/gitrepo
If you make changes to the local repository you can run the mirror command again so that it can sync the changed files to S3.
Upvotes: 4