Ignore existing files..

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Ignore existing files..

      I am rsync'ing my Movie directory to a backup OMV server. Everything is going fine but taking forever because of the large amount of data being sync'd. For the next time, I only want to sync what is new not the entire directory again. To do this do I add the '--ignore-existing' option in the Extra Options box?

      I am pretty sure that's what I have to do but want to make sure so that I don't screw something up on either the server or the backup server by using a wrong command. Thanks...
    • flyinjoe13 wrote:

      I am rsync'ing my Movie directory to a backup OMV server. Everything is going fine but taking forever because of the large amount of data being sync'd. For the next time, I only want to sync what is new not the entire directory again. To do this do I add the '--ignore-existing' option in the Extra Options box?

      I am pretty sure that's what I have to do but want to make sure so that I don't screw something up on either the server or the backup server by using a wrong command. Thanks...
      Are you using the plugin? That's how rsync works. After the first sync (which it has to sync everything, assuming it is going to a blank target).. After the first sync, it will only sync changes.

      Just keep in mind if you rename "Folder A" to "Folder with Lots of Stuff" on the source... when the sync job runs, it's going to have both folders (and the content of those folders) on the target drive.. unless you have the "delete" option enabled. If the delete option is enabled, it would delete "Folder A" and it's underlying content, and then sync "Folder with Lots of Stuff" and then it's underlying content...

      Hope that makes sense.
      Air Conditioners are a lot like PC's... They work great until you open Windows.

      The post was edited 2 times, last by KM0201 ().

    • flyinjoe13 wrote:

      I am using the Rsync option from the left side menu tree. I don't know if that's a plugin or not. It was always there from the time I installed OMV I think.

      So if I understand you correctly, I don't have to worry about adding that extra option. Just wanted to make sure of that. Thanks for the info.I am using the Rsync option from the left side menu tree. I don't know if that's a plugin or not. It was always there from the time I installed OMV I think.
      Correct.
      Air Conditioners are a lot like PC's... They work great until you open Windows.

    • flyinjoe13 wrote:

      So if I understand you correctly, I don't have to worry about adding that extra option.
      AFAIK it is important to enable the archive option. Part of it is to preserve modification times. If not set you might end up rsyncing all files all the time.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • macom wrote:

      flyinjoe13 wrote:

      So if I understand you correctly, I don't have to worry about adding that extra option.
      AFAIK it is important to enable the archive option. Part of it is to preserve modification times. If not set you might end up rsyncing all files all the time.
      I'm not in front of my NAS at the moment, but I've used rsync a lot, and if that's required, then it is enabled by default.. because I've honestly never changed a single setting on my rsync jobs from the defaults, except for when I schedules and when I enable/disable the delete trigger.
      Air Conditioners are a lot like PC's... They work great until you open Windows.

    • KM0201 wrote:

      then it is enabled by default..
      Yes, it is enabled by default.
      I have not tested if disabling always shows this behavior, but I remember one case where it did.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!: