LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2017, 06:10 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Rep: Reputation: 29
Server imaging software for Linux server


Hi guys what are you using to backup a server image to a USB HDD...I use macrium reflect for Windows...Haven't actually looked if macrium runs on centos 7... Thought I would see what you guys are using.... A free solution would be great I know you use tools like DD and rsync but I'm actually looking to image...thanks
 
Old 01-23-2017, 11:14 PM   #2
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 891

Rep: Reputation: 119Reputation: 119
when i want to create a complete backup image, i just use dd, but the disk can't be mounted. of course on a server you really only backup configuration files and important data. then restoring a server is quick and easy. So on a running disk rsync and tar work great too.
 
Old 01-24-2017, 06:16 AM   #3
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
so you would just reinstall from scratch?
 
Old 01-24-2017, 06:23 AM   #4
Turbocapitalist
Senior Member
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 4,428
Blog Entries: 3

Rep: Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205
Quote:
Originally Posted by sigint-ninja View Post
so you would just reinstall from scratch?
Not quite from scratch. You can highly automate the selection and installation of packages in several ways. Same for the configurations. Then pumping the data over is mostly a matter of rsync. This is for CentOS 7, right?
 
Old 01-24-2017, 12:28 PM   #5
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
yes indeed...so you would install a basic server config...maybe from a kickstart file
then automate the packages installation using dd
then throw over all your data etc using rsync
all scripted of course...?
 
Old 01-24-2017, 01:42 PM   #6
Turbocapitalist
Senior Member
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 4,428
Blog Entries: 3

Rep: Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205
All scripted of course, but no role for dd in the process. It's been a while since I've dealt with kickstart files specifically but if you go that route one tip is to fetch the file or the list of packages over HTTPS during your development phase. It takes time to build a disc image but editing a text file is as good as instantaneous. So you can build a disc image that points to a file or two on your local server and work quickly with the text file instead of spending time generating ISO-9660 images. From what I recall, I did a lot (on the RPM systems) with post-installation scripts and kept the actual kickstart to a minimum.

How many machines are you talking about? If it's a small number it may not be worth a kickstart and a post-installation script will do fine. If it's a large number then a bare bones kickstart followed by ansible or similar would work.
 
Old 01-26-2017, 07:45 AM   #7
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
no just my own private server...i sweated blood and tears to get wordpress going on it and i have everything setup the way i need...wouldnt want to lose everything to a hard drive crash etc...
 
Old 01-26-2017, 08:15 AM   #8
Turbocapitalist
Senior Member
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 4,428
Blog Entries: 3

Rep: Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205
Quote:
Originally Posted by sigint-ninja View Post
no just my own private server...i sweated blood and tears to get wordpress going on it and i have everything setup the way i need...wouldnt want to lose everything to a hard drive crash etc...
Ok. Then just a regular backup would work and be less effort. There are a lot of tools for that but I prefer rsync for the data and tar for the configuration files, including the list of installed packages. rsync can even do incremental backup. Back up of the database(s) is a separate matter and requires an extra step before moving on to rsync and tar.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux based Standard Operating Environment (SOE) imaging server mdronis Linux - Desktop 3 09-10-2012 02:15 PM
Server imaging or backup software? admir330 Linux - Software 1 12-25-2008 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration