If you are already paranoid about your backups, you will want to be able to check that the data really made it to the dvd (and wasn't subsequently overwritten.) The old standard way goes something like this...
- Write a backup archive (tar for example) to disk
- Copy the archive to the dvd
- Remount the dvd (so you can read the file that was written)
- Compare the disk copy byte by byte to the dvd copy
A more elaborate scheme that lets you test the stored backups later,
- Write the archive to disk
- Calculate a checksum of the archive with, say, md5sum or sha1sum
- Write the archive and the checksum to dvd
- Remount the dvd
- Calculate the checksum of the cd/dvd copy and compare to the previously calculated checksum
The temporary disk space to hold a copy of the backup may be an issue. It is possible to use "tee" to send one copy of the archive to the cd/dvd writing process and one to the checksum program. (You will need to create a named pipe to be the output of the "tee" process and the input of the checksum.)
If your clients are anything like the ones I've had in the past, you will also want to write the date, the time, the name of the system, and the userid running the backup, plus any other interesting information available. That way you can check that the disks were labeled and stored correctly. (What, the disk labelled "Tuesday, Metropolis" wasn't made on a Tuesday or in Metropolis? Again?)
Finally, if you aren't paranoid about your backups yet, just wait until you start testing them!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.