Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. What is the best way to sync images to my NAS?

What is the best way to sync images to my NAS?

Scheduled Pinned Locked Moved Selfhosted
selfhosted
32 Posts 16 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • appoxo@lemmy.dbzer0.comA [email protected]

    Any suggestions on how to optimize it? 🙂
    Using it on my steamdeck and on-demand on my phone.

    lemmchen@feddit.orgL This user is from outside of this forum
    lemmchen@feddit.orgL This user is from outside of this forum
    [email protected]
    wrote last edited by [email protected]
    #23

    Set up a "global" ignore file that gets synced between devices. Call it .stignoreglobal for example and and change the .stignore file (which doesnt get synced) on every device to only include #include .stignoreglobal. Now your ignore state gets synced between devices and you can make changes from anywhere.

    Mine looks like this:

    // Incomplete Downloads
    *.part
    *.crdownload
    
    // OS-generated files
    desktop.ini
    Thumbs.db
    
    // Cache
    cache
    spotifycache
    
    // Unity analytics
    Unity
    
    // LineageOS updater
    org.lineageos.updater
    
    // No read access :(
    /Android/{data,obb}
    

    You can learn how to write one yourself here: https://docs.syncthing.net/users/ignoring.html

    Other stuff:

    • On Android I use this: https://f-droid.org/packages/com.github.catfriend1.syncthingandroid/
    • Some Info on how you can reduce battery usage: https://github.com/Catfriend1/syncthing-android/blob/main/wiki/Info-on-battery-optimization-and-settings-affecting-battery-usage.md
    • Make sure SyncThing is excluded from your phone's battery optimizations (varies by vendor).
    • To save on mobile bandwidth I have it set up to only sync on WiFi.
    • You can set up a symmetric key (basically a password) and sync your stuff to a friends instance. Your friend will not be able to read the data without the key (make sure it's a long random string). This also helps if you're running a SyncThing instance on a VPS for example.
    appoxo@lemmy.dbzer0.comA 1 Reply Last reply
    4
    • lemmchen@feddit.orgL [email protected]

      Set up a "global" ignore file that gets synced between devices. Call it .stignoreglobal for example and and change the .stignore file (which doesnt get synced) on every device to only include #include .stignoreglobal. Now your ignore state gets synced between devices and you can make changes from anywhere.

      Mine looks like this:

      // Incomplete Downloads
      *.part
      *.crdownload
      
      // OS-generated files
      desktop.ini
      Thumbs.db
      
      // Cache
      cache
      spotifycache
      
      // Unity analytics
      Unity
      
      // LineageOS updater
      org.lineageos.updater
      
      // No read access :(
      /Android/{data,obb}
      

      You can learn how to write one yourself here: https://docs.syncthing.net/users/ignoring.html

      Other stuff:

      • On Android I use this: https://f-droid.org/packages/com.github.catfriend1.syncthingandroid/
      • Some Info on how you can reduce battery usage: https://github.com/Catfriend1/syncthing-android/blob/main/wiki/Info-on-battery-optimization-and-settings-affecting-battery-usage.md
      • Make sure SyncThing is excluded from your phone's battery optimizations (varies by vendor).
      • To save on mobile bandwidth I have it set up to only sync on WiFi.
      • You can set up a symmetric key (basically a password) and sync your stuff to a friends instance. Your friend will not be able to read the data without the key (make sure it's a long random string). This also helps if you're running a SyncThing instance on a VPS for example.
      appoxo@lemmy.dbzer0.comA This user is from outside of this forum
      appoxo@lemmy.dbzer0.comA This user is from outside of this forum
      [email protected]
      wrote last edited by
      #24

      Neat!

      I am already using a selective sync for my emulator save data between my NAS, PC and steamdeck in a triangle sync and on top another sync for the data I generate on my phone.

      1 Reply Last reply
      1
      • C [email protected]

        I'm kind of surprised I've struggled with this so long. Right now I've been using nextcloud camera upload, and mostly it works ok but shits the bed once in a while without me noticing and I need to spend time fixing it and it's never as simple as turning it off and on again.

        I recently tried syncthing, and while it works, it frequently crashed and got stuck in a state where it says it's on and working by my destination folder is shown as disconnected, and the options to restart syncthing from the side menu are greyed out and the only way to make it work again is by force closing it and reopening it.

        I'm running vanilla stock Google Android and truenas, does anyone have a better solution?

        T This user is from outside of this forum
        T This user is from outside of this forum
        [email protected]
        wrote last edited by [email protected]
        #25

        I use Syncthing to sync DCIM and Pictures folders from Android to my computer. Every six month or so, I move pictures from these folder to the folder for this years pictures: home/pictures/2025. So they disappear from my phone as well, which is great to free up space. This works great for me.

        C 1 Reply Last reply
        3
        • T [email protected]

          I use Syncthing to sync DCIM and Pictures folders from Android to my computer. Every six month or so, I move pictures from these folder to the folder for this years pictures: home/pictures/2025. So they disappear from my phone as well, which is great to free up space. This works great for me.

          C This user is from outside of this forum
          C This user is from outside of this forum
          [email protected]
          wrote last edited by
          #26

          I played more and got it working a bit better. Where it becomes a management nightmare is how it's designed. Too much of a hassle to sync between a server and DHCP clients over different vlans.

          1 Reply Last reply
          0
          • oyzmo@lemmy.worldO [email protected]
            1. USB cable from iPhone to PC.
            2. Sort by date in filemanager.
            3. Copy all images since last date backed up to my PC.
            4. Review and delete crappy images.
            5. Move to my NAS via filemanager.
            6. Create a textfile called t.ex. 07juli (so that next time I know to copy files after this date, since I like to keep most pics on my phone).

            Do this once or twice a month 🙂

            C This user is from outside of this forum
            C This user is from outside of this forum
            [email protected]
            wrote last edited by
            #27

            This works well, but not when you have 13k/150GB of photos lol

            1 Reply Last reply
            0
            • 3 [email protected]

              Sorry. Couldnt help you with that. I use nextcloud and syncthing myself.

              Havent try immich but i heard immich was the next best thing, be aware though, last i heard even the dev said the app was in active development so things might break.

              C This user is from outside of this forum
              C This user is from outside of this forum
              [email protected]
              wrote last edited by
              #28

              I think it's because I have 150GB of photos on 2 different phones and don't clean them out often.

              1 Reply Last reply
              0
              • C [email protected]

                I'm kind of surprised I've struggled with this so long. Right now I've been using nextcloud camera upload, and mostly it works ok but shits the bed once in a while without me noticing and I need to spend time fixing it and it's never as simple as turning it off and on again.

                I recently tried syncthing, and while it works, it frequently crashed and got stuck in a state where it says it's on and working by my destination folder is shown as disconnected, and the options to restart syncthing from the side menu are greyed out and the only way to make it work again is by force closing it and reopening it.

                I'm running vanilla stock Google Android and truenas, does anyone have a better solution?

                L This user is from outside of this forum
                L This user is from outside of this forum
                [email protected]
                wrote last edited by
                #29

                Rsync, termux widget with a bash. Press button and it syncs my photos to my server filesystem

                C 1 Reply Last reply
                0
                • avidamoeba@lemmy.caA [email protected]

                  Check your Syncthing settings. It's a very reliable piece of software. Other than that Immich, but that's a slightly different use case.

                  C This user is from outside of this forum
                  C This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #30

                  I figured it out. It gets a little more complex when you're using a reverse proxy and inter-vlan routing lol.

                  Too much of a hassle for me, unless I dump the instance on my wifi network but if I set this up I'd like the option to use it for my other vlans too.

                  1 Reply Last reply
                  0
                  • L [email protected]

                    Rsync, termux widget with a bash. Press button and it syncs my photos to my server filesystem

                    C This user is from outside of this forum
                    C This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #31

                    Sounds like the easiest method lol. At least that way I could add in something to delete photos after copying them if they're X days old.

                    L 1 Reply Last reply
                    0
                    • C [email protected]

                      Sounds like the easiest method lol. At least that way I could add in something to delete photos after copying them if they're X days old.

                      L This user is from outside of this forum
                      L This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #32

                      Definitely easiest and most manual, but not "robust" I guess but its hard for it to fail you're more likely to have user error than system error

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups