Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

16.8 KB
Raw Blame
(01)  : test max-delete-track-renames


(02)  : test resync bypasses rename-aware hash preflight with ignored listing checksums
(03)  : bisync resync track-renames max-delete-renames-aware ignore-listing-checksum
INFO  : Bisyncing with Comparison Settings:
{
"Modtime": true,
"Size": true,
"Checksum": false,
"NoSlowHash": false,
"SlowHashSyncOnly": false,
"DownloadHash": false
}
INFO  : Synching Path1 "{path1/}" with Path2 "{path2/}"
INFO  : Copying Path2 files to Path1
INFO  : - Path2    Resync is copying files to         - Path1
ERROR : {path1String}: Ignoring --track-renames as it doesn't work with copy or move, only sync
INFO  : There was nothing to transfer
INFO  : - Path1    Resync is copying files to         - Path2
ERROR : {path2String}: Ignoring --track-renames as it doesn't work with copy or move, only sync
INFO  : There was nothing to transfer
INFO  : Resync updating listings
INFO  : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
INFO  : Bisync successful

(04)  : test rename-aware max-delete requires track-renames
(05)  : bisync max-delete-renames-aware
Bisync error: --max-delete-renames-aware requires --track-renames
(06)  : copy-listings requires-track-fail

(07)  : test rename-aware max-delete rejects invalid track-renames strategies early
(08)  : bisync track-renames max-delete-renames-aware track-renames-strategy=banana
Bisync error: unknown track renames strategy "banana"
(09)  : copy-listings invalid-strategy-fail

(10)  : test rename-aware hash matching rejects ignored listing checksums
(11)  : bisync track-renames max-delete-renames-aware ignore-listing-checksum
Bisync error: --max-delete-renames-aware with a hash strategy is incompatible with --ignore-listing-checksum
(12)  : copy-listings ignore-hash-fail

(13)  : test rename >50% of Path1 files
(14)  : copy-as {path1/}file1.txt {path1/} renamed-file1.txt
(15)  : delete-file {path1/}file1.txt
(16)  : copy-as {path1/}file2.txt {path1/} renamed-file2.txt
(17)  : delete-file {path1/}file2.txt
(18)  : copy-as {path1/}file3.txt {path1/} renamed-file3.txt
(19)  : delete-file {path1/}file3.txt
(20)  : copy-as {path1/}file4.txt {path1/} renamed-file4.txt
(21)  : delete-file {path1/}file4.txt
(22)  : copy-as {path1/}file5.txt {path1/} renamed-file5.txt
(23)  : delete-file {path1/}file5.txt

(24)  : test track-renames alone should retain the max-delete safety abort
(25)  : bisync track-renames
INFO  : Setting --ignore-listing-checksum as neither --checksum nor --compare checksum are set.
INFO  : Bisyncing with Comparison Settings:
{
"Modtime": true,
"Size": true,
"Checksum": false,
"NoSlowHash": false,
"SlowHashSyncOnly": false,
"DownloadHash": false
}
INFO  : Synching Path1 "{path1/}" with Path2 "{path2/}"
INFO  : Building Path1 and Path2 listings
INFO  : Path1 checking for diffs
INFO  : - Path1    File was deleted          - file1.txt
INFO  : - Path1    File was deleted          - file2.txt
INFO  : - Path1    File was deleted          - file3.txt
INFO  : - Path1    File was deleted          - file4.txt
INFO  : - Path1    File was deleted          - file5.txt
INFO  : - Path1    File is new               - renamed-file1.txt
INFO  : - Path1    File is new               - renamed-file2.txt
INFO  : - Path1    File is new               - renamed-file3.txt
INFO  : - Path1    File is new               - renamed-file4.txt
INFO  : - Path1    File is new               - renamed-file5.txt
INFO  : Path1:   10 changes:    5 new,    0 modified,    5 deleted
INFO  : Path2 checking for diffs
ERROR : Safety abort: too many deletes (>50%, 5 of 9) on Path1 "{path1/}". Run with --force if desired.
NOTICE: Bisync aborted. Please try again.
Bisync error: too many deletes
(26)  : copy-listings initial-fail

