oss-sync icon indicating copy to clipboard operation
oss-sync copied to clipboard

When "incrementalMode":false, Deleted File not Deleted in OSS

Open jonahfang opened this issue 9 years ago • 2 comments

My .oss-sync.json is as follows:

{
    "source":"/home/fzx/work/dbbackup",
    "dest":"mysql",
    "accessKeyId":"",
    "secretAccessKey":"",
    "endpoint":"http://oss-cn-hangzhou.aliyuncs.com",
    "bucket":"ahxtest",
    "incrementalMode":false
}

New files are uploaded ok, but when i remove some files, and run osync, the file not deleted in OSS.

I use node.js v5.6.x.

是否没有删除功能?

jonahfang avatar Feb 16 '16 05:02 jonahfang

It may be because your process exit after uploaded cause #12 ?

mehwww avatar Feb 19 '16 05:02 mehwww

@mehwww, 我手工在命令行中执行时,就没有自动删除,这个和#12无关。

jonahfang avatar Feb 19 '16 14:02 jonahfang