Make an Incremental Backup Script with Bash!

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ย. 2024

ความคิดเห็น • 23

  • @sibaprasadbisoi90
    @sibaprasadbisoi90 ปีที่แล้ว

    Thanks man! it is very helpful. it would be great if you create a series of scripting like the same.

  • @ryanelliott7981
    @ryanelliott7981 2 ปีที่แล้ว +2

    Super helpful script, very straightforward and best of all...it works! Thanks homie!

  • @sebastianc2077
    @sebastianc2077 2 ปีที่แล้ว +2

    Thanks man i am new to bash scripting and this definitely helped.

  • @jim7smith
    @jim7smith 3 ปีที่แล้ว +5

    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.

  • @cryptombt5880
    @cryptombt5880 2 ปีที่แล้ว +2

    Thanks for that mate. Really good video. Are you making anymore videos as you haven't posted in awhile 😊

  • @solidhit2
    @solidhit2 3 ปีที่แล้ว +1

    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?

  • @varunkandukuri
    @varunkandukuri 2 ปีที่แล้ว

    @Herbertech, While taking the backup .. how can i exclude few directories from the source. Any idea please

  • @rayyoudontneedtoknow6887
    @rayyoudontneedtoknow6887 2 ปีที่แล้ว +1

    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 3 หลายเดือนก่อน

    Amazing!

  • @tesla2115
    @tesla2115 7 หลายเดือนก่อน

    Nice! worked great!

  • @henriquecustodio
    @henriquecustodio 3 ปีที่แล้ว +2

    Thanks for the video

  • @falkens_maze
    @falkens_maze ปีที่แล้ว +1

    I didn't even know there was a "newer file" check option

  • @zk321
    @zk321 ปีที่แล้ว

    look into VS code server which allows you to use it on minimal machines

  • @Tro79xD
    @Tro79xD 2 ปีที่แล้ว +1

    Very good!

  • @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

  • @TheLukemcdaniel
    @TheLukemcdaniel 2 ปีที่แล้ว +2

    Something is very very wrong about seeing someone use Microsoft visual studio in Linux...