I have a home entertainment system that uses TVHeadEnd as the backend software. TVHeadEnd is configured using a web interface from any computer on the local network, which means you can run it on a Linux server with no desktop or GUI. I installed Debian Linux on a system but did not install a desktop like Gnome or KDE, and then installed TVHeadEnd on that and it runs great.
But there is one problem I haven't been able to figure out yet. I would like to be able to automatically back up this system at regular intervals, either to an external USB-connected hard drive or to another machine on the local network, but I am not a Linux expert by any means - I can follow instructions, which is how I managed to install Debian in the first place, but when things don't work I get stuck pretty quickly. I would like to be able to exclude a couple of directories from the backup that contain large media files that do not need to be preserved, though I could live without that if absolutely necessary. And because, in a situation where the system is down I would like to get it up and running again as quickly as possible, I would really like the backup to be to an ISO file that can be copied to a USB drive and used to reinstall the system just as it was at the time of the backup, just as if I was installing a completely new operating system from an ISO file. And since there is no desktop, backup programs that can only be accessed and configured via a GUI are out.
Everything I have found so far that might potentially work with Debian either would require me to stop the system and boot into another program (for example, Redo Backup), or require the use of a desktop (Back in Time), or does not produce an ISO file (haven't really found anything that does that except for an older program called Mondo Rescue, which would be ideal but apparently it doesn't work on newer versions of Debian). I know that some real Linux geeks swear by rsync but I can't find any simple explanations of how to use it, and if there is a way to make it create an ISO file, I haven't found it. I also have a Raspberry Pi and I believe you can back up the entire SD card using the dd command, but this backend system doesn't use an SD card (it has a 1 TB hard drive) so it's not the same thing - I don't think SD cards have boot partitions and such to contend with.
I'm more used to OS X and Time Machine, which makes backups really simple, but that's also a GUI-based program. From watching some of your videos I get the feeling you are very familiar with servers that don't include a desktop, so if you don't want to take a server offline in order to make a full backup, what solution do you use? And is that solution something that someone who is just starting out in Linux could get working? At the most basic level, I am looking for something that will back up the system automatically in such a way that the system can be restored to the state it was in at a previous backup, but that can be restored easily by someone who is probably frustrated that the system isn't working, and is far from being an advanced Linux user.
-Sam
Further reading:
http://relax-and-recover.org
To Ask Questions Email: Question@EliTheComputerGuy.com
Patreon Campaign for a Geekier world: http://www.patreon.com/elithecomputerguy
Signup for our email list at: http://www.elithecomputerguy.com/emai...
( #Microstopped... We will never forget)
For Classes, Class Notes and Blog Posts:
http://www.EliTheComputerGuy.com
Visit the Main YouTube Channel at:
http://www.YouTube.com/EliTheComputerGuy
Follow us on Twitter at:
http://www.Twitter.com/EliComputerGuy
But there is one problem I haven't been able to figure out yet. I would like to be able to automatically back up this system at regular intervals, either to an external USB-connected hard drive or to another machine on the local network, but I am not a Linux expert by any means - I can follow instructions, which is how I managed to install Debian in the first place, but when things don't work I get stuck pretty quickly. I would like to be able to exclude a couple of directories from the backup that contain large media files that do not need to be preserved, though I could live without that if absolutely necessary. And because, in a situation where the system is down I would like to get it up and running again as quickly as possible, I would really like the backup to be to an ISO file that can be copied to a USB drive and used to reinstall the system just as it was at the time of the backup, just as if I was installing a completely new operating system from an ISO file. And since there is no desktop, backup programs that can only be accessed and configured via a GUI are out.
Everything I have found so far that might potentially work with Debian either would require me to stop the system and boot into another program (for example, Redo Backup), or require the use of a desktop (Back in Time), or does not produce an ISO file (haven't really found anything that does that except for an older program called Mondo Rescue, which would be ideal but apparently it doesn't work on newer versions of Debian). I know that some real Linux geeks swear by rsync but I can't find any simple explanations of how to use it, and if there is a way to make it create an ISO file, I haven't found it. I also have a Raspberry Pi and I believe you can back up the entire SD card using the dd command, but this backend system doesn't use an SD card (it has a 1 TB hard drive) so it's not the same thing - I don't think SD cards have boot partitions and such to contend with.
I'm more used to OS X and Time Machine, which makes backups really simple, but that's also a GUI-based program. From watching some of your videos I get the feeling you are very familiar with servers that don't include a desktop, so if you don't want to take a server offline in order to make a full backup, what solution do you use? And is that solution something that someone who is just starting out in Linux could get working? At the most basic level, I am looking for something that will back up the system automatically in such a way that the system can be restored to the state it was in at a previous backup, but that can be restored easily by someone who is probably frustrated that the system isn't working, and is far from being an advanced Linux user.
-Sam
Further reading:
http://relax-and-recover.org
To Ask Questions Email: Question@EliTheComputerGuy.com
Patreon Campaign for a Geekier world: http://www.patreon.com/elithecomputerguy
Signup for our email list at: http://www.elithecomputerguy.com/emai...
( #Microstopped... We will never forget)
For Classes, Class Notes and Blog Posts:
http://www.EliTheComputerGuy.com
Visit the Main YouTube Channel at:
http://www.YouTube.com/EliTheComputerGuy
Follow us on Twitter at:
http://www.Twitter.com/EliComputerGuy
Question: What Do You Use for a Bare Metal Backup from the Command Line in Linux? computer keyboard | |
51 Likes | 51 Dislikes |
5,966 views views | 140K followers |
Science & Technology | Upload TimePublished on 28 Dec 2014 |
Không có nhận xét nào:
Đăng nhận xét