Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a Linux server (using azure vm) hosting my code compromising of node.js, Angular. I wish to download all files from the server regularly for a back up. How can I download a zipped file directly from the server using command line?

What I have tried:

So far tried ftp but it looks to be very inefficient way to do it (various skipped files, too much time etc).
Posted
Updated 2-Dec-22 15:15pm

1 solution

Use a FTP program like CuteFTP[^] or WinSCP :: Official Site :: Free SFTP and FTP client for Windows[^] or if you are looking at scheduled backups, look at What is Azure Backup? - Azure Backup | Microsoft Learn[^]
 
Share this answer
 
v2
Comments
Bhole Shankar 2022 2-Dec-22 22:03pm    
Thx for reply. Already used Filezilla for this purpose/ftp but my purpose is to download a single zipped file from the server containing all files (for some reason ftp always tends to skip some files and takes too long)
Dave Kreskowiak 2-Dec-22 22:16pm    
Then you're going to have to setup a job on the server to .ZIP up all the files you want and put that .ZIP in a location where you can download it over FTP.
Bhole Shankar 2022 2-Dec-22 22:51pm    
Yes that's exactly what's needed. However, I need to know the steps to set up a job on the server to zip up all the files (or specific files).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900