Backup Server Linux

Backup Externally

Next, it’s a good idea to take your local backup files and back them up to another system. The reason we want to do this is in case this system is compromised and/or you lose access to it.

Keeping Linux to Linux server Backup using rsync command. (BackupMachine)

a) Backup source.

b) Backup Destination.

So here I am installation in backup destination.

rsync is a utility for efficiently transferring and synchronizing files between a computer and a storage drive and across networked computers by comparing the modification times and sizes of files.

In both machine rsync Libraries have to install.

b) Backup Destination.

[root@volbackup ~]# dnf update -y

[root@volbackup ~]# dnf upgrade -y

[root@volbackup ~]# rpm -qa | grep rsync

[root@volbackup ~]# yum install rsync -y

[root@volbackup ~]# mkdir -p /etc/volmachine_backup

[root@volbackup ~]# mkdir -p /etc/ vol_database

  1. Backup source.

[root@vol ~]# rpm -qa | grep rsync

[root@vol ~]# yum install rsync -y

So here I am transfer backup to destination server

Source backup server to Destination backup server.

always need to remember taking the backup to current server to other server,

 so have to make the commands to current server after the commands sucessfully run the you can check the other server data will be there.

After the synchronizing need to type the password.

[root@hq www]# rsync -av -e ssh /var/www/ root@

[root@vol mysql]# rsync -av -e ssh /var/lib/mysql root@

So once backup finished.

All setup backup directory and files and folders will be in new backup server.

One thought on “Backup Server Linux

  • August 20, 2022 at 6:04 pm

    Valuable info. Lucky me I found your website by accident, and I’m shocked why this accident did not happened earlier! I bookmarked it.


Leave a Reply

Your email address will not be published. Required fields are marked *