{"id":26491636,"url":"https://github.com/edisedis777/tableau-backup-tool","last_synced_at":"2026-04-10T23:13:17.594Z","repository":{"id":278597411,"uuid":"936151359","full_name":"edisedis777/Tableau-Backup-Tool","owner":"edisedis777","description":"An automated tool for backing up Tableau workbooks and datasources to Git, featuring parallel processing, progress tracking, and smart file handling.","archived":false,"fork":false,"pushed_at":"2025-05-02T04:57:19.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-02T05:28:48.482Z","etag":null,"topics":["backup-tool","git","python","tableau","tableau-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edisedis777.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-20T15:59:23.000Z","updated_at":"2025-05-02T04:57:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"edb0229c-943f-45ac-88d4-0b72af50dc94","html_url":"https://github.com/edisedis777/Tableau-Backup-Tool","commit_stats":null,"previous_names":["edisedis777/tableau-backup-tool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edisedis777/Tableau-Backup-Tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edisedis777%2FTableau-Backup-Tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edisedis777%2FTableau-Backup-Tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edisedis777%2FTableau-Backup-Tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edisedis777%2FTableau-Backup-Tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edisedis777","download_url":"https://codeload.github.com/edisedis777/Tableau-Backup-Tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edisedis777%2FTableau-Backup-Tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009394,"owners_count":26084580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup-tool","git","python","tableau","tableau-server"],"created_at":"2025-03-20T08:49:58.634Z","updated_at":"2025-10-11T23:32:55.448Z","avatar_url":"https://github.com/edisedis777.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tableau-Backup-Tool\n[![Visual Studio Code](https://custom-icon-badges.demolab.com/badge/Visual%20Studio%20Code-0078d7.svg?logo=vsc\u0026logoColor=white)](#)\n[![Python](https://img.shields.io/badge/Python-3776AB?logo=python\u0026logoColor=fff)](#)\n![Git](https://img.shields.io/badge/git-%23F05033.svg?style=for-the-badge\u0026logo=git\u0026logoColor=white)\n![Tableau](https://img.shields.io/badge/Tableau-Data%20Visualization-E97627?logo=tableau\u0026logoColor=white)\n[![Markdown](https://img.shields.io/badge/Markdown-%23000000.svg?logo=markdown\u0026logoColor=white)](#)\n\nAn automated tool for backing up Tableau workbooks and datasources to Git, featuring parallel processing, progress tracking, and smart file handling.\n\n## Features\n- **Automated Backup**: Automatically downloads and backs up all Tableau workbooks and datasources\n- **Git Integration**: Seamlessly integrates with Git for version control\n- **Parallel Processing**: Uses multi-threading for faster downloads\n- **Smart File Handling**: Checks file hashes to avoid unnecessary downloads\n- **Progress Tracking**: Visual progress bars for all operations\n- **Configurable**: Flexible configuration through YAML and environment variables\n- **Cross-Platform**: Works on Windows, Linux, and macOS\n- **Detailed Logging**: Comprehensive logging system for monitoring and debugging\n\n## Prerequisites\n- Python 3.7+\n- Git\n- Tableau Server access\n- Git repository for backups\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/tableau-backup-tool\ncd tableau-backup-tool\n```\n\n2. Install required packages:\n```bash\npip install -r requirements.txt\n```\n\n## Configuration\n\n### Environment Variables\n\nCreate a `.env` file in the project root:\n\n```env\nTABLEAU_USERNAME=your_username\nTABLEAU_PASSWORD=your_password\nTABLEAU_SERVER=your_server_url\nGIT_REPO=your_repo_url\nGIT_AUTHOR_NAME=your_name\nGIT_AUTHOR_EMAIL=your_email\n```\n\n### Configuration File\n\nThe tool uses a `config.yaml` file for settings. A default one will be created if not present:\n\n```yaml\ntableau_server: https://tableau.server.com\ngit_repo: https://git.user.com/projects/test_proj\nbase_dir: Tableau_Projects\ngit_author:\n  name: User\n  email: user@outlook.com\nmax_workers: 4\noverwrite_existing: false\n```\n\n## Usage\n\nRun the backup tool:\n\n```bash\npython tableau-backup.py --config config.yaml\n```\n\n### Command Line Arguments\n\n- `--config`: Path to configuration file (default: config.yaml)\n\n## Project Structure\n\n```\ntableau-backup-tool/\n├── tableau-backup.py     # Main script\n├── config.yaml           # Configuration file\n├── requirements.txt      # Python dependencies\n└── README.md             # This file\n```\n\n## How It Works\n\n1. **Authentication**: Connects to Tableau Server using provided credentials\n2. **Project Discovery**: Maps the project hierarchy and content\n3. **Parallel Download**: Downloads workbooks and datasources using multiple threads\n4. **Git Integration**: Commits and pushes changes to the specified repository\n5. **Cleanup**: Performs necessary cleanup operations\n\n## Features in Detail\n\n### Parallel Processing\n- Uses ThreadPoolExecutor for concurrent downloads\n- Configurable number of worker threads\n- Progress tracking for parallel operations\n\n### Smart File Handling\n- MD5 hash checking for change detection\n- Skip unchanged files\n- Optional file overwrite control\n\n### Logging System\n- Detailed logging to both file and console\n- Different log levels for various operations\n- Timestamp and category information\n\n### Error Handling\n- Comprehensive error catching and reporting\n- Graceful failure handling\n- Automatic cleanup on failure\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## Dependencies\n\n```\ntableauserverclient\ngitpython\npyyaml\npython-dotenv\ntqdm\npathlib\n```\n\n## Error Codes\n\nCommon error codes and their meanings:\n\n- `E001`: Authentication failure\n- `E002`: Download permission denied\n- `E003`: Git repository error\n- `E004`: Configuration error\n- `E005`: Network connection error\n\n## Troubleshooting\n\n### Common Issues\n\n1. **Authentication Failures**\n   - Verify credentials in `.env` file\n   - Check Tableau Server URL\n   - Ensure proper permissions\n\n2. **Git Issues**\n   - Verify Git repository access\n   - Check Git credentials\n   - Ensure proper repository structure\n\n3. **Download Failures**\n   - Check network connection\n   - Verify content permissions\n   - Ensure sufficient disk space\n\n## License\n\nDistributed under the GNU Affero General Public License v3.0 License. See `LICENSE` for more information.\n\n\n## Credits\n- Tableau Server Client library\n- GitPython contributors\n- TQDM progress bar library\n\n\u003cdiv align=\"right\"\u003e\n\n[Back To Top ⬆️](#Tableau-Backup-Tool)\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedisedis777%2Ftableau-backup-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedisedis777%2Ftableau-backup-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedisedis777%2Ftableau-backup-tool/lists"}