How to Create Archives Using SFTP Client
Emmad avatar
Written by Emmad
Updated over a week ago

Table of Contents

In this guide, we will use SFTP Client WinSCP (Download Link) to create an archive of files/folders.

How to Create Archives Using SFTP Client

Step #1

  1. Launch winscp client and select file-protocol to SFTP

  2. Enter server-ip-address in Host.

  3. You need to input your master or application username ((Master credentials and Application credentials)

  4. Next, input your password.

  5. Set Port 22.

  6. Finally, click Login.

Important

If you are using the Master Credentials, you will need to browse to your target application folder. If you are using the Application Credentials, you will land directly in the respective application folder.

Tip

Navigating to your target application folder is easy using master credentials. Simply Click on the folders in the following sequence: applications → appname → public_html

Whereas, the app name is the database name of your application that you can easily find in your access details area.

Step #2

Once you are in your desired application folder, Select (Using Ctrl + Left-Mouse-Button) the files/folders that need to be archived.

Step #3

Now click on the “Zip Upload” option in the menu bar to create an archive of the selected files/folders.

A pop-up window will appear from where you can give your archive file a “name” & can select the archiving mechanism from the drop down menu after that click on the “Ok” button to create the archive.

Important

Zip type provides the lowest compression rate of files while Tar type provides the highest file compression.

Where as; Low Compression rate = Archived file will be of somewhat the same size as the combined file size of the files/folders.

High Compression rate = Archived file size will be smaller than the combined size of the files/folders.

Step #4

Once the archiving process finishes. Click on the “Refresh” button to view the newly made archive file. You can then safely download that file or you may use it as per your need.

That’s it! We hope this article was helpful. If you need any help, then feel free to search your query on Cloudways Support Center or contact us via chat (Need a Hand > Send us a Message). Alternatively, you can also create a support ticket.

Did this answer your question?