Remove runtime OS check for excluding by attributes

This commit is contained in:
Gilbert Chen
2020-09-25 22:37:54 -04:00
parent 04a858b555
commit ace1ba5848
8 changed files with 44 additions and 38 deletions

View File

@@ -1255,7 +1255,7 @@ func copySnapshots(context *cli.Context) {
destinationStorage.SetRateLimits(0, context.Int("upload-limit-rate"))
destinationManager := duplicacy.CreateBackupManager(destination.SnapshotID, destinationStorage, repository,
destinationPassword, "", "", fasle)
destinationPassword, "", "", false)
duplicacy.SavePassword(*destination, "password", destinationPassword)
destinationManager.SetupSnapshotCache(destination.Name)