Jump to content

Data Networking/Spring 2015/GROUP4/Web Server Backup

From Wikiversity

configuration of back up server

[edit | edit source]

Backup server must be in a rot mode before the execution.

 sudo bash

After entering rootmode

 sudo rsyn -dry-run-delete-azzv-e
 sshhostname@IP address of main web server:/Directory of webpage of main webserver /directory of webpage of backup server
for dry run
 sudorsync-delete-azvv-e
 ssh
 192.168.5.6:/var/www/index.html/home/rajesh/backup