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

https://github.com/maxfi/bitbucket-mirror-backup-script

Based on https://bitbucket.org/bibsonomy/bitbucket-backup-script
https://github.com/maxfi/bitbucket-mirror-backup-script

Last synced: 10 months ago
JSON representation

Based on https://bitbucket.org/bibsonomy/bitbucket-backup-script

Awesome Lists containing this project

README

          

# bitbucket-mirror-backup-script
Based on https://bitbucket.org/bibsonomy/bitbucket-backup-script

## How to use

Add the following to your crontab using `crontab -e`:

```sh
45 4 * * * USER_NAME='your_username' PASSWORD='your_password' BACKUP_LOCATION=/home/ubuntu/bitbucket-backups /home/ubuntu/bitbucket-backups/backup-bitbucket.sh >> /home/ubuntu/bitbucket-backups/backup.log 2>&1
```

## References
* https://help.github.com/articles/duplicating-a-repository/
* http://blog.plataformatec.com.br/2013/05/how-to-properly-mirror-a-git-repository/