Min menu

Pages

make backup for website using shell, How To Backup Your Website Through SSH


make backup for website using shell, How To Backup Your Website Through SSH



Hi to All Webmasters,

Many of webmasters need to male full backup of the website that host in unix server using shell.

In those steps that i will to explain you can make full backup for any account in your unix server:
1- Enter your server using Shell with Putty program and enter  your credential.
2-Try to do the following command  :

/scripts/pkgacct username  
you must change the username with the user account that you will made 
backup for them.
3-Wait until the process finish.
4-Try to do the following command to move the backup to user folder so he can download it:
cd /home   
Then
chmod 666 cpmove-username.tar.gz  
Then
mv cpmove-username.tar.gz /home/username/www/cpmove-username.tar.gz  
  
5- Enjoy you are make full backup for website using shell.
Note: you can make backup for any website only change the username of the account

How To Backup Your Website Through SSH
reaction:
https://www.it-weblog.com IT weblog and IT Blog contain articles for computer, network,security ,adsense,Hosting, google,freeware download from IT blog.

Comments