Skip to content

SMBSync2 Syncs Directory with Special Characters only to Delete It later in same sync task #276

@rpi-maker

Description

@rpi-maker

Referencing Issue #267

Running SMBSync2 with a Mirror Task to backup Android Phone (/storage/emulated/0) to Network NAS through smb connection. It works great for the most part, but runs into an issue with copying a directory in which the folder has a trailing ".." in the folder name. SMBSync2 will successfully copy the folder and its contents to the NAS, but will later in the same SYNC task ask to delete the directory and its contents (thus undoing the backup sync for this folder and its contents).

Perhaps SMBSync2 should have the folder directory structure and files wrapped in quotation/quote marks, as was the same issue raised with Issue #267 with the space character in a file/folder being backed-up.

Removing the trailing .. from the folder in question eliminated this issue, and the backup succeeded to the NAS without issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions