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
- Host: GitHub
- URL: https://github.com/maxfi/bitbucket-mirror-backup-script
- Owner: maxfi
- Created: 2016-07-06T17:45:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-21T00:20:42.000Z (almost 5 years ago)
- Last Synced: 2025-01-13T09:37:32.147Z (11 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/