LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   What is your backup method? (https://www.linuxquestions.org/questions/mandriva-30/what-is-your-backup-method-345348/)

ChillyWillie 07-21-2005 09:45 AM

What is your backup method?
 
I just have a general question to improve my understanding of how other people deal with this problem. How does everyene else backup their Linux machines?

Ideally, I will have a complete and recent copy of everything on my computer in the event that all is lost. This includes the following:
  • hardware configuration
  • all startup scripts
  • all server logs
  • installed software/applications
  • personal docs/files
  • any customized changes in KDE/GNOME

I know that the Mandrake Control Center has a backup utility to tar/gzip your user, system, and other files and export them in one of several ways. How useful is this to perform a full system reinstallation? With this method, if my system is hosed do I need to reinstall Mandrake before restoring these files or can I just move them to their corresponding locations? Here's what I'm backing up currently with this utility:

Code:

- System Files:
                /etc
- User Files:
                root
                chillywillie
- Other Files:
                /apps
                /boot
                /usr/share/wallpapers
                /var/log

Do these directories cover everything that I mentioned above? If not, what am I missing?

What's the difference between incremental and differential backups? Will it matter at restoration time which method I chose?

Doing a search on freshmeat.net, I found a utility called Ghost for Linux (g4i). Has anyone used this? Does it work as well as its Windoze counterpart?

floppywhopper 07-22-2005 02:58 AM

two ways
1. backup to CD-R
2. I run a home network of eight computers so there is a partition set aside for archives on six of them and periodically I will back up each computer to the others so that if I lose one there will be at least one other recent copy ( possibly five )
I dont do this as often as I should though.

I dont back up the system itself just any data I want to keep

floppy

ChillyWillie 07-22-2005 08:08 AM

Just curious, but if all your computers are on the same LAN, why don't you just set up a crontab and automate the process?

KimVette 07-22-2005 06:00 PM

All automated via shell scripts:

* back up web directories to a DAR file
* back up shared directories to a DAR file
* do a live backup of MySQL filesystem (do a DAR file)
* use the MySQL backup utility for (automated) "proper" MySQL backups
* back up any home directories to a DAR file
* move DAR files to another box AND burn them to optical media.

nafan 07-26-2005 03:20 PM

I like to fly by the seat of my trousers so I don't really do backups. I know that's norty....

Someone spank me please :D

I don't keep a lot of essential files on my pc, but if I really want to keep something I'll dump it to a CD every now and then. /home /opt /boot and /var are on separate partitions from /, with (most of) /etc tar'ed and bzipped onto a 32Mb flash card via a dinky littie usb card reader.

When I decide to reinstall (for the practise you understand) anything in /usr/src that I've compilled gets copied onto /home or /opt while all the rest gets zapped into the big bit-bucket in the sky. Then I reinstall from scratch mounting /opt /home and /var and install the self-compiled stuff. Afterwards I copy the necessary config files from the archive of /etc and alls well in the world again.

>>> Waits for the spanking <<< :D


All times are GMT -5. The time now is 03:48 PM.