Re: [expert] /home/%user backup in multisession CD

2002-10-19 Thread Michael Holt
I haven't used the multisession option myself (under linux), I've done it 
in the past under windows but it's not very efficient.  Everytime you open 
and close a cdr it takes actually quite a bit of room on the disc 

http://www.roxio.com/en/support/cdr/multisession.html

This is a windows burning tool that gives a little explaination of what 
multisession does.

As I said, I don't use it, but I have seen the option under 'gcombust' so 
I believe that just checking the box would do the trick.

http://www.abo.fi/~jmunsin/gcombust/FAQ.shtml

This is another little faq that could help you troubleshoot if you have 
problems - but I wouldn't modify anything until you've actually tried to 
burn a disc and found it didn't work.

There are quite a few gui clients already packaged for mandrake, most of 
them have 'buttons' that cover the options you're looking for.

Mike


On Sat, 19 Oct 2002, Gonzalo Avaria uttered these words of wisdom:

Hi all, i want to make one little question. Here it
is... :)
- I would like to make backups or my user folder on
the home, that is, i want to make a multisession CD
that i could go creating folders with the contents of
my /home/gonzalo like every month or week. How can i
do that?. I have a ASUS 8x4x32 IDE-CD R/RW. 

Well if you need mor info i will send it to you.
thanks for your time
PS: I'm using MDK 9.0


=
Gonzalo Avaria
Alumno de Licenciatura en Fisica
Facultad de Cs. Fisicas y Matematicas
Universidad de Concepcion
CHILE

_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com



-- 
Michael Holt
Banning, CA(o_
[EMAIL PROTECTED](o_  (o_  //\
www.holt-tech.net(/)_ (/)_ V_/_www.mandrake.com 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] /home/%user backup in multisession CD

2002-10-19 Thread Wolfgang Bornath
On Sat, Oct 19, 2002 at 09:19 -0700, Michael Holt wrote:
 I haven't used the multisession option myself (under linux), I've done it 
 in the past under windows but it's not very efficient.  Everytime you open 
 and close a cdr it takes actually quite a bit of room on the disc 
 
 http://www.roxio.com/en/support/cdr/multisession.html
 
 This is a windows burning tool that gives a little explaination of what 
 multisession does.
 
 As I said, I don't use it, but I have seen the option under 'gcombust' so 
 I believe that just checking the box would do the trick.
 
 http://www.abo.fi/~jmunsin/gcombust/FAQ.shtml
 
 This is another little faq that could help you troubleshoot if you have 
 problems - but I wouldn't modify anything until you've actually tried to 
 burn a disc and found it didn't work.
 
 There are quite a few gui clients already packaged for mandrake, most of 
 them have 'buttons' that cover the options you're looking for.

And if you want to do it in a text terminal:

Task: Save /home/gonzalo on a multi-session CD-R

Pre-Task: Determine which device is your CDRW:

Open a text console (xterm) and su to root.

Type: cdrecord --scanbus

The output shows your device in the format 0,0,0. You only need the
second and third number.


# cd /home/gonzalo

1. Make an image of the data:

# mkisofs -R -L -T -o foo.raw /home/gonzalo

where 'foo.raw' is a given name whatever suits you, the date of
the backup like 10192002.raw as example.

2. Burn this image as first track on a new CD-R:

# cdrecord -multi -v speed=2 dev=0,0 ./foo.raw

where 'dev=0,0' is the device you determined earlier.
And you can of course change the speed!

3. Determine Start and End of the track:

# cdrecord -msinfo dev=0,0

which puts out 2 numbers like this:

start,end

4. Make an image for the next track:

# mkisofs -R -L -T -C start,end -M 4,0 -o foo.raw /home/gonzalo

where you need to put in the 'sart,end' numbers you determined in
step 2. And you may change the name 'foo.raw' into something
sensible.

5. Burn next track:

# cdrecord -multi -v speed=2 dev=4,0 ./foo.raw

After that you can go on by repeating steps 3 to 5

Thats what I'm doing all the time (if I'm not too lazy) 

wobo
-- 
If you don't understand or are scared by any of the above
ask your parents or an adult to help you.
  


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] /home/%user backup in multisession CD

