Тёмный

How to Use the rsync Command | Linux Essentials Tutorial 

Akamai Developer
Подписаться 1 млн
Просмотров 58 тыс.
50% 1

Rsync is a command line utility which synchronizes files and folders from one location to another. In this tutorial, we'll cover the basics of rsync including examples and common uses.
Chapters:
0:00 - Intro
1:12 - rsync Manual
2:40 - Building an rsync command
4:28 - Dissecting the Command
6:42 - Using rsync dry run
8:30 - Syncing Files Between Servers
12:31 - Outro
New to Cloud Computing? Get started here with a $100 credit → www.linode.com/lp/youtube-vie...
Read the doc for more information on rsync→ www.linode.com/docs/guides/in...
Check out the rsync Linux man page→ linux.die.net/man/1/rsync
Subscribe to get notified of new episodes as they come out → ru-vid.com?sub_co...
#Linode #Linux #rsync #LearnLinux
Product: Linode, Alternative Cloud, rsync; Jay LaCroix;

Наука

Опубликовано:

 

22 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@12Q46HPRN
@12Q46HPRN 2 года назад
Thank you so much! I have been trying on my own to understand rsync and all the options. I even tried using the GUI version grsync. You made it SO simple, because all I need to do is set up rsync to backup my files from one SSD to another on a regular basis. Now I have an understandable command I can put in my cron file. Thanks again!
@kartikeykushwah3926
@kartikeykushwah3926 Год назад
Great video! I actually have to deploy rsync today at my work and watching this is giving me a feeling that I can deploy it in no time.
@bluehornet6752
@bluehornet6752 Год назад
Brilliant video! That --dry-run option for rsync is something I had forgotten about, so that alone is priceless. Thanks for making the video!
@busdriver1261
@busdriver1261 Год назад
-n does the same (i.e. less typing)
@noweare1
@noweare1 Год назад
Another useful video tutorial. Thanks for making ordinary people extraordinary computer experts. I just got nextcloud installed in my local network so now I need a good way to back up my development machine.
@cschmitzmd
@cschmitzmd 2 года назад
As always, great teaching video! Many thanks! It would be great the see a follow-up video showing how to use rsync as daemon and/or in combination with crontab.
@kevinxxx8093
@kevinxxx8093 Год назад
Thank you, Jay. I've been watching some of your videos to relearn stuff I once knew.
@z8669zzz
@z8669zzz 2 года назад
Thanks so much, as I have several Linux laptops and I will experiment with Rsync. This has come a long way from the "Palm Pilot" memo pad, to-do list, contact [address book], and calendar. Plus even back then games [prc files] Hot Sync Manager to the desktop, network Hot Sync [my first exposure to IP addresses, ipv4 and later IPV6]
@linuxgrrl
@linuxgrrl Год назад
Whats the diff between rsync and scp then?
@walking_on_earth
@walking_on_earth 2 года назад
Fantastic video, super helpful
@waqaravionics
@waqaravionics 2 года назад
great video. very easily explained
@teddymills1
@teddymills1 2 года назад
rsync makes perfect snapshot backups. But what happens when you start using the original renaming files+folders on the source and then rsync again ? I think the --delete requires source and target filenames to be exactly the same. Over time, the source and targets get completely out of sync.
@michalroesler
@michalroesler Год назад
Hello Jay. Awesome video as always. Thank you 4 all the value you bring to you tube. I owe my job to your videos. Is there a chance you'll expand this video, and show how 2 use rsync over SSH using public/private key pair?? So that no password needs 2 be entered. That would help me a lot.
@Martor1384
@Martor1384 2 года назад
thanks for you great video! can you explain me how i use ist on my ubuntu server, there is only public key allowed for security purpose, how do i have to run my rsync command to get datas from my NAS to my Server? and how i can configure that it will do it automaticly every day?
@shetuamin
@shetuamin 2 года назад
Hello. I use rsync 3.0, how to set user id and group id when send files win7 to freenas 11?
@rodrigoayarza9397
@rodrigoayarza9397 2 года назад
Great video. Love your classes. Crystal clear and practical.
@therealb888
@therealb888 Год назад
Anyway to multithread rsync & speed it up more?
@danilodistefanis5990
@danilodistefanis5990 3 года назад
I wonder how difficult and different is to achieve most common rsync actions with scp and all the rest 🤔
@bhargavinbox1266
@bhargavinbox1266 2 года назад
excellent and thank you somuch\
@MarloMitchell
@MarloMitchell Год назад
good stuff
@jmaviles
@jmaviles 2 года назад
Hi, Help me understand between rsync -av vs rsync --parcial --progress --rsh=ssh, both make the job but I do not know which is better and differences, thank you. 🤔
@AkamaiDeveloper
@AkamaiDeveloper 2 года назад
This site aims to explain rsync flags in an interactive way. Hope it helps explainshell.com/explain?cmd=rsync+-avz+--progress+--partial+-e
@guilherme5094
@guilherme5094 3 года назад
Thanks, that was really helpful.
@FructHose
@FructHose 3 года назад
rsync is nice. But rclone is also very useful. Maybe a video about borgbackup or duplicacy would be nice too. ✌️
@AkamaiDeveloper
@AkamaiDeveloper 3 года назад
Thanks for the feedback, we'll definitely consider it!
@gameprofitsGalactic
@gameprofitsGalactic Год назад
rclone does not copy permissions I believe
@hamadaparis3556
@hamadaparis3556 3 года назад
Hi this is so helpful lesson , Which one is much efficient in terms of copying data from one server to another using pure ssh or rsync ?
@AkamaiDeveloper
@AkamaiDeveloper 3 года назад
Thanks for the feedback! rsync uses ssh to copy data by default, and has a ton more options available, so it's the more efficient tool in most of cases.
@hamadaparis3556
@hamadaparis3556 3 года назад
@@AkamaiDeveloper anytime thanks
@robertoperdomo1995
@robertoperdomo1995 2 года назад
So, we can say that "Rsync" is another way to do what "scp" does?
@broozendaveloose6528
@broozendaveloose6528 2 года назад
👌
@seva2814
@seva2814 3 года назад
Nice video. But what if i want to rsync from Ubuntu to Windows?
@AkamaiDeveloper
@AkamaiDeveloper 3 года назад
While we don't support Windows, it looks like there is a simple solution to install rsync on windows as mentioned here askubuntu.com/questions/677773/transfer-file-to-windows-server-from-ubuntu
@seva2814
@seva2814 3 года назад
@@AkamaiDeveloper Thanks for the info! I already looking at WSL
@raul230285
@raul230285 2 года назад
Use rsnapshot please.
@prajwaldeshpande7984
@prajwaldeshpande7984 Год назад
cool
@TheRob2D
@TheRob2D 2 года назад
I managed to do a dry run that was successful only to fail the actual run XD
@binaybhushan1192
@binaybhushan1192 Год назад
May be key ssh authentication is not proper than if you are trying to sync to remote
Далее
Камень, ножницы, нейронка
00:33
Просмотров 113 тыс.
Ranking The Most Painful Crashes
00:19
Просмотров 2 млн
The Tragedy of systemd
47:18
Просмотров 1,1 млн
How to use the ps Command | Linux Command Line Basics
14:45
How NVIDIA just beat every other tech company
9:20
Просмотров 1,2 млн
Learning Awk Is Essential For Linux Users
20:02
Просмотров 290 тыс.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
Choose a phone for your mom
0:20
Просмотров 7 млн
Choose a phone for your mom
0:20
Просмотров 7 млн
Prices & Poco M4 Pro 5G
1:00
Просмотров 263 тыс.