Urbackup Tool On Centos 7
Mar 24, 2017 Worrying about how you do the backup is only part of the planning. Backups are for disaster recovery, so let's start with a couple of disasters: (1) a thief breaks in overnight and steals all the servers and disks he can lay his hands on, or (2) there is a fire/earthquake/plane crash and the whole building (including contents) are destroyed. We suggest you read through our special series on setting up Samba4 Active Directory Domain Controller, which includes critical topics for Ubuntu, CentOS, and Windows. Install Samba4 in CentOS 7. First install Samba4 and required packages from the default CentOS repositories using the yum package manager tool as shown.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Today!Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.Are you new to LinuxQuestions.org? Visit the following links: If you have any problems with the registration process or your account login, please. If you need to reset your password,.Having a problem logging in?
Please visit to clear all LQ-related cookies. Introduction to Linux - A Hands on GuideThis guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.to receive this Complete Guide absolutely free. EDIT: I apologize for asking such a common question and yes, I can Google for it.
The point is that I.trust. the members of this forum to give me good advice.
By doing a 'yum search backup', I got 38 results. I do not want to waste time fooling with the wrong thing or worse, wrecking my new system with packages I don't need, won't work, or could mess things up later. Yum list at bottom of message.I have always had a running Linux server/desktop since getting the brand new Red Hat 6.0 box set for Christmas. Live CDs and Dual Boot just do not cut it. A 24/7 running machine plus FQDN is where the fun really starts!This has always been a hobby, learning tool, and fun, but I just got a P4 64bit 3.6GHz machine, 4 sticks good 1Tb RAM, 1 Tb SATA hard drive, and a GeForce 9600 card. I now make money with the machine by mounting my $HOME/pubichtml folder as a Windows share and using Dreamweaver to make and edit the sites. The beauty of this setup is that I have a working test server with apache on the machine.
I can access locally with IP/user/ or remotely with I really need a backup plan with scheduling. Once I move the hard drive from the old CentOS 6.6 machine to the new CentOS 7 machine as a storage drive, I can move my publichtml directory, recursive, over to the 1Tb drive. Then I have only one hard drive to backup. Webmin is installed if it could be put to use.Can some of you please help me decide on a backup plan?
Audio installer download. Home Car Electronics & Auto Parts Car Audio Accessories & Installation Parts Tools & Custom Fabrication. Six Piece Installer's Panel Removal Installation Tool Kit for Car Stereo, Speakers and Car Audio Installs. Six Piece Installer's Removal Tool Kit. Durable Nylon Plastic. $16.99 Add to Cart. 12 tools you need to add to your car audio tool box. With the right installation tools and connectors, you'll be ready to handle most car audio installations. And YES, you CAN do this yourself! This Crutchfield article highlights some of the tools you'll need for your car stereo installation project.
I never setup a Linux backup before so I am not sure how to do this. I will have a little less than 300 Gb of data on the 1Tb SATA drive to backup.
What is the easiest and best way to do this? Can I use an external USB drive and some sort of script to run with cron to make incremental backups or what would you guys suggest? I do not have raids or multiple drives to backup so this should be fairly simple.Can you guys give me some scripts, links, or instructions on how to do this easily and effectively, at little to no cost, disability does not give much money for 'toys' and I do have a couple of USB drives lying around, a 500 Gb and a 750 Gb USB drive that work great.
I might even have a 1Tb USB drive in the junkbox, have to hunt for and test it. I see someone is recommending in another thread, not sure if this is good for me. Plenty of Thanks here and some friendly banter. One question remains, the tar/cron answer is most simple for me at first, Bacula looks like overkill but might be good. The tar/cron option gives me nothing for a hard disk image to restore. Do you guys 'image your disks' and restore them in the event of a total hard drive failure?
Do you use dd and in what syntax? How would you restore such an image anyway? Or am I better off with Ghost or True Image manually for imaging disks?Wow, thank you all very much for the great URLs to check out. I had a LOT of fun reading ' where dgingeri, the Windows guy, is very frustrated with the complexity of Linux backup options and preferences for CLI input to setup, run, and control the backup.
I can easily sit on either side of his fence and sympathize with both parties. Dgingeri is 'spoiled' buy the new Microsoft Backup built into Windows 7. It is free, already there, easy to setup and run, and all you need is a USB drive to plug in.
Much of Linux software does not run this way. Daemons to run, conf files to configure, cron for scheduling, and complex tar commands with arguments. I could just 'see the guy crying' reading this stuff. NOT what he wants to hear.
At the very end of the discussion, TrevorH scratches his head and replies in typical Linux fashion:'Script it, stick it in crontab, forget it (until it goes wrong).' Which I understand very well.Some distro along the ling gave me a 'scripts' directory which was empty and I had NO IDEA of what this was for. Now my scripts directory is in my path and filled with useful tools that run by cron and allow me to perform complex command line executions by typing the short script name. ZoneEdit uses a fairly simple wget command to update it's DNS servers to your IP and FQDN. It is way too long to type out but easy as heck to run in a scheduled cron job. I admit to 'cheating' on cron. Doing it by hand and remembering that syntax is beyond me without a reference.
But webmin makes cron jobs a treat! I put the ZoneEdit Dynamic DNS wget ling in webmin cron command line, substituting my own user name and password, schedule it to run every day at 1:00 AM and always have my FQDN work.
'Cheating at cron with webmin' is not really cheating, it does produce the proper crontab entry.paul@PPC-WORKS $ sudo crontab -l0 13. wget -O - -http.(cut to reduce length)Same thing wtih vi. I would only use pico or nano editors because that is all I could manage.
But my friend Gary would always use vi or vim. Once I learned enough vim commands to be useful, it is my editor of choice. I keep a desk reference handy and there is an entire chapter of vim commands and movements, vim is very powerful.
No way I will even touch emacsWhat am I going to do? Not sure yet. On the fence between the. Neither one is perfect. The tar/cron is over simplified but will do excellent data backups, but not make hard drive images in the event the entire hard drive fails.
Bacula is.very. complicated at first glance. I will have to setup MySQL which I have done many times for things like Coppermine Photo Gallery. Will probably help with that. I have always used that tool in the past to get the database setup and running.There is one more option I need to ask you all about:I like webmin and use it all the time.
It has a module for 'Filesystem Backup' which is currently unused. It offers to backup directories for you in tar format if you wish and has a restore button to 'put it all back'. Since I have not tried it, how good is this system? Is it something I can seriously use? Will it backup to a USB drive? Does anyone know?
Something like this is the same as the tar/cron page but is done via webmin interface. I see no area for scheduling but that might be due to the fact I have never set it up. Is the webmin 'Filesystems Backup' worthy of a try? I know, I know, you guys are laughing and would never even consider such a crude tool like webmin for backups, but it might get me on safe ground while I figure out something better.DOH!
The does show scheduling and give all the instructions. This might 'get me on safe ground for the time being'. The docs say you can backup to the same filesystem (dumb) or to a 'tape system' (Kidding me, right?). But what if I sub the usb drive for the tape drive in webmin? Let me plug it in and see what it offers. It self mounts and shows up as /dev/sdb1 on /run/media/paul/My Passport. I have been using this in Windows and am sure that I will have to reformat this somehow for use in Linux.
Fdisk does not seem to like this disk. What is the problem, do you think it must be partitioned and formatted? Works fine in Windows.paul@ohmster dev$ sudo fdisk sdb1Welcome to fdisk (util-linux 2.23.2).Changes will remain in memory only, until you decide to write them.Be careful before using the write command.Command (m for help): pDisk sdb1: 750.1 GB, 96 bytes, sectorsUnits = sectors of 1. 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk label type: dosDisk identifier: 0x69205244This doesn't look like a partition tableProbably you selected the wrong device.Device Boot Start End Blocks Id Systemsdb1p1?
2181195205 72 Unknownsdb1p2? 7290087362 74 Unknownsdb1p3?
168653938 0 65 Novell Netware 386sdb1p4 25817+ 0 EmptyPartition table entries are not in disk orderCommand (m for help): qWhat is with all of these 'blocks'? I thought this was a simple USB drive, single partition, single file system. I found a 1Tb Seagage USB drive w/external power supply, this thing is huge!
In Windows it shows up totally empty NTFS drive. But Linux fdisk has a different point of view:Disk sdb1: 1000.2 GB, 392 bytes, sectorsUnits = sectors of 1. 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk label type: dosDisk identifier: 0x6e697373This doesn't look like a partition tableProbably you selected the wrong device.Device Boot Start End Blocks Id Systemsdb1p1? 918008208 4f QNX4.x 3rd partsdb1p2?
272218546+ 73 Unknownsdb1p3? 272087568 2b Unknownsdb1p4? 27487 61 SpeedStorPartition table entries are not in disk orderCommand (m for help): qWhere are all of these partitions or 'blocks' coming from? Surely I cannot use this drive the way it is. I get a disturbing message in the CentOS 7 disk GUI on this drive: ' Disk is OK but one attribute failed in the past'. What do I need to prep a USB drive for Linux backup use?
Dd (syntax please) or use Partition Wizard on it or another boot to disc tool for partitioning and formatting? Filesystem of choice? Ext3, ext4, or something else?I want to try this route for now with the Passport USB drive and webmin as it appears to be quite simple to setup and run and would meet my immediate needs but for system image. What must I do to this USB drive to make it a usable backup drive in CentOS 7? Unless you fellows are dead set against it and I am sure you will tell me why.I will no doubt Ghost or Acronis True Image the hard drive at first 'just to have' in case something goes horribly wrong.
Then use webmin backup module or setup the tar/cron thing to backup my important stuff like the publichtml directories that contain active websites. The publichtml directory will be exported by samba as a Windows share and mounted in Windows for Dreamweaver access, already is setup for that. Then, as I have time, see for real if this Bacula is a serious option that I can use w/out overkill.The is excellent reading!
Urbackup Tool On Centos 7 1
No one seriously takes offense and everyone gives a valid point of view. On the comical side is the comment 'What can we say we are all sadomasochists' and on the serious side is '. Seriously though unfortunately many of us are having to worry about dozens to hundreds to even thousands of machines, which is part of the reason many of the tools are capable of such overkill.' THAT is why I trust all of you.
You are system administrators with lifetimes of serious experience!We're not worthty, we're not worthy!I will have to experiment with what I know like tar/cron, then move on to something more robust. I promise to come back and mark this thread as 'SOLVED' when I reach a definitive answer and have it tested.Thank you, very much, all of you, for your patience with so much to read. Eagerly waiting your comments, especially what to do with the USB backup drive to prep it for Linux backup.
'.I'll be back!' Your case is pretty complicated and I will suggest you to visit a professional service provider of Data Recovery they will guide you in the most proper way.bristoldatarecovery.co.ukLOL!I am surprised that you did not include a phone number or URL for your 'professional company' to discuss 'data protection solutions and proposals for my mission critical company'. Seriously, it really looks like an ad for service and I thought it was funny, in a cute sort of way, as your title is 'LQ Newbie' like me shows me you are not some Linux Pro company that is scouting for clients on the forums and that is a violation of the board TOS. I know that you are serious and not trying to 'sell me something'. Actually, this is not complicated at all.
Urbackup Tool On Centos 7 1
I have a single Linux PC in my house, all the time running. I use the servers on it, apache for my own personal web page, since it is not 'mission critical', ftp server running for me and my friends, and local mail server for the fun and experience of learning.
I had a 'real online domain sendmail setup with MX records' until Comcast pulled the plug on port 25 and put and end to those days. (That was a MAJOR HEADACHE! Constantly being hit on by spammers trying to hack my mail server.) This is all a fun hobby for me. None of it is super critical but it would be like seeing the wooden boat model you worked on for years to make perfect, fall and get stepped on by accident, crushing it into hundreds of pieces if I lost everything.
I would not lose any money over it, but it would make me want to cry.True, I export the publichtml directory and use it as a mounted drive in Windows 7 and use Dreamweaver to make and edit sites for my clients. In that respect, the /home/paul/publichtml directory is pretty important because it contains all of my clients websites. If I truly lost it, I could pull the entire site back down with CuteFTP or even use Dreamweaver to synch my local location to the online server to get the really important stuff back.
But bristolrecovery, this is 'just a fun hobby' that I have enjoyed since I got my Red Hat 6.0 Box Set for Christmas. I do not remember how long ago that was but it was many decades ago.I have a single hard drive. I want to keep it backed up.
The really important web sites are not often updated. The rsync bash script that jlinkels gave me is more than enough to really suit my needs. It is fast, it got the important stuff backed up on an external USB backup drive, surprisingly fast. All ownerships and permissions were kept in place.
It is incremental and run by cron every morning. This is great!
Net Tools Centos 7
If I had to, I could easily reinstall my distro on again, setup the servers, and my data is all intact. I could use 'cp -a' or rsync again to put that publichtml back. I would love to image the hard drive to avoid putting the entire system back from scratch and I will accomplish it with Acronis (Acronis True Image 2014 did offer to backup the drive safely with a sector by sector approach since the LVM partitions it could not read as files.) and will just do that to get it done. I ask so many questions and experiment with different methods to learn this stuff.
I enjoy it, my friend.Thank you very much for your concern, bristolrecovery. If I were really running a business on this PC, this would be invaluable and irreplaceable data that would cost thousands of dollars in recovery fees if something really bad happened.
That was exactly the 'right answer' for someone like that. But I am a hobbyist and this is one of my fun and challenging hobbies. I show a LOT of respect to the professional sysadmins that take the time to really answer my questions and heap on the praise and thanks for their efforts. Thank you too! I am good, even if this does not work out.
I am trying to take a close to 10 year old, very good PC and make it useful with Linux and have a purpose in mind for it. Chances are, this will not work after all is said and done. I have cooling issues that should not be there and money IS a factor. I just checked the newly reinstalled cooler, seating, and paste and I am not convinced that I have 100 positive contact with the CPU. The markings on the heat sink paste do not indicate so. I might try a different cooler, if I have one in my junk box or can get a good one on the cheap.Thank you for your concern. It is really nice to know that there.are.
people out there that really do care!