-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support full system backup and bare metal restore #480
Comments
Help is always very welcome! 👍 BIT only works on file level. So to backup grub we'd need an image first (e.g. with All the rest can be done with BIT already. For sure, there is no One-Click restore feature yet. You'd need to create partitions and manually write back grub. There is also bug #58 making troubles when restoring from LiveCD. |
Got it, makes sense. I'm going to try to use BIT for the first time in a couple of days (excited - had mostly used a bunch of rsync and duplicity scripts in the past) and then will report back. Maybe we can come up with some steps involved in putting together some bare metal restore ability. |
That would be great! Here's a list on what would need to be done for full featured bare metal restore (feel free to extend that):
|
Awesome, thanks. I've been busy with other things to start on this - but look forward to taking a swing sometime. Your list of items sounds perfect - that's what I was thinking. Will circle back soon. |
OK, I've been doing some brainstorming and realize that there are many. many potential features that could be included in such a project. So that this does not become a huge single herculean effort (with final value delivery only at the very end), I thought it might be good to break the work up into phases, delivering some user value with each feature. I'm putting together a quick phase document now; will share in the next day or two for you to review. Stay tuned! |
Sounds great! 👍 |
OK, take a look at this. Hopefully this will start to bring whatever ideas we have in both of our heads into alignment (they might be quite different at the moment!) If you try to comment / edit, I'll give you permission based on the email that you use, but will restrict for now so the internet masses don't take over this doc and vandalize it. |
Thanks for your comments. I'm going to get started on some work and will send some code your way when I start to have some things. Will likely ask you again for pointers that are BIT specific. |
I've made some modifications to a local branch that I'm attempting to test. I'm running However, from what I can see, "Take Snapshot" forks a local system process which runs code in the pre-installed version of backintime, rather than running my local code modifications in the current directory. How do you test out local modifications without doing a full install of your source tree into |
Please use I used to test only in several VMs where I mount my dev path via sshfs, create new I also stumbled over this problem (calling There is no documentation at all, sorry. |
Should work now. btw it would be great if you could add unittests in You can run this tests with
|
That helps a lot, thank you! Yes, I will certainly add unit tests.
Turns out this actually doesn't work for me. I had tried it when I first started but couldn't get it to run, which is why I've been using
You certainly don't need to troubleshoot this for me, since I can launch the UI another way, but thought you might have some clever idea about what's going on. |
Oh, sure. My fault, sorry.
|
…_full_system_backup_button Add button to settings panel to modify profile for full system backup #480
@dinoboy197 I'm planing to release |
Go right ahead! I'm cooking up some additional parts when I find time, but don't hold up your relase on their account. I'll just send PRs when they are ready and tested. |
Before you make multiple work have a look at http://sourceforge.net/projects/systemback/ Maybe parts for the SystemBackup can taken for Back in Time if there is a smart way for integrating in Software and Interface. |
In my opinion, this feature would be out-of-scope, and very difficult to implement, given all the different types of bootloading environments and partitioning configurations (BIOS vs. UEFI, MBR vs. GPT, ESPs with boot loaders vs. boot managers. A full-disk-imaging solution is probably much more suited for this than BackInTime. |
Much support for this feature request. It would be very useful and it's really important. I would find it best if there was one backup tool that did everything, basically a best backup tool and one tool instead of things being splintered into one tool each for countless backup purposes and types. Basically, it's also about making things as easy and fail-safe and quick as possible (including selecting which backup tool to install), so you have all your files backed up and the barrier to running full backups is low even for people who don't like to or can't tinker around...you simply have an option to run a full backup and an easy process for restoring it. I also asked about this at the issue linked just above this comment, take a look. I don't think this would be or should be out-of-scope in principle - maybe just as of right now because there are more important issues (but maybe somebody else could create pullrequests nevertheless or this gets worked on in the future). For the difficulty of implementation, it wouldn't have to be perfect, just better than the current BackInTIme as root backups. For example a "full system backup" option that adds excludes of the /proc directory and */node_modules, checks the "Preserve extended attributes (xattr)" setting in the "Expert Options" and keeps only very few (e.g. two) backups by default. Different types could be aggregated here (or at some file that this repo would use) and over time. If some other tools like TimeShift already has such functionality, all the better because then you could use some of the libraries they use and/or parts of their code and configs etc. |
I finally vote to close and see no strong argument to keep this open. It is out of scope not only because of limited resources int he projects team. The limit is Please use the right tool for the right job. |
It would be immensely helpful to include the ability to have Back In Time backup absolutely everything (grub, system files, programs, user files, etc) and enable bare metal restore.
Maybe its something I could help out with?
The text was updated successfully, but these errors were encountered: