From: Matthew Lincoln on
I want to backup my Linux system (with rsync).
What is recommended to backup and what not?

Of cause, all the personal stuff should be saved but what about the "normal" system
stuff of the OS?

Which of the files, dirs and settings should be backuped?

And the same question on what NOT to backup? Is there more to exclude than /proc?

Matthew
From: Ignoramus2305 on
Besides personal stuff, I also save /etc.

After I switched to Ubuntu, I try to keep manual changes to /etc
minimal and manage /etc with a "night script".

I also store some system files in /etc that I edit manually, under my
CVS, so I have a copy of them.

That way rebuilding of a system is very easy. I had a laptop die on
me, and rebuilding it was a breeze.

--
Due to extreme spam originating from Google Groups, and their inattention
to spammers, I and many others block all articles originating
from Google Groups. If you want your postings to be seen by
more readers you will need to find a different means of
posting on Usenet.
http://improve-usenet.org/
From: rustom on
On May 7, 4:19 am, Janis Papanagnou <Janis_Papanag...(a)hotmail.com>
wrote:
> Matthew Lincoln wrote:
> > I want to backup my Linux system (with rsync).
> > What is recommended to backup and what not?
>
> I can only give my personal view on that, related to my own system.
>
> > Of cause, all the personal stuff should be saved but what about the "normal" system
> > stuff of the OS?
>
> I don't save system files since I can always restore it from the
> original disc. But I fixed some flaws and changed system files in
> /etc, so I also save those files separately. Generally everything
> that you (the admin) changed in the system should be backuped in
> addition to the users stuff in /home. The former will typically
> also include all stuff in /usr/local and maybe also in /opt.
>
> Janis
>
>
>
> > Which of the files, dirs and settings should be backuped?
>
> > And the same question on what NOT to backup? Is there more to exclude than /proc?
>
> > Matthew

You may want to check out etckeeper http://kitenet.net/~joey/code/etckeeper/
From: Adam Funk on
On 2008-05-06, Matthew Lincoln wrote:

> I want to backup my Linux system (with rsync).
> What is recommended to backup and what not?
>
> Of cause, all the personal stuff should be saved but what about the "normal" system
> stuff of the OS?
>
> Which of the files, dirs and settings should be backuped?

Definitely /etc, or at least the bits of it that you've customized.


--
Is one language more powerful than another? Compare, for example,
English with Yiddish. Sure, it's hard to describe a carburetor in
Yiddish, but try describing a schlemiel in English. (Stoll 1995)
From: Jean-David Beyer on
Matthew Lincoln wrote:
> I want to backup my Linux system (with rsync). What is recommended to
> backup and what not?
>
> Of cause, all the personal stuff should be saved but what about the
> "normal" system stuff of the OS?
>
> Which of the files, dirs and settings should be backuped?
>
> And the same question on what NOT to backup? Is there more to exclude
> than /proc?
>
I use BRU, not rsync, but the same results can be obtained with a
combination of _find_ and _cpio_. I have it do a full backup every night
when I am asleep.

I only exclude _core_ files. I back up the following file systems on my machine:

FILES="/ /boot /home /home/boinc /homeB /opt /usr /usr/local /usr/src /var
/mnt/valinuxl/etc /mnt/valinuxl/home"

You probably will not have all of these.

I happen to back up onto magnetic tape.

I find it easier to back up everything to one place than to have to reload
lots of disks, pick up updates from the Internet, sometimes from places that
no longer exist, etc.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 07:45:01 up 17 min, 3 users, load average: 4.17, 4.10, 2.84