Тёмный

Make an Incremental Backup Script with Bash! 

Herbertech
Подписаться 11 тыс.
Просмотров 12 тыс.
50% 1

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

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@jim7smith
@jim7smith 2 года назад
It would seem that you could use rsync to accomplish this task simply and use a script to call it with parameters. Your script is educational, though. Well done.
@ryanelliott7981
@ryanelliott7981 2 года назад
Super helpful script, very straightforward and best of all...it works! Thanks homie!
@sebastianc2077
@sebastianc2077 2 года назад
Thanks man i am new to bash scripting and this definitely helped.
@cryptombt5880
@cryptombt5880 2 года назад
Thanks for that mate. Really good video. Are you making anymore videos as you haven't posted in awhile 😊
@sibaprasadbisoi90
@sibaprasadbisoi90 Год назад
Thanks man! it is very helpful. it would be great if you create a series of scripting like the same.
@falkens_maze
@falkens_maze Год назад
I didn't even know there was a "newer file" check option
@rayyoudontneedtoknow6887
@rayyoudontneedtoknow6887 2 года назад
This works very well. I've been looking for something just like this but when you execute the file on the desktop, the terminal doesn't open the script still does its job. Is there a way to fix this
@theseeker4104
@theseeker4104 2 года назад
While on the desktop depending on the desktop enviornment you would have to make it exexutable or by going in to your terminal in the desktop and type: sudo chmod 755 backup.sh and thats it.
@abdelhamidbensadoun
@abdelhamidbensadoun 2 месяца назад
Amazing!
@solidhit2
@solidhit2 2 года назад
Hello, what happens to the files in destination that no longer exist in source? What if I delete 10000 files in source, shouldn't they also be deleted in destination?
@henriquecustodio
@henriquecustodio 3 года назад
Thanks for the video
@tesla2115
@tesla2115 6 месяцев назад
Nice! worked great!
@zk321
@zk321 Год назад
look into VS code server which allows you to use it on minimal machines
@TheLukemcdaniel
@TheLukemcdaniel 2 года назад
Something is very very wrong about seeing someone use Microsoft visual studio in Linux...
@Tro79xD
@Tro79xD 2 года назад
Very good!
@varunkandukuri
@varunkandukuri 2 года назад
@Herbertech, While taking the backup .. how can i exclude few directories from the source. Any idea please
@longdinhsy6642
@longdinhsy6642 2 года назад
But this only backs up files in source when there are only files in source right? What if there are subdirectories in the source folder too? It will duplicate because this only backs up files in the source folder.
@Herbertech
@Herbertech 2 года назад
This back-ups all files in the source including subdirs. Correct me if I'm wrong but it should as far as I know. I will do an updated version on this in the future, which will be more advanced. So if this does not support it, be patient. I'm going to focus on Bash the coming months. 😉
@longdinhsy6642
@longdinhsy6642 2 года назад
@@Herbertech yes youre correct it does backup files in the source including subdirs, but with the files in the subdirs in the source, it will backup more than once when you get into the destination folder. Basically in the destination folder there will be the subdir, and in the subdir there should only be files, but there is also another subdir of it inside
@longdinhsy6642
@longdinhsy6642 2 года назад
i followed your tutorial and it was really helpful, but i think this only works if you only have files inside a folder, not when there are also sub folders in it.
@longdinhsy6642
@longdinhsy6642 2 года назад
If a file is edited, it will backup that newer version. But if the file is in another directory and it's edited, it will backup that newer version but with the directory it's in as well.
@IceOnDaMix
@IceOnDaMix 2 года назад
ERROR: find: -printf: unknown primary or operator #im running on macos
@IceOnDaMix
@IceOnDaMix 2 года назад
@Herbertech
Далее
How To Create a Backup Script?
14:08
Просмотров 21 тыс.
Тренд Котик по очереди
00:10
Просмотров 347 тыс.
Find The Real MrBeast, Win $10,000
00:37
Просмотров 34 млн
this BASH script will KILL you.
29:43
Просмотров 277 тыс.
Write Your Own Bash Scripts for Automation [Tutorial]
16:35
How To Create Advanced Backup Script?
35:39
BASH Environment | Aliases, Functions and Scripts
49:26
BASH scripting will change your life
14:18
Просмотров 1 млн
Become a bash scripting pro - full course
36:00
Просмотров 59 тыс.