Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories Products

Using Rsync to Transfer Files to a Cloudvue Gateway

Description 

At times it may be necessary to move files to a Cloudvue Gateway and while other tools such as SCP or MobaXterm can usually manage the job, rsync can track progress and resume after an interruption which can be particularly useful when transferring large files like the latest Cloudvue software or on slow or unstable connections.

Product

  • Cloudvue Gateway

Solution

The command structure is:

rsync -p -e ‘ssh -p [PORT]’ [PATH/FILENAME] smartvue@[IPADDRESS]:/home/smartvue
  • -P  option will force rsync to show a progress bar and keep partially transferred files. 
  • -e  option allows you to specify a different listening port on the remote host
  • ‘ssh – p [PORT]’  Specifies that ssh be used through a specific port number, use 7627 if local or whatever port was assigned in Cloudvue Manager when setting up the tunnel
  • [PATH/FILENAME]  The local path and  file name to be transferred
  • [IPADDRESS]  The IP address of the Cloudvue Gateway, the LAN IP if local or localhost when tunneling
  • :/home/smartvue  The smartvue home folder on Cloudvue Gateways

Note: When tunneling you must first establish the tunnel. You will then need to open a 2nd instance of WSL or terminal to run the rsync commands.

Examples

In the following examples a file named “22.9.2-smartvue-x64-production.tar.bz2” located in “/home/joakest/tunneling/” is transferred to the gateways smartvue users home folder.

Local Connection

$ rsync -P -e 'ssh -p 7627' /home/joakest/tunneling/22.9.2-smartvue-x64-production.tar.bz2 smartvue@192.168.1.180:/home/smartvue
smartvue@localhost's password:
22.9.2-smartvue-x64-production.tar.bz2
200,493,957 100% 390.99MB/s 0:00:00 (xfr#1, to-chk=0/1)
  • When prompted enter the SSH password found in Cloudvue Manager.
  • The progress of the file transfer will display, and the prompt will return when completed.

Tunnel Connection

$ rsync -P -e 'ssh -p 8346' 22.9.2-smartvue-x64-production.tar.bz2 smartvue@localhost:/home/smartvue
The authenticity of host '[localhost]:8346 ([127.0.0.1]:8346)' can't be established.
ED25519 key fingerprint is SHA256:nw6P03KIwsjiKfy2fkJJjRUSi4dJA6gwLyd7/+0Fz0Y.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes

Warning: Permanently added '[localhost]:8346' (ED25519) to the list of known hosts.

smartvue@localhost's password:
22.9.2-smartvue-x64-production.tar.bz2
200,493,957 100% 249.79kB/s 0:13:03 (xfr#1, to-chk=0/1)
  • Since this is the first time a ssh connection has been established to this NVR from the local machine the authenticity warning will appear.
  • Continue by typing in “yes” and pressing enter.

Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories Products

Gateway Tools Designed for Cloudvue Only

Description 

Gateway Tools are designed to work with Cloudvue only and will display a “Device Offline” error if launched from Cloudvue Local.

Product 

  • Cloudvue
  • Cloudvue Local

Steps to Reproduce 

  • Access an NVR via Cloudvue Local
  • Navigate to Settings > Settings Tab > Gateway Tools
  • Click either Sync Gateway or Reboot Gateway

Expected Results 

Popup Message “Device Offline” “Reconnect Device to Continue”

Solution

This is by design, use Cloudvue (www.cloudvue.com) to launch Gateway Tools

STWELVE-10439