A
A
Akhmad Zakhratulaev2017-05-11 18:31:14
bash
Akhmad Zakhratulaev, 2017-05-11 18:31:14

How secure is the implementation of backups?

Good day.
We copy database backups to Yandex disk using the following script

curl -k -u my_login:my_password -T $full_file_name $remote_path_full_backup

we were embarrassed by the fact that the login and password were entered explicitly in the file. So we did it a little differently.
curl -k --netrc-file .netrc -T $full_file_name $remote_path_full_backup

specifying the login, host, password in the rc file.
We are concerned about the security of the connection and the transfer of data to curl for authorization.
For example, if packets are intercepted, will they be able to recognize the login / password or other parties.
Please tell me how to transfer files correctly.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dummyman, 2017-05-19
@asker13

Briefly said in a comment to the question above.
More details here:
https://access.redhat.com/documentation/en-US/Red_...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question