{"id":19310512,"url":"https://github.com/sepppenner/raspberrypibackupclient","last_synced_at":"2025-04-22T13:34:19.026Z","repository":{"id":48452942,"uuid":"152795386","full_name":"SeppPenner/RaspberryPiBackupClient","owner":"SeppPenner","description":"RaspberryPiBackupClient is a project to backup certain directories from your Raspberry Pi to a WebDav server. The script was written and tested in Python 3.","archived":false,"fork":false,"pushed_at":"2024-06-18T11:23:24.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T00:24:36.706Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SeppPenner.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"License.txt","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":"2018-10-12T18:57:03.000Z","updated_at":"2024-06-18T11:23:26.000Z","dependencies_parsed_at":"2022-09-08T06:00:19.918Z","dependency_job_id":"6aaebff2-c479-4c0e-8416-cb35b184e2fc","html_url":"https://github.com/SeppPenner/RaspberryPiBackupClient","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FRaspberryPiBackupClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FRaspberryPiBackupClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FRaspberryPiBackupClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeppPenner%2FRaspberryPiBackupClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeppPenner","download_url":"https://codeload.github.com/SeppPenner/RaspberryPiBackupClient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250249120,"owners_count":21399398,"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","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":[],"created_at":"2024-11-10T00:24:34.257Z","updated_at":"2025-04-22T13:34:18.764Z","avatar_url":"https://github.com/SeppPenner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"RaspberryPiBackupClient\n====================================\n\nRaspberryPiBackupClient is a project to backup certain directories from your Raspberry Pi to a WebDav server. The script was written and tested in Python 3.\n\n[![Build status](https://ci.appveyor.com/api/projects/status/giyrqr15h5caueoo?svg=true)](https://ci.appveyor.com/project/SeppPenner/raspberrypibackupclient)\n[![GitHub issues](https://img.shields.io/github/issues/SeppPenner/RaspberryPiBackupClient.svg)](https://github.com/SeppPenner/RaspberryPiBackupClient/issues)\n[![GitHub forks](https://img.shields.io/github/forks/SeppPenner/RaspberryPiBackupClient.svg)](https://github.com/SeppPenner/RaspberryPiBackupClient/network)\n[![GitHub stars](https://img.shields.io/github/stars/SeppPenner/RaspberryPiBackupClient.svg)](https://github.com/SeppPenner/RaspberryPiBackupClient/stargazers)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://raw.githubusercontent.com/SeppPenner/RaspberryPiBackupClient/master/License.txt)\n[![Known Vulnerabilities](https://snyk.io/test/github/SeppPenner/RaspberryPiBackupClient/badge.svg)](https://snyk.io/test/github/SeppPenner/RaspberryPiBackupClient) \n\n# Steps to use this project:\n1. Make sure to install Python and Pip correctly\n2. Set the execute flags:\n\n```bash\nchmod +x install.sh\nchmod +x run.sh\nchmod +x backup.py\n```\n\n3. Install all required pip package dependencies with:\n\n```bash\npip install -r requirements.txt\n```\n\n4. Setup a WebDav server and create a folder to be accessible from the script.\n\n5. Adjust your settings in the [backup.py](https://github.com/SeppPenner/RaspberryPiBackupClient/blob/master/backup.py) file:\n\n```python\nlanguage = lang.Lang('english') # Valid ones are currently 'german' and 'english'\nfolders = {'examplefolder': '/var/lib/example', 'examplefolder2':'/etc/example/'}\nwebdavroot = 'https://someurl.com/backup/'\nwebdavuser = \"user\"\nwebdavpassword = \"password\"\n```\n\n6. Run the backup client in a cronjob, e.g.\n```bash\n0 6 1 * * /usr/bin/python3 /home/something/backup.py\n```\n\nto run it on each first day of the month at 6 o'clock in the morning.\n\n7. If you do not use a self signed certificate, disable the following line\n\n```python\nurllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)\n```\n\n# For more information see:\n* https://www.quora.com/How-do-I-zip-directories-in-Python\n* https://stackoverflow.com/questions/36216274/uploading-a-0-bytes-file-to-owncloud-with-python-requests-hangs\n* https://crontab.guru/#0_6_1_*_*\n\nChange history\n--------------\n\nSee the [Changelog](https://github.com/SeppPenner/RaspberryPiBackupClient/blob/master/Changelog.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepppenner%2Fraspberrypibackupclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsepppenner%2Fraspberrypibackupclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepppenner%2Fraspberrypibackupclient/lists"}