|
From: Teo on 7 May 2008 08:11 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: Roby on 7 May 2008 08:32 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? > > Matthew I run Debian unstable - and install 100-200 mB of updates every couple of weeks - so I back up everything except /sys, /proc, and /tmp. I also keep a copy of the partition table which is useful if/when I must do a bare-metal restore onto a blank disk. I assume you intend to use rsync to make a mirror copy of certain files and then update that copy periodically to keep it current. rsync is very speedy at this (after the initial copy is made), so including more files in the save set doesn't have a big impact on runtime. Bear in mind that each successive backup will overwrite any "old stuff". That is usually OK ... unless an updated file happens to be corrupted. Have a look at rdiff-backup, which uses the rsync library. It maintains an up-to-date copy of each file and in addition generates reverse-diff files that allow regeneration of earlier versions of your file(s). The ability to retrieve an old version of some file can be very valuable!
From: General Schvantzkopf on 7 May 2008 08:56 On Tue, 06 May 2008 19:10:02 +0000, 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? > > Matthew Restoring the OS is trivial so I don't back it up, I just backup my user data. I do have a custom /etc/hosts file but it exists on all of my boxes so I can easily restore it from one of the other systems.
From: Maurice Batey on 7 May 2008 11:36 On Tue, 06 May 2008 19:10:02 +0000, Matthew Lincoln wrote: > I want to backup my Linux system (with rsync). That's what I use. I rsync the whole /home and / partitions onto partitions on an external USB2 drive. Takes 4 mins for /, and 6 mins for /home (the latter including a 10GB VirtualBox virtual drive). -- /\/\aurice Linux Mandriva 2.6.22.18-desktop-1mdv 2008.0 PP KDE 3.5.7 32-bit (Remove 'removethis.' to reply by email)
From: Chris Mattern on 7 May 2008 12:41 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
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: How to let gcc to use a different 'as' for compiling assembly code? Next: Linux Job openings |