Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Support a delete only option (disables transfer) #101

Closed
PascalSl opened this issue Jul 12, 2019 · 3 comments
Closed

Support a delete only option (disables transfer) #101

PascalSl opened this issue Jul 12, 2019 · 3 comments
Assignees
Labels

Comments

@PascalSl
Copy link

Feature Request Description

When using synccopy, there is the ability to delete extraneous files, but this only works in conjunction with syncing the files. There is no option to say that syncing is not necessary, but deletion is.

The usecase is this: we have an azure storage container which we use as our source. However, there are some files on the source that are deliberately not pushed to the destinations. We don't want the additional files to appear on the sources.
Then again, when a file is not on the source, we are sure we don't want it on the destination. That's why we are looking for a flag that disables syncing, while allowing deletion.

Can you keep us up to date whether this can be put on the Blobxfer roadmap somewhere or if any additional information is required?

Describe Preferred Solution

Be able to set a configuration parameter (ie. CLI: --disable-syncand, YAML: disable_sync ), that disables the syncing.

Describe Alternatives Considered

AzCopy, which doesn't do Azure to Azure comparison

@alfpark
Copy link
Collaborator

alfpark commented Jul 12, 2019

This option should apply to all transfer modes.

@alfpark alfpark changed the title Synccopy: disable sync while allowing delete Support a delete only option (disables transfer) Jul 12, 2019
@alfpark alfpark removed the synccopy label Jul 12, 2019
@alfpark alfpark self-assigned this Jul 12, 2019
alfpark added a commit that referenced this issue Jul 12, 2019
@alfpark
Copy link
Collaborator

alfpark commented Jul 12, 2019

This has been added in develop. The option is --delete-only (or delete_only: true). Please provide feedback if possible.

@PascalSl
Copy link
Author

PascalSl commented Jul 22, 2019

Thanks for the swift response. Can't say when I'll be able to do the check, in the meanwhile I've been assigned different tasks, but it's somewhere in my todo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants