SlideShare a Scribd company logo
Linux Server Files Backup Solutions
Goal:
  -     Backup files in Ubuntu server to Centos server


Preparation:
  -     Ubuntu Server (v11.10)
  -     Centos Server(v6.0)


Steps:
  1. Install Rsync software into Ubuntu




  -     Ubuntu default configuration files include rsync




  -     Configure rsyncd.conf (Detailed configuration please reference relative materials)
-   Above is rsyncd.conf




-   Set password for rsync



-   Rsyncd.pass’s format is – name:password, here I set backup:backup
-   This step is really important, to change the permission of rsyncd.pass.

2. Install Rsync software into Centos




-   Before install rsync, xinetd service should be installed first, because rsync is
    running based on xinetd.




-   Start xinetd service




-   Install rsync services.




-   Modify rsyncd.conf (Detailed configuration please reference relative materials)
Linux server backup solution
-   Here is my Centos rsyncd.conf




-   Set password




-   Format- name:password, here I use backupuser:123456.
-   Change ownership of rsyncd.secrets (Of course you need to change it’s
    permission to 600 as Ubuntu)




-   Start rsync service.




3. Start to backup
- Put rsync service to start file so that each time when server is restarted, this
   service will start, too.




-   Make a file folder named “backup”(or any name you want) in Centos server to
    receive rsyncd files.




-   Now we can see, nothing in backup.




-   Rsync from Ubuntu to Centos, here I chose /home/carol this folder to be
    downloaded to Centos.
-   Here is the files under /home/carol which I need to rsync to Centos




-   This is the process of rsync.
-   Now we can see the same files under /home/carol of Ubuntu now have been
    downloaded to Centos backup file folder.

4. Let backup be automatically.(Here we use cron service)




-   Start crond service




-   Set the time of backup, here I set every 21 hours 30 minutes, the backup
    command will be executed.

More Related Content

What's hot (20)

ODP
Introduction to Diskless Remote Boot in Linux
Jazz Yao-Tsung Wang
 
PDF
Warsztaty ansible
gnosek
 
PPTX
Creating parallel tests for NUnit with PNUnit - hands on lab
psluaces
 
PDF
Docker
Kamil Grabowski
 
PPTX
Rule of two
Rich Moyse
 
DOC
Virtual boxen
Ngo Huu Thinh
 
PDF
Introduction to Docker
Julio Martinez
 
PDF
Declare your infrastructure: InfraKit, LinuxKit and Moby
Moby Project
 
PDF
[Js hcm] Deploying node.js with Forever.js and nginx
Nicolas Embleton
 
PPTX
От sysV к systemd
Denis Kovalev
 
ODP
Ez Content Staging for the rest of us
Gaetano Giunta
 
PDF
linux_distro
Thipphachan Maniphousai
 
DOCX
DockerCoreNet
Eimantas Žlabys
 
PPTX
How to deploy docker container inside ikoula's cloud
Nicolas Trauwaen
 
PDF
SwiftyGPIO
CocoaHeads France
 
PPTX
Practical Introduction To Linux
Zeeshan Rizvi
 
PDF
OMD and Check_mk
Artur Martins
 
PPTX
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGI
Max Tepkeev
 
KEY
Amepad lt(tmpfs)
Satoshi Udagawa
 
PDF
Conair
Timo Derstappen
 
Introduction to Diskless Remote Boot in Linux
Jazz Yao-Tsung Wang
 
Warsztaty ansible
gnosek
 
Creating parallel tests for NUnit with PNUnit - hands on lab
psluaces
 
Rule of two
Rich Moyse
 
Virtual boxen
Ngo Huu Thinh
 
Introduction to Docker
Julio Martinez
 
Declare your infrastructure: InfraKit, LinuxKit and Moby
Moby Project
 
[Js hcm] Deploying node.js with Forever.js and nginx
Nicolas Embleton
 
От sysV к systemd
Denis Kovalev
 
Ez Content Staging for the rest of us
Gaetano Giunta
 
DockerCoreNet
Eimantas Žlabys
 
How to deploy docker container inside ikoula's cloud
Nicolas Trauwaen
 
SwiftyGPIO
CocoaHeads France
 
Practical Introduction To Linux
Zeeshan Rizvi
 
OMD and Check_mk
Artur Martins
 
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGI
Max Tepkeev
 
Amepad lt(tmpfs)
Satoshi Udagawa
 

Similar to Linux server backup solution (6)

ODP
How we setup Rsync-powered Incremental Backups
nicholaspaun
 
PDF
OSBConf 2015 | Backups with rdiff backup and rsnapshot by christoph mitasch &...
NETWAYS
 
PPTX
Presentation Linux Server setup Advance Networking
Tariqul Islam Shohag
 
PDF
I am in need of two separate files that I can save independently.pdf
brijeshagarwa329898l
 
PDF
Backup UUASC 9/6/12
Chason Chaffin
 
PDF
Tutorial CentOS 5 untuk Webhosting
Beni Krisbiantoro
 
How we setup Rsync-powered Incremental Backups
nicholaspaun
 
OSBConf 2015 | Backups with rdiff backup and rsnapshot by christoph mitasch &...
NETWAYS
 
Presentation Linux Server setup Advance Networking
Tariqul Islam Shohag
 
I am in need of two separate files that I can save independently.pdf
brijeshagarwa329898l
 
Backup UUASC 9/6/12
Chason Chaffin
 
Tutorial CentOS 5 untuk Webhosting
Beni Krisbiantoro
 
Ad

Recently uploaded (20)

PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Ad

Linux server backup solution

  • 1. Linux Server Files Backup Solutions Goal: - Backup files in Ubuntu server to Centos server Preparation: - Ubuntu Server (v11.10) - Centos Server(v6.0) Steps: 1. Install Rsync software into Ubuntu - Ubuntu default configuration files include rsync - Configure rsyncd.conf (Detailed configuration please reference relative materials)
  • 2. - Above is rsyncd.conf - Set password for rsync - Rsyncd.pass’s format is – name:password, here I set backup:backup
  • 3. - This step is really important, to change the permission of rsyncd.pass. 2. Install Rsync software into Centos - Before install rsync, xinetd service should be installed first, because rsync is running based on xinetd. - Start xinetd service - Install rsync services. - Modify rsyncd.conf (Detailed configuration please reference relative materials)
  • 5. - Here is my Centos rsyncd.conf - Set password - Format- name:password, here I use backupuser:123456.
  • 6. - Change ownership of rsyncd.secrets (Of course you need to change it’s permission to 600 as Ubuntu) - Start rsync service. 3. Start to backup - Put rsync service to start file so that each time when server is restarted, this service will start, too. - Make a file folder named “backup”(or any name you want) in Centos server to receive rsyncd files. - Now we can see, nothing in backup. - Rsync from Ubuntu to Centos, here I chose /home/carol this folder to be downloaded to Centos.
  • 7. - Here is the files under /home/carol which I need to rsync to Centos - This is the process of rsync.
  • 8. - Now we can see the same files under /home/carol of Ubuntu now have been downloaded to Centos backup file folder. 4. Let backup be automatically.(Here we use cron service) - Start crond service - Set the time of backup, here I set every 21 hours 30 minutes, the backup command will be executed.