Re: [Evolution] Backing up.


Thank you for the specifics.

As you say, it's simple from the command line. 
But only if you know how to do it. :)

On Mon, 2004-03-08 at 04:00, D. D. Brierton wrote:
On Mon, 2004-03-08 at 01:08, J. Kelley Jernigan wrote:

I would be doing both.
To an FAT32 drive I share with XP-Pro and burning a to a CD-ROM

Okay, if you are backing up to a FAT32 drive then just follow the
below. (I am assuming your FAT32 drive/partition is mounted somewhere
your system. Just replace "/path/to/your/backup/mountpoint" with the
actual mountpoint of your FAT32 drive/partition.

To back up to a CD-R(W), do this. First, as root, do this:

cdrecord -scanbus

and make a note of the device number (it has the form x,y,z) of the CD
burner you want to use that is reported by the above command. In what
follows, replace x,y,z with the actual number you need (it's likely to
be something like 1,0,0 or 0,0,0). Then do this:

cd ~
evolution --force-shutdown
tar -cjvf evolution.tar.bz2 ~/evolution ~/.gconf/apps/evolution
mkisofs -o evolution.iso -J -R -V "Evolution Backup" evolution.tar.bz2
cdrecord -v dev=x,y,z evolution.iso

When it is all finished you can double check that your CD backup is
by mounting the CD and doing the following:

md5sum evolution.tar.bz2 /mountpoint/of/cd/evolution.tar.bz2

and making sure that the same number is returned for both files.

Once you know that your CD is good you can remove the backup files
your system by doing this:

rm ~/evolution.tar.bz2 ~/evolution.iso

To restore your backup just mount your CD and do this:

cd ~
evolution --force-shutdown
tar -xjvf /mountpoint/of/cd/evolution.tar.bz2

HTH, Darren

On Sun, 2004-03-07 at 19:23, D. D. Brierton wrote:
On Mon, 2004-03-08 at 00:00, J. Kelley Jernigan wrote:
How does one backup Evolution so that it still works after
either a
fresh OS install or an upgrade?

What media are you planning to back up to? Let's assume you have
disk partition or something already mounted on your system. Then
all you
have to do is this:

evolution --force-shutdown
tar -cjvf /path/to/backup/mountpoint/evolution.tar.bz2 ~/evolution

To restore, do this:

evolution --force-shutdown
cd ~
tar -xjvf /path/tp/backup/mountpoint/evolution.tar.bz2

If you are planning on backing up to CD-R(W) then reply and tell
you the
extra steps you need to take.n


You're welcome.

Best, Darren
J. Kelley Jernigan
The Hovercrafters Resource
Registered Linux User # 282143
Mandrake 9.2
"If what you believe does not reflect truth, then what you feel does
not reflect reality."  Dr. Neil Anderson

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]