How do I take backup Using SFTP?

OVERVIEW

If you want the backup at the local machine using SFTP, follow the below steps:

STEPS -

1 - Make the compressed file

Go to the document root.

Ex: If it's using an Apache application layer, then it should be /var/www/webroot/ROOT.

Make the .tar, .zip, etc. file of ROOT folder.

app.png


Then give full permission to a compressed file:

chmod 777 root.tar.gz

2 - Download the file

Connect to your node using SFTP 

You can also take the backup using ssh.

wget http://name-of-environment.cloudjiffy.net/path of file.

Ex : wget http:///root.tar.gz


Was this article helpful?

mood_bad Dislike 0
mood Like 1
visibility Views: 8531