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: 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: Teo on
On May 7, 1:42 pm, Adam Funk <a24...(a)ducksburg.com> wrote:
> 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.

And much more. Here some examples from a RedHat box:
* /usr/local if you installed something manually from source.
* /var/log
* /var/lib examples:
* /var/lib/imap and /var/spool/imap if you have an imap server
* /var/lib/mailman if you are using mailman
* /var/lib/mysql databases
* /var/www
I would suggest you to backup everything (excluding temporary stuff
like /tmp) or to be very careful.

Matteo

From: Chris Mattern on
On 2008-05-07, Teo <matteo.corti(a)gmail.com> wrote:
> On May 7, 1:42 pm, Adam Funk <a24...(a)ducksburg.com> wrote:
>> 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.
>
> And much more. Here some examples from a RedHat box:
> * /usr/local if you installed something manually from source.
> * /var/log
> * /var/lib examples:
> * /var/lib/imap and /var/spool/imap if you have an imap server
> * /var/lib/mailman if you are using mailman
> * /var/lib/mysql databases
> * /var/www
> I would suggest you to backup everything (excluding temporary stuff
> like /tmp) or to be very careful.
>
I agree. Storage is cheap, back it all up. Greatly simplifies recreating
the system, should you need to.

--
Christopher Mattern

NOTICE
Thank you for noticing this new notice
Your noticing it has been noted
And will be reported to the authorities
From: The Natural Philosopher on
Adam Funk wrote:
> 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.
>
>
Since the OS is usually the smaller part of any working system, I tend
to back up teh whole root an /usr as far as tar will let me (/proc /dev
and /sys excepted) and teh /var and /home ares onto a different DVD.


That gives me two options: data recovery, and system recovery...