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.




4305 posts

Uber Geek
+1 received by user: 85

Moderator
Trusted
Lifetime subscriber

Topic # 242628 6-Nov-2018 15:50
Send private message quote this post

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
5091 posts

Uber Geek
+1 received by user: 1207

Moderator
Trusted
Lifetime subscriber

  Reply # 2120923 6-Nov-2018 15:51
Send private message quote this post

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


4128 posts

Uber Geek
+1 received by user: 551

Trusted

  Reply # 2120983 6-Nov-2018 17:03
Send private message quote this post

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

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


 
 
 
 




4305 posts

Uber Geek
+1 received by user: 85

Moderator
Trusted
Lifetime subscriber

  Reply # 2127904 16-Nov-2018 12:59
Send private message quote this post

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.


4128 posts

Uber Geek
+1 received by user: 551

Trusted

  Reply # 2127917 16-Nov-2018 13:26
Send private message quote this post

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

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex




4305 posts

Uber Geek
+1 received by user: 85

Moderator
Trusted
Lifetime subscriber

  Reply # 2127954 16-Nov-2018 14:24
Send private message quote this post

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


Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



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.

Alternatively, you can receive a daily email with Geekzone updates.