How much information do I leak if I upload multiple ciphertexts with cleartext overlaps? Suppose that $t_1, t_2, \ldots, t_n$ are my clear texts.  Suppose that for any $(i,j) \in \{1,2,\ldots,n\}^2$, $t_i$ and $t_j$ only differ in, say, the 1st $m$-many characters. Finally, suppose that I got an encryption function $\texttt{enc} : t_i \mapsto c_i$.  By function I mean a programming function, not necessarily mathematically.
To make it clearer, from the point of the adversary, the following is known:

The encryption algorithm is $\texttt{enc}$.
He knows all ciphers $c_1, c_2, \ldots, c_n$.  E.g. he sniffed them over the network.
While he does not know the clear texts $t_1, t_2, \ldots, t_n$, he does know the fact that they only differ in their 1st $m$-many characters (without actually knowing the 1st $m$-many characters, nor the other $m+1, m+2, \ldots$ characters).

My question is:  how much information would the adversary gain, given that he learned that the original clear texts are mostly identical and only vary in their 1st $m$-many characters, for these algorithms:

AES for various modes of operation,
RSA and its variations,
and scrypt?

Just to rephrase the question: suppose that $H(\{c_1,c_2,\ldots,c_n\}|\texttt{enc})$ is total number of information bits that the adversary managed to gain about the ciphertexts by simply knowing their encryption algorithm, the question is:

How bigger is $H(\{c_1,c_2,\ldots,c_n\}|\texttt{enc}, m)$ (information gain after also knowing that the original clear texts are mostly identical except for their 1st $m$-many letters)?

I don't know much about encryption, and I don't know how easy or hard this question is.  Any guidance is also highly appreciated.
The reason I'm concerned about this is due to me having multiple backups of my encrypted files, which their cleartexts have differed only slightly.  I'm concerned that I'm leaking information by keeping multiple encrypted copies of my slightly-modified cleartexts.
The question has opposite answers, depending on if we consider adversaries computationally bounded, or not.

Actual adversaries are computationally bounded, that is have limited computational resources. Against these, any cipher that is secure against Chosen Plaintext Attack has the property that similarities between plaintexts are undetectable and unexploitable¹: the adversary gains no useful information (about the key or the plaintexts) from such similarities. With a properly chosen key, and a correct implementation (no side channel leakage, secure Random Number Generator for Initialization Vector, salt, …), that's believed² to be the case for all modern ciphers, including the ciphers in the question:

AES in any of the standard modes of operation except Electronic Code Book.
RSA encryption per one of the PKCS#1 mode (RSAES-OAEP and the legacy RSAES-PKCS1-v1_5), or using an otherwise secure hybrid encryption. Textbook RSA $c_i\gets {t_i}^e\bmod n$ is not CPA-secure.
The scrypt tool, which really uses AES in counter mode³. For this tool, &quot;properly chosen key&quot; means that the entropy in the password, combined with the workfactor parameters used, must make brute force password search far exceed the computational capabilities of adversaries.


Against computationally unbounded adversaries (theoretical all-powerful things), practical cryptographic schemes including those in the question become insecure no later than when what's known about plaintext exceeds the key entropy. In that case, learning that $k$ original plaintexts are mostly identical in a certain location reveals $k-1$ times the length of the common plaintext, and when that exceeds the key size it becomes theoretically possible to find the key, by enumeration of all keys, decrypting the ciphertexts, and keeping the (probably, single) key that makes all the tentatively decrypted plaintexts match in the stated location.
The situation is even worse for RSA and public-key encryption in general: knowledge of the public key, which is assumed, allows a computationally unbounded adversary to decipher any ciphertext.

¹ Including with any amount of known plaintext.
² Moderns ciphers are believed (without mathematical proof) to be resistant against mathematical attacks; that is, when the key is random and unknown, it is believed there is no attacks much more computationally efficient than trying all keys (brute force), absent side channels. AES is among such modern ciphers, despite two decades of intense analysis.
³ According to this description of the format, the bulk of the ciphertext is data xor AES256-CTR key stream generated with nonce == 0. The later means that a multi-targets attack applies (assuming redundancy in plaintext, it is possible to test if a 256-bit AES key matches any of the ones used in multiple ciphertexts using a single block encryption), but that's unlikely to be a practical weakness.