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

4541 posts

Uber Geek

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

Uber Geek

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.


Affiliate link
 
 
 

Affiliate link: NordVPN allows you to securely access the Internet, encrypt your connection and keep your browsing history private.
davidcole
5535 posts

Uber Geek

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

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Windows 10
Host Plex Server 3x3TB, 4x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 2xUbuntu 20.04 LTS, Backblaze Backups, 


rscole86

4541 posts

Uber Geek

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

Uber Geek

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

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Windows 10
Host Plex Server 3x3TB, 4x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 2xUbuntu 20.04 LTS, Backblaze Backups, 


rscole86

4541 posts

Uber Geek

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





News and reviews »

Samsung Introducing Galaxy Z Flip4 and Galaxy Z Fold4
Posted 11-Aug-2022 01:00


Samsung Unveils Health Innovations with Galaxy Watch5 and Galaxy Watch5 Pro
Posted 11-Aug-2022 01:00


Google Bringing First Cloud Region to Aotearoa New Zealand
Posted 10-Aug-2022 08:51


ANZ To Move to FIS Modern Banking Platform
Posted 10-Aug-2022 08:28


GoPro Hero10 Black Review
Posted 8-Aug-2022 17:41


Amazon to Acquire iRobot
Posted 6-Aug-2022 11:41


Samsung x LIFE Picture Collection Brings Iconic Moments in History to The Frame
Posted 4-Aug-2022 17:04


Norton Consumer Cyber Safety Pulse Report: Phishing for New Bait on Social Media
Posted 4-Aug-2022 16:50


Microsoft Announces New Solutions for Threat Intelligence and Attack Surface Management
Posted 3-Aug-2022 21:54


Seagate Addresses Hyperscale Workloads with Enterprise-Class Nytro SSDs
Posted 3-Aug-2022 21:50


Visa Launching Eco-friendly Payment Solutions in New Zealand
Posted 3-Aug-2022 21:48


NCR Delivers Services to Run Bank of New Zealand ATM Network
Posted 30-Jul-2022 11:06


New HP Portfolio Supports New Era of Hybrid Work
Posted 28-Jul-2022 17:14


Harman Kardon Launches Citation MultiBeam 1100 Soundbar
Posted 28-Jul-2022 17:10


Nanogirl Labs Launches Creator Project
Posted 28-Jul-2022 17:05









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.







Backblaze unlimited backup