2002-10-19 Thread Gabriel Phoenix
On Sat, 2002-10-19 at 11:07, Gonzalo Avaria wrote:
 Hi all, i want to make one little question. Here it
 is... :)
 - I would like to make backups or my user folder on
 the home, that is, i want to make a multisession CD
 that i could go creating folders with the contents of
 my /home/gonzalo like every month or week. How can i
 do that?. I have a ASUS 8x4x32 IDE-CD R/RW. 
 
 Well if you need mor info i will send it to you.
 thanks for your time
 PS: I'm using MDK 9.0



A simpler *backup* (not archiving) solution is do is cycle CDRWs.

On a four-week cycle, you use four CDRWs, one for each week.

I record the date in the Volume label of the CDRW.

When you get to week five you re-use the first week CDRW and start
another cycle. This is repeated every week there after.

So 4 - 1 (burn this one)
   3 - 4 (move this one)
   2 - 3 (move this one)
   1 - 2 (move this one)

I don't label my CDRWs so I can simply by moving them from one numbered
cases to another.

You can semi-automate this procedure with a script - still have to
insert a CDRW thou.

The result is you have four weeks of backups (or more if you like) and
only have to burn one CDRW a week. No need to worry about multisessions
at all.

Gabriel





signature.asc
Description: This is a digitally signed message part


Re: [expert] /home/%user backup in multisession CD

2002-10-19 Thread Michael Holt
I've also found that cd/rw's can be a risk - they do on a occasion, 
corrupt information.  I have proof of that sitting on my desk.  The 
problem is that you don't know ahead of time when that's going to happen, 
so I would make sure to use a more proven back up media on regular 
occasions (maybe tape) if you have something you really don't want to 
lose.

mike



On 19 Oct 2002, Gabriel Phoenix uttered these words of wisdom:

A simpler *backup* (not archiving) solution is do is cycle CDRWs.

On a four-week cycle, you use four CDRWs, one for each week.

I record the date in the Volume label of the CDRW.

When you get to week five you re-use the first week CDRW and start
another cycle. This is repeated every week there after.

So 4 - 1 (burn this one)
   3 - 4 (move this one)
   2 - 3 (move this one)
   1 - 2 (move this one)

I don't label my CDRWs so I can simply by moving them from one numbered
cases to another.

You can semi-automate this procedure with a script - still have to
insert a CDRW thou.

The result is you have four weeks of backups (or more if you like) and
only have to burn one CDRW a week. No need to worry about multisessions
at all.

Gabriel




-- 
Michael Holt
Banning, CA(o_
[EMAIL PROTECTED](o_  (o_  //\
www.holt-tech.net(/)_ (/)_ V_/_www.mandrake.com 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] /home/%user backup in multisession CD

2002-10-19 Thread Gabriel Phoenix
On Sat, 2002-10-19 at 15:06, Michael Holt wrote:
 I've also found that cd/rw's can be a risk - they do on a occasion, 
 corrupt information.  I have proof of that sitting on my desk.  The 
 problem is that you don't know ahead of time when that's going to happen, 
 so I would make sure to use a more proven back up media on regular 
 occasions (maybe tape) if you have something you really don't want to 
 lose.
 
 mike

Opps forgot the verifying stage - very important in backups - always
verify - never assume. I make an image then verify that against the
burn. This checks for when the toc gets written and the information is
not there.

I had burner where the lubrication on the guide failed and before it
crapped out gave me dozens of CDRs with subtle errors (a file or two).
That is when I learned to always verify. Found a program on Windoze
which would do sophisticated checksums tests and I did them against my
burns. Another program, 'CDR Diagnostics' does low level checks. Yes, it
can retrieve information from a CDR that normally cannot be read.

Have not come across anything like that for *nix.

As for durability, I am still surprised at the cheapo CDRW I have been
using for over two (three?) years now and still working. I use better
quality CDRW for my /home directory thou.

As for method depends on the level of redundancy you want and how
paranoid you are, no?

This method is simple and works for me. I keep my /home under 800 Megs
so I can simply burn a copy. This allows me to retrieve a given file by
reading it off the backup CD. Something not that easy to do with tape.
Not to mention it eliminates the additional expense of using tape.

Now of course this is impractical once you get past a few CDs. Nor does
it work for backing up the contents of a 20 Gig drive.

As for archiving? I make two copies, both verified, just in case.

Gabriel



signature.asc
Description: This is a digitally signed message part