[plug] Backups

Marc Wiriadisastra marc-w at smlintl.com.au
Wed Jul 28 10:34:04 WST 2004


Yeah not 100% sure yet how its all going to go because upon further 
reading from people offering advise they say use dump for full 
filesystems and incremetanl full filesystems but use tar for the 
specifics so I don't know either way I'm gonna have to test it out prior 
to full running it.  It might come down to me using tar for specific 
folders but I can't really justify to myself backing up stuff that can 
be updated quite quickly.  Anyway going to have to sit down and have a 
good think.  I also forgot to mention that a few databases, webpage are 
also in use so those are addtional folders that I completely forgot about.


http://pierre.mit.edu/compfac/linux/Securing-Optimizing-Linux-RH-Edition-v1.3/chap29sec305.html

Thats a link I was looking at so I might follow that advise and follow 
pretty much exactly with that except to dvd.
My only concern is whether it works or not as in corrupted data but now 
I know of data verification I'm a lot less worried.

Thanks for the help so far.  In regards to the dvd not 100% sure I think 
I will have to run mkisofs anyway though.  I tested it again and I think 
it was because I was tar from an ntfs to another file system using linux 
tar as a conduit or something like that at the time it was confusing the 
wierd thing I haven't come across it again.

Marc

Craig Ringer wrote:

>On Wed, 2004-07-28 at 09:03, Marc Wiriadisastra wrote:
>
>  
>
>>If I want to use dump the weekly full file system I would use dump  -0 
>>(number 0) for a full filesystem and then for the incremental just make 
>>the daily backups dump -1 so those are incremental.
>>    
>>
>
>No idea, sorry.
>
>[snip]
>
>  
>
>>Also because I'm unsure about size. I wanted to compress it to my 
>>harddrive then use a cron job to transfer to the dvd drive when I'm at work.
>>    
>>
>
>File size issues are something you'll have to deal with no matter what
>backup method you're using (well, unless you're streaming directly to
>tape).
>
>  
>
>>Yes it is dvd +- R/ +- RW so I can use read writable media, which is 
>>what I was planning to do mainly for cost savings.
>>    
>>
>
>I thought DVD-RW was only rewritable after an erase pass, but generally
>behaves much the same as a CD-R or DVD-R - you write an image, and
>that's it. If so, while useful this is not what I was taking about when
>I said 'randomly rewritable'. Randomly rewritable media like hard disks
>can seek to any location and overwrite just that location without
>affecting anything else (they can also usually do this reasonably
>quickly). Basically, you need randomly rewritable media to be able to
>put a normal filesystem on, and I didn't think DVD-RW qualified.
>
>IFAIK DVD+RW /is/ randomly rewritable, but I don't know what the driver
>and filesystem support for that is like under Linux, and it has some
>limitations that would make me reluctant to use it.
>
>  
>
>>I had errors before which I tried to tar.gz a group of files for max 
>>2gig file size limit or something. 
>>    
>>
>
>Odd - that should only be happening with very old distros and kernels.
>Could you have been saving the tar file to a different filesystem (say,
>fat32)?
>
>  
>
>>Is that a logical method to backup stuff or am I like off target or am I 
>>missing something.
>>    
>>
>
>Omitting the specifics about dump, because I don't know enough to say,
>it seems reasonable. You'll probably need to find a way to prevent dump
>from trying to dump the dump file you're creating on the hard drive,
>though. You'll also need to think about how you're going to write the
>dump file to CD - you'll probably want to include it in an ISO9660 or
>UDF image with mkisofs or a similar tool. It might be possible to write
>the dump image onto the DVD without a filesystem, using the DVD much
>like one would tape media. I haven't tested this though, and don't know
>what potential issues might be encountered.
>
>--
>Craig Ringer
>
>_______________________________________________
>PLUG discussion list: plug at plug.linux.org.au
>http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
>Committee e-mail: committee at plug.linux.org.au
>
>  
>



More information about the plug mailing list