First step was backup your Linux VPS directly on the server and then download it into your machine. Here’s how to create a compressed backup and download it afterward.
- Create a Compressed Archive on the VPS:
- You can use
tar
to create a compressed archive of the entire root filesystem while excluding directories that don’t need to be backed up (such as/dev
,/proc
,/sys
, etc.). - Run the following command on your VPS:
- You can use