Is there any System restore point kind of thing available in Linux ?
-
@mobeen said in Is there any System restore point kind of thing available in Linux ?:
@stacksofplates said in Is there any System restore point kind of thing available in Linux ?:
You can do LVM snapshots, backintime, rsnapshot, timeshift, dejadup, rdiff-backup, etc.
I've had some pretty good use with rsnapshot. Anything that doesn't change is hard linked so it looks like it does a full backup each time, but it's only using disk space for changes.
I've used backintime also but that seems to be a little more resource heavy.
I am not looking for backup things. And to be more specific, I am looking for Restore Point for CentOS Operating System, I might have specified in Title.
Right, but a restore point is a form of backup, just one that is not on separate media normally so technically it is not a backup, but it is a form of backup. Just a local one that fails with the original. If you stored your restore point on other media, it would indeed be a backup.
-
@mobeen said in Is there any System restore point kind of thing available in Linux ?:
@scottalanmiller said in Is there any System restore point kind of thing available in Linux ?:
Plates mentions one way. Another is just snapshotting from the hypervisor. System Restore Point pre-dates widespread hypervisor level management of these things. It's a good technology and I am glad that Microsoft keeps it around, but it's no longer the only tool for this in the Windows world, either.
I understand about snapshot option available for VMs, but here I am looking for physical (or within OS).
Well you should fix that rather than working around it. But even on physical, LVM is the tool for the job. Windows got this from Linux, not the other way around
-
@scottalanmiller said in Is there any System restore point kind of thing available in Linux ?:
@mobeen said in Is there any System restore point kind of thing available in Linux ?:
@stacksofplates said in Is there any System restore point kind of thing available in Linux ?:
You can do LVM snapshots, backintime, rsnapshot, timeshift, dejadup, rdiff-backup, etc.
I've had some pretty good use with rsnapshot. Anything that doesn't change is hard linked so it looks like it does a full backup each time, but it's only using disk space for changes.
I've used backintime also but that seems to be a little more resource heavy.
I am not looking for backup things. And to be more specific, I am looking for Restore Point for CentOS Operating System, I might have specified in Title.
Right, but a restore point is a form of backup, just one that is not on separate media normally so technically it is not a backup, but it is a form of backup. Just a local one that fails with the original. If you stored your restore point on other media, it would indeed be a backup.
I understand, it's not actual backup because it's local.
I believe, with LVM snapshots, it seems, it will take snap/backup of system settings and data ? whereas in Windows it will take snapshot of System Settings only and consumes less space, time and even faster restore.
-
@mobeen said in Is there any System restore point kind of thing available in Linux ?:
I believe, with LVM snapshots, it seems, it will take snap/backup of system settings and data ?
That depends. On Windows they do some setup for you under the hood. On Linux you have to do this manually. However, it's standard practice so most people don't need to do it manually.
You simply keep your data on a different logical volume than your system. For example, I commonly have a /data filesystem just for data. You only then snap your other volume(s), not the data volume. Then you can roll back without impacting the data, same as on Windows.
-
@mobeen said in Is there any System restore point kind of thing available in Linux ?:
whereas in Windows it will take snapshot of System Settings only and consumes less space, time and even faster restore.
Generally that is not the case. Space, time and restore time can easily be the same. That more is snapped does not imply that those other things will change.
-
@scottalanmiller said in Is there any System restore point kind of thing available in Linux ?:
@mobeen said in Is there any System restore point kind of thing available in Linux ?:
@scottalanmiller said in Is there any System restore point kind of thing available in Linux ?:
Plates mentions one way. Another is just snapshotting from the hypervisor. System Restore Point pre-dates widespread hypervisor level management of these things. It's a good technology and I am glad that Microsoft keeps it around, but it's no longer the only tool for this in the Windows world, either.
I understand about snapshot option available for VMs, but here I am looking for physical (or within OS).
Well you should fix that rather than working around it. But even on physical, LVM is the tool for the job. Windows got this from Linux, not the other way around
If you are suggesting LVM snapshot for CentOS, I don't know exact prerequisite to able to use LVM snapshot (may partition should be someway ?)
And I have gone through article about how to use LVM Snapshot Take snapshot and restore with LVM which seems to big process than Windows
I was looking for easy or GUI based option, and I think it's available for Ubuntu ?
And the main reason I want this kind of feature is to do experiments or nailing into linux more and restore if something went wrong which may help in production systems also in future.
-
@mobeen said in Is there any System restore point kind of thing available in Linux ?:
If you are suggesting LVM snapshot for CentOS, I don't know exact prerequisite to able to use LVM snapshot (may partition should be someway ?)
Only requirement is that you have LVM, which is considered a best practice and basic deployment step for any Linux, even in a VM where it is mostly redundant, but certainly any physical install would need it.
-
@mobeen said in Is there any System restore point kind of thing available in Linux ?:
I was looking for easy or GUI based option, and I think it's available for Ubuntu ?
Oh, is this a desktop?
-
@mobeen said in Is there any System restore point kind of thing available in Linux ?:
And the main reason I want this kind of feature is to do experiments or nailing into linux more and restore if something went wrong which may help in production systems also in future.
Linux is not Windows. There is a reason that this kind of thing does not exist on Linux, because it really is not needed. It's a big deal on Windows because it is very much needed there. But you are looking at this the wrong way - you see Windows needing a "fix" for other deficiencies and then looking at Linux to see if it has that fix. Instead, you should be looking to see if it has those deficiencies.
Linux does not have the one way patching problem that Windows does. There is no need or real purpose to a system restore on Linux, therefore there isn't a simple mechanism for one.
-
In the end, if something went wrong on Windows that was dramatic, the system restore is not how you recover, a backup and restore is. Same with Linux.
Short of that, Windows rolls you back to the restore point. On CentOS, you do the same with YUM, not a restore point.
-
@scottalanmiller said in Is there any System restore point kind of thing available in Linux ?:
@mobeen said in Is there any System restore point kind of thing available in Linux ?:
I was looking for easy or GUI based option, and I think it's available for Ubuntu ?
Oh, is this a desktop?
It's CentOS server OS but it's on my personal laptop.
-
Gotcha. There might be some graphical utilities for snapshotting. But really this is just not a thing that is needed on Linux. It's a fundamentally different Os than Windows and the idea of system restoration like Windows does would be weird.