LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2024, 03:02 PM   #1
grounddolphin
LQ Newbie
 
Registered: Mar 2023
Posts: 12

Rep: Reputation: 0
tool or command to backup system and files


hi there,

I am relatively new to linux, i am using rocky, centos and ubuntu for me to familiarize and know those system. Since i am doing some testing and running some commands and sometimes im afraid to try some of it that my system will break and wont boot anymore.

Any suggestion which application or any steps i should do to take a system backup or an image or an application to do a file backup regularly or any command to do it which is applicable to rocky/centos and ubuntu just incase my system broke and i can easily restore to its last working state.
 
Old 01-12-2024, 08:30 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,412
Blog Entries: 28

Rep: Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166
There are various GUI tools, but I would recommend rsync. Here's a HOWTO: https://www.howtogeek.com/427480/how...-linux-system/
 
Old 01-12-2024, 10:29 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,163

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
I suspect the OP is looking for a "System Restore Point" type solution to allow the (system) rollback. A quick search turned up this is the rocky fora - the current favourite for this sort of thing if native snapshot is not available.

Pretty much fool-proof on Mint - if the port is good, same should apply to other distros. Doesn't (didn't) do user files by default, but that can be managed as well.
 
Old 01-15-2024, 05:05 PM   #4
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 353
Blog Entries: 3

Rep: Reputation: 7
I recommend rsync too. You may read "man rsync" or "rsync --help" for details but this is what I would use.
Quote:
sudo rsync -vaxHAX --delete --progress (root of system) (copy to)
Note that you may want to add more timestamps but that gets almost all you can get. I know whatever you use you are probably going to lose created at and changed at timestamps. Do that per each file system and you should have as full a backup as you should get. X E.

Last edited by maybeJosiah; 01-17-2024 at 03:53 PM. Reason: root maybe
 
  


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
[SOLVED] How to use the Backup Tool to backup only files that have been modified, remove deleted and added files scottm7 Linux - Newbie 3 04-17-2017 11:07 AM
can i proceed full system backup using storix backup tool with out downtime..... thayyab Linux - Newbie 4 07-11-2016 09:54 AM
Backup tool (or strategy) for system config files joe_2000 Linux - Software 4 01-21-2016 10:15 AM
[SOLVED] Backup, shrink backup and modify MBR of backup jps1x2 Linux - General 1 12-17-2013 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 AM.

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