{"id":24698944,"url":"https://github.com/nickbeam/backuptoyandexdisk","last_synced_at":"2025-10-03T17:51:15.027Z","repository":{"id":272939508,"uuid":"917232603","full_name":"nickbeam/backupToYandexDisk","owner":"nickbeam","description":"Backup to Yandex disk with configuring storage days. Stores daily, monthly and annual backups.","archived":false,"fork":false,"pushed_at":"2025-01-17T14:33:04.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T03:42:42.597Z","etag":null,"topics":["backup","python","yadisk","yandex-disk"],"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/nickbeam.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-01-15T15:52:46.000Z","updated_at":"2025-01-28T05:01:26.000Z","dependencies_parsed_at":"2025-01-17T15:40:46.292Z","dependency_job_id":"8ea1adfa-f8ba-4fef-bb63-f8a214aabb6f","html_url":"https://github.com/nickbeam/backupToYandexDisk","commit_stats":null,"previous_names":["nickbeam/backuptoyandexdisk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nickbeam/backupToYandexDisk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbeam%2FbackupToYandexDisk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbeam%2FbackupToYandexDisk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbeam%2FbackupToYandexDisk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbeam%2FbackupToYandexDisk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickbeam","download_url":"https://codeload.github.com/nickbeam/backupToYandexDisk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbeam%2FbackupToYandexDisk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273986629,"owners_count":25202708,"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-09-07T02:00:09.463Z","response_time":67,"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","python","yadisk","yandex-disk"],"created_at":"2025-01-27T04:34:56.516Z","updated_at":"2025-10-03T17:51:09.998Z","avatar_url":"https://github.com/nickbeam.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yaDisk Backup script\n\nScript for backup files to Yandex Disk.\n\nScript usage YaDisk. Is a Yandex.Disk REST API client library [YaDisk library](https://yadisk.readthedocs.io/en/latest/intro.html)\n\nTo get your `access_token`:\n\n1. Register your app at [Yandex](https://oauth.yandex.ru/client/new)\n    1. Be sure to check 'Yandex.Disk permits'\n    2. Be sure to check 'Client for development' (it will set https://oauth.yandex.ru/verification_code?dev=True as `Callback URI`)\n2. Get access token https://oauth.yandex.ru/authorize?response_type=token\u0026client_id=YOUR_APP_ID\n3. Get your access token from redirect url (right from the browser, it will be one of parameters)\n\n## Installation\n\n1. Download \u0026 Install Python 3.12 [Download Python](https://www.python.org/downloads/)\n2. Install yadisk lib: `pip install yadisk`\n3. Install yadisk lib: `pip install requests`\n\n## Usage:\n\n```python ./yaDisk_sync.py [-h] [-d DAYS] [-r] token source destination```\n\n```commandline\npositional arguments:\n  token                 Access token\n  source                Source path\n  destination           Destination path\n\noptions:\n  -h, --help            show this help message and exit\n  -d DAYS, --days DAYS  Lifetime daily backups, days count (int) (Default 45)\n  -r, --recursive       Recursive upload files\n```\n## Examples\n\n#### Windows\n`python .\\yaDisk_sync.py \"token\" \"C:\\\\Backup\" \"backup\" -d 14`\n\n#### Linux\n`python ./yaDisk_sync.py \"token\" \"/home/user/Backup\" \"backup\" -d 14`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickbeam%2Fbackuptoyandexdisk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickbeam%2Fbackuptoyandexdisk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickbeam%2Fbackuptoyandexdisk/lists"}