Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


rscole86

4999 posts

Uber Geek
+1 received by user: 462

Moderator
Trusted
Lifetime subscriber

#242628 6-Nov-2018 15:50
Send private message

I want to FTP snapshots from a security camera to a remote server.

 

I have a

 

  • Dahua NVR that already records 24/7 with IVS from a Dahua camera. 
  • 2x Raspberry pi, one running Haspbian/HA only. 2nd is my pihole/VPN
  • dreamhost server

 

 

Ideally I want to FTP to the pi, then the pi monitors for new files in the folder, then moves or copy/delete to the remote server via SFTP.

 

What would the simplest way to implement this be? Gui would be ideal but happy to break my way through things on linux if required.


Create new topic
gehenna
8667 posts

Uber Geek
+1 received by user: 3883

Moderator
Trusted
Lifetime subscriber

  #2120923 6-Nov-2018 15:51
Send private message

You'll want to write a script and cron the job to check for changes to the directory.




davidcole
6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #2120983 6-Nov-2018 17:03
Send private message

I do similar, but windows, where the nvr ftps out to a windows machine and then I use the google photos uploader to load all the photos to unlimited google photos storage.




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


rscole86

4999 posts

Uber Geek
+1 received by user: 462

Moderator
Trusted
Lifetime subscriber

  #2127904 16-Nov-2018 12:59
Send private message

I struggled to get FTP or SFTP working internally, in part due to issues with the NVR, secondly my very limited knowledge around vsftpd and linux. I was wanting to go down this route and use rclone to get the images sent to a remote server.

 

Settled on SMTP to gmail account, that only forwards attachments ie not the triggers for start/finish of events, and IFTTT to copy the attachment to GDrive.




davidcole
6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #2127917 16-Nov-2018 13:26
Send private message

rscole86:

 

I struggled to get FTP or SFTP working internally, in part due to issues with the NVR, secondly my very limited knowledge around vsftpd and linux. I was wanting to go down this route and use rclone to get the images sent to a remote server.

 

Settled on SMTP to gmail account, that only forwards attachments ie not the triggers for start/finish of events, and IFTTT to copy the attachment to GDrive.

 

 

Just note, that by copying the attachment to gdrive....it is counted as part of your overall gmail storage.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


rscole86

4999 posts

Uber Geek
+1 received by user: 462

Moderator
Trusted
Lifetime subscriber

  #2127954 16-Nov-2018 14:24
Send private message

Thanks, shouldn't be a problem as the account was only created for this reason. All photos will eventually be deleted.


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.