(27)  : test rename-aware max-delete should permit tracked renames
(28)  : bisync track-renames max-delete-renames-aware
INFO  : Bisyncing with Comparison Settings:
{
"Modtime": true,
"Size": true,
"Checksum": false,
"NoSlowHash": false,
"SlowHashSyncOnly": false,
"DownloadHash": false
}
INFO  : Synching Path1 "{path1/}" with Path2 "{path2/}"
INFO  : Building Path1 and Path2 listings
INFO  : Path1 checking for diffs
INFO  : - Path1    File was deleted          - file1.txt
INFO  : - Path1    File was deleted          - file2.txt
INFO  : - Path1    File was deleted          - file3.txt
INFO  : - Path1    File was deleted          - file4.txt
INFO  : - Path1    File was deleted          - file5.txt
INFO  : - Path1    File is new               - renamed-file1.txt
INFO  : - Path1    File is new               - renamed-file2.txt
INFO  : - Path1    File is new               - renamed-file3.txt
INFO  : - Path1    File is new               - renamed-file4.txt
INFO  : - Path1    File is new               - renamed-file5.txt
INFO  : Path1:   10 changes:    5 new,    0 modified,    5 deleted
INFO  : Path2 checking for diffs
INFO  : Path1: excluding 5 tracked renames from --max-delete
INFO  : Applying changes
INFO  : - Path2    Queue delete              - {path2/}file1.txt
INFO  : - Path2    Queue delete              - {path2/}file2.txt
INFO  : - Path2    Queue delete              - {path2/}file3.txt
INFO  : - Path2    Queue delete              - {path2/}file4.txt
INFO  : - Path2    Queue delete              - {path2/}file5.txt
INFO  : - Path1    Queue copy to Path2       - {path2/}renamed-file1.txt
INFO  : - Path1    Queue copy to Path2       - {path2/}renamed-file2.txt
INFO  : - Path1    Queue copy to Path2       - {path2/}renamed-file3.txt
INFO  : - Path1    Queue copy to Path2       - {path2/}renamed-file4.txt
INFO  : - Path1    Queue copy to Path2       - {path2/}renamed-file5.txt
INFO  : - Path1    Do queued copies to                - Path2
INFO  : {path2String}: Making map for --track-renames
INFO  : {path2String}: Finished making map for --track-renames
INFO  : renamed-file1.txt: Renamed from "file1.txt"
INFO  : renamed-file2.txt: Renamed from "file2.txt"
INFO  : renamed-file3.txt: Renamed from "file3.txt"
INFO  : renamed-file4.txt: Renamed from "file4.txt"
INFO  : renamed-file5.txt: Renamed from "file5.txt"
INFO  : There was nothing to transfer
INFO  : Updating listings
INFO  : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
INFO  : Bisync successful

(29)  : test rename-aware max-delete should work from Path2
(30)  : copy-as {path2/}renamed-file1.txt {path2/} renamed2-file1.txt
(31)  : delete-file {path2/}renamed-file1.txt
(32)  : copy-as {path2/}renamed-file2.txt {path2/} renamed2-file2.txt
(33)  : delete-file {path2/}renamed-file2.txt
(34)  : copy-as {path2/}renamed-file3.txt {path2/} renamed2-file3.txt
(35)  : delete-file {path2/}renamed-file3.txt
(36)  : copy-as {path2/}renamed-file4.txt {path2/} renamed2-file4.txt
(37)  : delete-file {path2/}renamed-file4.txt
(38)  : copy-as {path2/}renamed-file5.txt {path2/} renamed2-file5.txt
(39)  : delete-file {path2/}renamed-file5.txt
(40)  : bisync track-renames max-delete-renames-aware
INFO  : Bisyncing with Comparison Settings:
{
"Modtime": true,
"Size": true,
"Checksum": false,
"NoSlowHash": false,
"SlowHashSyncOnly": false,
"DownloadHash": false
}
INFO  : Synching Path1 "{path1/}" with Path2 "{path2/}"
INFO  : Building Path1 and Path2 listings
INFO  : Path1 checking for diffs
INFO  : Path2 checking for diffs
INFO  : - Path2    File was deleted          - renamed-file1.txt
INFO  : - Path2    File was deleted          - renamed-file2.txt
INFO  : - Path2    File was deleted          - renamed-file3.txt
INFO  : - Path2    File was deleted          - renamed-file4.txt
INFO  : - Path2    File was deleted          - renamed-file5.txt
INFO  : - Path2    File is new               - renamed2-file1.txt
INFO  : - Path2    File is new               - renamed2-file2.txt
INFO  : - Path2    File is new               - renamed2-file3.txt
INFO  : - Path2    File is new               - renamed2-file4.txt
INFO  : - Path2    File is new               - renamed2-file5.txt
INFO  : Path2:   10 changes:    5 new,    0 modified,    5 deleted
INFO  : Path2: excluding 5 tracked renames from --max-delete
INFO  : Applying changes
INFO  : - Path1    Queue delete              - {path1/}renamed-file1.txt
INFO  : - Path1    Queue delete              - {path1/}renamed-file2.txt
INFO  : - Path1    Queue delete              - {path1/}renamed-file3.txt
INFO  : - Path1    Queue delete              - {path1/}renamed-file4.txt
INFO  : - Path1    Queue delete              - {path1/}renamed-file5.txt
INFO  : - Path2    Queue copy to Path1       - {path1/}renamed2-file1.txt
INFO  : - Path2    Queue copy to Path1       - {path1/}renamed2-file2.txt
INFO  : - Path2    Queue copy to Path1       - {path1/}renamed2-file3.txt
INFO  : - Path2    Queue copy to Path1       - {path1/}renamed2-file4.txt
INFO  : - Path2    Queue copy to Path1       - {path1/}renamed2-file5.txt
INFO  : - Path2    Do queued copies to                - Path1
INFO  : {path1String}: Making map for --track-renames
INFO  : {path1String}: Finished making map for --track-renames
INFO  : renamed2-file1.txt: Renamed from "renamed-file1.txt"
INFO  : renamed2-file2.txt: Renamed from "renamed-file2.txt"
INFO  : renamed2-file3.txt: Renamed from "renamed-file3.txt"
INFO  : renamed2-file4.txt: Renamed from "renamed-file4.txt"
INFO  : renamed2-file5.txt: Renamed from "renamed-file5.txt"
INFO  : There was nothing to transfer
INFO  : Updating listings
INFO  : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
INFO  : Bisync successful

(41)  : test unmatched deletes should still exceed max-delete
(42)  : copy-as {path1/}renamed2-file1.txt {path1/} moved-file1.txt
(43)  : delete-file {path1/}renamed2-file1.txt
(44)  : delete-file {path1/}renamed2-file2.txt
(45)  : delete-file {path1/}renamed2-file3.txt
(46)  : delete-file {path1/}renamed2-file4.txt
(47)  : delete-file {path1/}renamed2-file5.txt
(48)  : delete-file {path1/}file6.txt
(49)  : delete-file {path1/}file7.txt
(50)  : bisync track-renames max-delete-renames-aware
INFO  : Bisyncing with Comparison Settings:
{
"Modtime": true,
"Size": true,
"Checksum": false,
"NoSlowHash": false,
"SlowHashSyncOnly": false,
"DownloadHash": false
}
INFO  : Synching Path1 "{path1/}" with Path2 "{path2/}"
INFO  : Building Path1 and Path2 listings
INFO  : Path1 checking for diffs
INFO  : - Path1    File was deleted          - file6.txt
INFO  : - Path1    File was deleted          - file7.txt
INFO  : - Path1    File was deleted          - renamed2-file1.txt
INFO  : - Path1    File was deleted          - renamed2-file2.txt
INFO  : - Path1    File was deleted          - renamed2-file3.txt
INFO  : - Path1    File was deleted          - renamed2-file4.txt
INFO  : - Path1    File was deleted          - renamed2-file5.txt
INFO  : - Path1    File is new               - moved-file1.txt
INFO  : Path1:    8 changes:    1 new,    0 modified,    7 deleted
INFO  : Path2 checking for diffs
INFO  : Path1: excluding 1 tracked renames from --max-delete
ERROR : Safety abort: too many deletes (>50%, 6 of 9 after excluding 1 tracked renames) on Path1 "{path1/}". Run with --force if desired.
NOTICE: Bisync aborted. Please try again.
Bisync error: too many deletes
(51)  : copy-listings partial-fail

(52)  : test force bypasses max-delete and rename-aware hash preflight
(53)  : bisync track-renames max-delete-renames-aware ignore-listing-checksum force
INFO  : Bisyncing with Comparison Settings:
{
"Modtime": true,
"Size": true,
"Checksum": false,
"NoSlowHash": false,
"SlowHashSyncOnly": false,
"DownloadHash": false
}
INFO  : Synching Path1 "{path1/}" with Path2 "{path2/}"
INFO  : Building Path1 and Path2 listings
INFO  : Path1 checking for diffs
INFO  : - Path1    File was deleted          - file6.txt
INFO  : - Path1    File was deleted          - file7.txt
INFO  : - Path1    File was deleted          - renamed2-file1.txt
INFO  : - Path1    File was deleted          - renamed2-file2.txt
INFO  : - Path1    File was deleted          - renamed2-file3.txt
INFO  : - Path1    File was deleted          - renamed2-file4.txt
INFO  : - Path1    File was deleted          - renamed2-file5.txt
INFO  : - Path1    File is new               - moved-file1.txt
INFO  : Path1:    8 changes:    1 new,    0 modified,    7 deleted
INFO  : Path2 checking for diffs
INFO  : Applying changes
INFO  : - Path2    Queue delete              - {path2/}file6.txt
INFO  : - Path2    Queue delete              - {path2/}file7.txt
INFO  : - Path1    Queue copy to Path2       - {path2/}moved-file1.txt
INFO  : - Path2    Queue delete              - {path2/}renamed2-file1.txt
INFO  : - Path2    Queue delete              - {path2/}renamed2-file2.txt
INFO  : - Path2    Queue delete              - {path2/}renamed2-file3.txt
INFO  : - Path2    Queue delete              - {path2/}renamed2-file4.txt
INFO  : - Path2    Queue delete              - {path2/}renamed2-file5.txt
INFO  : - Path1    Do queued copies to                - Path2
INFO  : {path2String}: Making map for --track-renames
INFO  : {path2String}: Finished making map for --track-renames
INFO  : moved-file1.txt: Renamed from "renamed2-file1.txt"
INFO  : There was nothing to transfer
INFO  : Updating listings
INFO  : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
INFO  : Bisync successful