LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-01-2019, 02:06 AM   #1
TokTok
Member
 
Registered: Oct 2019
Posts: 230

Rep: Reputation: Disabled
Logical Volume for System Files ?


I was reading that Linux LVM allows to put different files in seperate volumes, my question-Could a Linux Distro Install place a Back-Up copy of the system files in a seperate volume to repair if dameged or altered ?
Could this run in the background in **Real Time** or at regular interval **User Specified** say every 1-10 seconds,minutes,hours or after Re-Boot to Re-set to original Configuration **Fresh Install** ?
 
Old 10-01-2019, 02:13 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
these are two different things. I mean you can use LVM if you wish (for backup), but it is more or less irrelevant. You can make backups on regular filesystems, pendrives, tapes or LVM in [almost] the same way.
Regarding the backup of your system files: https://www.tecmint.com/linux-system-backup-tools/ (but you can look for other solutions too).
 
1 members found this post helpful.
Old 10-01-2019, 02:18 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Short answer is "Yes". Have a look at snapper for LVM, or timeshift. Others exist, but primarily all rely on snapshots.
 
1 members found this post helpful.
Old 10-01-2019, 02:24 AM   #4
TokTok
Member
 
Registered: Oct 2019
Posts: 230

Original Poster
Rep: Reputation: Disabled
LVM System file backup ?

So i could make a copy of just the system files **Not the Whole Install** on a USB or DVD etc. and use when needed to replace sys files only / Correct ?
This would be the same as with Win XP you just put in the disk choose repair **Sys Files** and they were replaced with a fresh copy leaving everything else intact, can be the same with linux / Correct ?
 
Old 10-01-2019, 02:26 AM   #5
TokTok
Member
 
Registered: Oct 2019
Posts: 230

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Short answer is "Yes". Have a look at snapper for LVM, or timeshift. Others exist, but primarily all rely on snapshots.
Can you provide a link to the above or anything i might find useful ?
 
Old 10-01-2019, 02:32 AM   #6
TokTok
Member
 
Registered: Oct 2019
Posts: 230

Original Poster
Rep: Reputation: Disabled
Copy sys files.

Quote:
Originally Posted by pan64 View Post
these are two different things. I mean you can use LVM if you wish (for backup), but it is more or less irrelevant. You can make backups on regular filesystems, pendrives, tapes or LVM in [almost] the same way.
Regarding the backup of your system files: https://www.tecmint.com/linux-system-backup-tools/ (but you can look for other solutions too).
I just checked out the link and scripts available, seems i should be able to fine something there, but could you recommend something easy to use for a linux newbe and free open source if possible ?
 
Old 10-01-2019, 02:35 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
I would rather suggest you to try more of them and choose the one which is really suitable for you.
You can also look for other tools (like: http://snapper.io/).
 
Old 10-01-2019, 03:17 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
A default install of Linux Mint will use timeshift that can be enabled for roll-back of the system code components. Last I looked it doesn't use LVM snapshots, but the effect is similar. See the install doco.
Probably easiest as it has been structured for new users.
 
Old 10-06-2019, 06:30 PM   #9
TokTok
Member
 
Registered: Oct 2019
Posts: 230

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
A default install of Linux Mint will use timeshift that can be enabled for roll-back of the system code components. Last I looked it doesn't use LVM snapshots, but the effect is similar. See the install doco.
Probably easiest as it has been structured for new users.
Look`s like i`ll give linuz mint a try, i used it before in live mode but did not really like too much, seems better now though.
 
  


Reply



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
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
Extended LVM Volume group and Logical Volume. But space not usable linuxlover.chaitanya Linux - Server 1 11-19-2012 09:37 AM
I have spce in volume group but it can not increase the size of logical volume anis123 Linux - Newbie 14 04-16-2012 06:23 AM
[SOLVED] Redhat volume group,logical volume group dhairysheel Red Hat 3 08-02-2011 05:07 AM
Extending logical volume LogVol01 Insufficient allocatable logical exte swap space umeshsharma Linux - Newbie 4 06-22-2009 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:54 PM.

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
Open Source Consulting | Domain Registration