{"id":20333262,"url":"https://github.com/devkeydet/azurefileshareonewaysync","last_synced_at":"2026-05-22T16:32:56.217Z","repository":{"id":115817278,"uuid":"70699050","full_name":"devkeydet/AzureFileShareOnewaySync","owner":"devkeydet","description":null,"archived":false,"fork":false,"pushed_at":"2017-04-17T20:42:07.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T12:46:22.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devkeydet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-10-12T12:45:20.000Z","updated_at":"2016-10-12T12:45:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e4a7d97-4be8-4511-93ab-c53f08b3c7a5","html_url":"https://github.com/devkeydet/AzureFileShareOnewaySync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devkeydet/AzureFileShareOnewaySync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkeydet%2FAzureFileShareOnewaySync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkeydet%2FAzureFileShareOnewaySync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkeydet%2FAzureFileShareOnewaySync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkeydet%2FAzureFileShareOnewaySync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devkeydet","download_url":"https://codeload.github.com/devkeydet/AzureFileShareOnewaySync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkeydet%2FAzureFileShareOnewaySync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33354035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"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":[],"created_at":"2024-11-14T20:30:03.245Z","updated_at":"2026-05-22T16:32:56.195Z","avatar_url":"https://github.com/devkeydet.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AzureFileShareOnewaySync\n\nThis sample uses the [Microsoft Azure Storage Data Movement Library](https://github.com/Azure/azure-storage-net-data-movement) and the [\nMicrosoft Azure Storage SDK for .NET](https://github.com/Azure/azure-storage-net) to demonstrate how to keep a secondary [Azure File storage](https://azure.microsoft.com/en-us/services/storage/files/) share in sync with a primary share.\n\n## Features\n\nUsing the previously mentioned libraries, this demonstrates how to:\n\n- Copy everything in the source file share to the destination file share\n  - Only copy files if the source file is newer than the destination file\n- Compare the destination share to source share\n    - Delete files / folders in the destination which have been deleted in the source\n\nThis sample runs in a console application, but can be repurposed to run in a number of hosts (IaaS VM, WebJob, Worker Role, Azure Automation, etc.). \n## Getting Started\n\nThe code **no longer** uses [transformations](https://msdn.microsoft.com/en-us/library/dd465326(VS.100).aspx) for the app.config.  Instead, it uses a separate **app.appsettings.config** file for per user configuration.  The **app.appsettings.config** is intentionally left out of the repository through .gitignore so that keys, etc. are not stored in the repository.  Once you've cloned the repository or downloaded the code, make sure you add an **app.appsettings.config** in the same directory as the app.config.  Once you've done that, you can copy/paste from the **app.appsettings.template.config** to the **app.appsettings.config** and populate the appropriate values with your source/destination connection strings and shares.\n\n## Deeper Dive \n\nFor a deeper explanation of the scenario this sample aims to address, and walkthrough of the code, please review this [blog post](https://blogs.msdn.microsoft.com/devkeydet/2016/10/12/manual-failover-of-azure-file-storage/).\n\n[@devkeydet](https://twitter.com/devkeydet)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkeydet%2Fazurefileshareonewaysync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkeydet%2Fazurefileshareonewaysync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkeydet%2Fazurefileshareonewaysync/lists"}