SaraB Causes OS Problems During Operation
"Mike Powell" <[email protected]> Mon, 3 Oct 2005 20:24:14 +0100
| Newsgroups | gmane.comp.sysutils.backup.sarab |
|---|---|
| Message-ID | <000001c5c850$0a984f60$7f01a8c0@cheetah> |
This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C5C858.6C5CB760 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello: 1. I am running DAR version 2.1.4-2, together with SaraB version 0.2.2, all within SuSE Linux Professional 9.2 2. I am trying to run a very simple backup from one 250Gb capacity SATA disk, to another. The data size being backed up is arounf 80Gb. 3. I have a Crontab entry which starts my backups at 12.00am each night, and I believe I have set up my rotation.schedule file to do a full backup once a week, and then a differential once per day. 4. My problems are: a. When I check the progress of my backup the next day, I find I cannot log into my Samba server any more, and need to perform a soft-reboot of my server. b. When I check my Sarab.log file, that there have been read/write errors from the main hard drives to be backup I suspect a permissions issue at the moment, but as a relative newbie to Linux, I'm open to suggestions. Above all, I want to get DAR and SaraB working together in perfect harmony!! Any help would be gratefully appreciated. Mike Powell. Here are my config files and logs... Rotation Schedule Week Mon Week Tue Mon Wed Tue Thu Wed Fri Thu Sat Fri Sarab.conf File: ################################################################## # SaraB related configuration options # ################################################################## # Directory where SaraB configuration files are located # Default="/etc/sarab/" SARAB_ETC="/etc/sarab/" # Name of the Dar configuration file to be used (must be located under SARAB_ETC) # Default="sarab.dcf" SARAB_DCF="sarab.dcf" # Name of the rotation.schedule to be used (must be located under SARAB_ETC) # Default="rotation.schedule" ROTATION_SCHEDULE="rotation.schedule" # Root directory where backups will be created and stored # Note: Use the rotation.schedule file to specify the names of virtual tapes # Default="/mnt/backup/" DESTINATION="/backup/" # Send email notices when a backup job completes successfully? # Choose "yes" or "no" # Default="no" EMAIL_SUCCESS="yes" # Send email notices when a backup job fails or has problems? # Choose "yes" or "no" # Default="yes" EMAIL_FAILURE="yes" # The email address that will receive notices (see above) EMAIL_ADDRESS="[email protected]" # Should SaraB include the statically-compiled DAR executable file with every archive? # This file can be used to restore the archive on any system. (Size: ~1 MB) # Choose "yes" or "no" # Default="yes" COPY_DAR="yes" # Test each archive for errors immediately after creating it? Uses a 16-bit CRC check. # SaraB will display a notification and exit if any errors are found. If an error is found, # the corrupted backup will be located in the working directory, and the rotation.schedule # file will not be rotated. # Choose "yes" or "no" # Default="yes" TEST_ARCHIVE="yes" # The name and location of the log file that SaraB should use # Default="var/log/sarab.log" LOG_FILE="/var/log/sarab.log" # Verbose output from SaraB. # Note: This is different than setting --verbose in sarab.dcf, which creates verbose output from Dar. # Default="no" SARAB_VERBOSE="no" ################################################################## # DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING # ################################################################## # Remove trailing-slashes from variables SARAB_ETC=$(echo $SARAB_ETC | sed -e 's/\/*$//') DESTINATION=$(echo $DESTINATION | sed -e 's/\/*$//') # Get the date and time with custom formating; used as the basename for the DAR file # For more information on the date command, type "man date" at the command prompt. BASENAME="$(date +'%m-%d-%Y_%H%M')" # The location of the DAR executable file DAR_BINARY="/usr/bin/dar" # The location of the statically-compiled DAR executable file DAR_STATIC="/usr/bin/dar_static" # The temporary directory name that backups will be created in. This will be created underneath $DESTINATION. WORK_DIR=".sarab_temp_workdir" # The temporary location where the archive is created, including the basename of the file DAR_CREATE="$DESTINATION/$WORK_DIR/$BASENAME" # The complete command to run DAR. Does NOT include the reference archive. SaraB will add # that option if needed at run-time, according to the rotation.schedule. DAR_COMMAND="$DAR_BINARY --batch $SARAB_ETC/$SARAB_DCF -c $DAR_CREATE --noconf" # Location and name of temporary log file TEMP_LOG="$SARAB_ETC/sarab_temp.log" Sarab.dcf File: ########################################################################### # sarab.dcf # --------- # This file describes WHAT will be backed up, and HOW it will be backed up. # This file is formated as a Dar configuration file. Read the Dar docs # for more detailed information on the settings. # # NOTE: Do NOT use the options "--create" and "--ref", because SaraB # automatically generates these during run-time. ########################################################################### # --verbose # Use verbose output. Note: This creates a tremendous amount of output, and # the SaraB logfile will become enormous very quickly. # Example: --verbose # --slice <number> # DAR can divide an archive into slices, so that you can burn it to a CD/DVD # (or for other reasons). Use this option to specify the size of a slice, # in bytes. Add the letter k (or K), M, or G, to represent kilobytes, # megabytes, and gigabytes. For example, "-s 20M" means 20 megabytes and it # is the same as using "-s 20971520". # If the --slice option is ommitted, then the backup will be written to a # single slice, whatever the size of the backup may be. # Example: # --slice 650M --slice 5046586572 # --fs-root <path> # Root directory of files to be backed up. # This path points to the directory tree containing all the # files that will be enrolled in the backup. # All other paths used must be relative to this path. # Example: # --fs-root / --fs-root / # [list of paths] # List directories to back up (relative to fs-root). # If none are given, everything under root is backed up. # If directories are listed, only those directories # will be backed up. Be sure to add quotes around tricky paths. # Example: # etc # "mnt/win_d/My Documents/" # root # home [list of paths] data # --prune <path> # You can exclude (prune) directories and files with the --prune option # Directory sub-trees or files named <path> will not be backed up. # --prune may be used multiple times. By default, no sub-tree or # file is excluded from the backup. # The <path> statement may contain wild-cards like * or ? . # NOTE: If the backup destination in sarab.conf is a sub-directory of # fs-root, you MUST --prune the destination directory. # If you don't, Dar will detect an infinite loop and exit. # Example: # --prune home/john # --prune home/philip --prune sys --prune proc --prune dev/pts --prune mnt/backup/ --prune backup # --empty-dir # Use this option to create empty directories for all directories that # are excluded from the backup. This is usefull if you are pruning a # mount point, During a restore, Dar will recreate the missing directories. # Example: # --empty-dir --empty-dir # Compression options (--gzip or --bzip2) # Choose "--gzip" to compress the archive using the gzip algorithm, and # "--bzip2" to use bzip2. If left blank, no compression is performed. # Example: # --bzip2 --bzip2 # --exclude-compression <mask> # Preventing compressed files from being compressed again will increase speed. # Filenames specified by this option will not be compressed. It is only useful # if compression is enabled. This option can be used multiple times. --exclude-compression "*.mp3" --exclude-compression "*.avi" --exclude-compression "*.mpg" --exclude-compression "*.mpeg" --exclude-compression "*.divx" --exclude-compression "*.rm" --exclude-compression "*.wmv" --exclude-compression "*.wma" --exclude-compression "*.asf" --exclude-compression "*.ra" --exclude-compression "*.gif" --exclude-compression "*.jpg" --exclude-compression "*.jpeg" --exclude-compression "*.png" --exclude-compression "*.zip" --exclude-compression "*.dar" --exclude-compression "*.tgz" --exclude-compression "*.gzip" --exclude-compression "*.bzip" --exclude-compression "*.bzip2" --exclude-compression "*.rar" --exclude-compression "*.Z" --exclude-compression "*.vox" --exclude-compression "*.bup" --exclude-compression "*.ifo" # --key <string> # This option will scramble the archive using <string> as the pass-phrase. # A scrambled archive can only be read if the same pass-phrase is given. # This should not be considered a secure solution, that is why we say # "scramble" instead of "encrypt". Still, this option can prevent # unexperienced people from looking at your data. # Example: (But create your own key!) # --key "My_CompleX_key_ADDS_some_Security-Easy_as_123" # Many of the more complex and advanced options of Dar are not listed above. # For experienced users, all valid Dar options may be used in this file, # except what is noted below. # Refer to the Dar documentation for more information ("man dar"). # # NOTE: Do NOT use the options "--create" and "--ref", because SaraB # automatically generates these during run-time. If you mistakenly add # them to this file, Dar generate an error about duplicate arguments. /var/log/Sarab.log File ...error reading inode of /data/home/samba-ntprof/administrator/PrintHood : Permission denied error reading inode of /data/home/samba-ntprof/administrator/Templates : Permission denied error reading inode of /data/home/samba-ntprof/administrator/PUTTY.RND : Permission denied Adding file to archive: /data/home/samba-ntprof/administrator/ErrorLog.txt error reading inode of /data/home/samba-ntprof/administrator/WINDOWS : Permission denied error reading inode of /data/home/samba-ntprof/administrator/NetHood : Permission denied error reading inode of /data/home/samba-ntprof/administrator/My Documents : Permission denied error reading inode of /data/home/samba-ntprof/administrator/NTUSER.DAT.LOG : Permission denied Adding file to archive: /data/home/samba-ntprof/l_waweru error reading inode of /data/home/samba-ntprof/d_aggarwal : Permission denied error reading inode of /data/home/samba-ntprof/s_powell : Permission denied error reading inode of /data/home/samba-ntprof/k_powell : Permission denied error reading directory contents : Cannot read inode for /data/home/administrator : Input/output error . Ignoring file or directory error reading directory contents : Cannot read inode for /data/home/l_waweru : Input/output error . Ignoring file or directory error reading directory contents : Cannot read inode for /data/home/d_aggarwal : Input/output error . Ignoring file or directory error reading directory contents : Cannot read inode for /data/home/s_powell : Input/output error . Ignoring file or directory error reading directory contents : Cannot read inode for /data/home/k_powell : Input/output error . Ignoring file or directory error reading directory contents : Cannot read inode for /data/software : Input/output error . Ignoring file or directory error reading directory contents : Cannot read inode for /data/audio : Input/output error . Ignoring file or directory Adding file to archive: /data/video error reading directory contents : Cannot read inode for /data/accounts : Input/output error . Ignoring file or directory error reading directory contents : Cannot read inode for /data/pinkfish : Input/output error . Ignoring file or directory error reading directory contents : Cannot read inode for /data/images : Input/output error . Ignoring file or directory error reading directory contents : Cannot read inode for /data/shared : Input/output error . Ignoring file or directory Writing archive contents... -------------------------------------------- 16446 inode(s) saved with 0 hard link(s) recorded 0 inode(s) not saved (no file change) 2 inode(s) failed to save (filesystem error) 23 files(s) ignored (excluded by filters) 0 files(s) recorded as deleted from reference backup -------------------------------------------- -------------------------------------------- Total number of file considered: 16471 -------------------------------------------- EA saved for 0 file(s) -------------------------------------------- ERROR: Error when executing the backup with DAR. The attempted command was... /usr/bin/dar --batch /etc/sarab/sarab.dcf -c /backup/.sarab_temp_workdir/09-29-2005_0000 --noconf Crontab Entry: SHELL=/bin/sh PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin MAILTO=root # # check scripts in cron.hourly, cron.daily, cron.weekly, and cron.monthly # -*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1 59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly 14 4 * * * root rm -f /var/spool/cron/lastrun/cron.daily 29 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly 44 4 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly 0 00 * * * root /sarab/sarab.sh ------=_NextPart_000_0001_01C5C858.6C5CB760 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7036.0"> <TITLE>SaraB Causes OS Problems During Operation</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=3D2 FACE=3D"Courier New">Hello:</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Courier New">1. I am running DAR version = 2.1.4-2, together with SaraB version 0.2.2, all within SuSE Linux = Professional 9.2</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New"> </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">2. I am trying to run a very = simple backup from one 250Gb capacity SATA disk, to another. The data = size being backed up is arounf 80Gb.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Courier New"> </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">3. I have a Crontab entry which = starts my backups at 12.00am each night, and I believe I have set up my = rotation.schedule file to do a full backup once a week, and then a = differential once per day.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Courier New"> </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">4. My problems are:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New"> </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">a. When I check the progress of = my backup the next day, I find I cannot log into my Samba server any = more, and need to perform a soft-reboot of my server.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Courier New"> </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">b. When I check my Sarab.log = file, that there have been read/write errors from the main hard drives = to be backup</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New"> </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">I suspect a permissions issue at = the moment, but as a relative newbie to Linux, I'm open to suggestions. = Above all, I want to get DAR and SaraB working together in perfect = harmony!! Any help would be gratefully appreciated.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Courier New">Mike Powell.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New"> </FONT> <BR><FONT SIZE=3D2 FACE=3D"Courier New">Here are my config files and = logs...</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">Rotation Schedule</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">Week</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Mon Week </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Tue Mon</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Wed Tue</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Thu Wed</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Fri Thu</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Sat Fri</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial">Sarab.conf File:</FONT> </P> <P><FONT SIZE=3D2 = FACE=3D"Arial">##########################################################= ########</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># SaraB related configuration = options = &= nbsp; #</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">##########################################################= ########</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Directory where SaraB configuration = files are located</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># = Default=3D"/etc/sarab/"</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">SARAB_ETC=3D"/etc/sarab/"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Name of the Dar configuration file to = be used (must be located under SARAB_ETC)</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># = Default=3D"sarab.dcf"</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">SARAB_DCF=3D"sarab.dcf"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Name of the rotation.schedule to be = used (must be located under SARAB_ETC)</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># = Default=3D"rotation.schedule"</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">ROTATION_SCHEDULE=3D"rotation.schedule"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Root directory where backups will be = created and stored </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Note: Use the rotation.schedule file = to specify the names of virtual tapes</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># = Default=3D"/mnt/backup/"</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">DESTINATION=3D"/backup/"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Send email notices when a backup job = completes successfully?</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Choose "yes" or = "no"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Default=3D"no"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">EMAIL_SUCCESS=3D"yes"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Send email notices when a backup job = fails or has problems?</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Choose "yes" or = "no"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Default=3D"yes"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">EMAIL_FAILURE=3D"yes"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># The email address that will receive = notices (see above)</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">EMAIL_ADDRESS=3D"[email protected]"</F= ONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Should SaraB include the = statically-compiled DAR executable file with every archive?</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># This file can be used to restore the = archive on any system. (Size: ~1 MB)</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Choose "yes" or = "no"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Default=3D"yes"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">COPY_DAR=3D"yes"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Test each archive for errors = immediately after creating it? Uses a 16-bit CRC check.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># SaraB will display a notification = and exit if any errors are found. If an error is found,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># the corrupted backup will be located = in the working directory, and the rotation.schedule</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># file will not be rotated.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Choose "yes" or = "no"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Default=3D"yes"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">TEST_ARCHIVE=3D"yes"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># The name and location of the log file = that SaraB should use</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># = Default=3D"var/log/sarab.log"</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">LOG_FILE=3D"/var/log/sarab.log"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Verbose output from SaraB.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Note: This is different than setting = --verbose in sarab.dcf, which creates verbose output from Dar.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Default=3D"no"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">SARAB_VERBOSE=3D"no"</FONT> </P> <P><FONT SIZE=3D2 = FACE=3D"Arial">##########################################################= ########</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># DO NOT EDIT BELOW THIS LINE UNLESS = YOU KNOW WHAT YOU ARE DOING #</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">##########################################################= ########</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Remove trailing-slashes from = variables</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">SARAB_ETC=3D$(echo $SARAB_ETC | sed -e = 's/\/*$//')</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">DESTINATION=3D$(echo $DESTINATION | = sed -e 's/\/*$//')</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Get the date and time with custom = formating; used as the basename for the DAR file</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># For more information on the date = command, type "man date" at the command prompt.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">BASENAME=3D"$(date = +'%m-%d-%Y_%H%M')"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># The location of the DAR executable = file</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">DAR_BINARY=3D"/usr/bin/dar"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># The location of the = statically-compiled DAR executable file</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">DAR_STATIC=3D"/usr/bin/dar_static"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># The temporary directory name that = backups will be created in. This will be created underneath = $DESTINATION.</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">WORK_DIR=3D".sarab_temp_workdir"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># The temporary location where the = archive is created, including the basename of the file</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">DAR_CREATE=3D"$DESTINATION/$WORK_DIR/$BASENAME"<= /FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># The complete command to run DAR. Does = NOT include the reference archive. SaraB will add</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># that option if needed at run-time, = according to the rotation.schedule.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">DAR_COMMAND=3D"$DAR_BINARY = --batch $SARAB_ETC/$SARAB_DCF -c $DAR_CREATE --noconf"</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># Location and name of temporary log = file</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">TEMP_LOG=3D"$SARAB_ETC/sarab_temp.log"</FONT> </P> <BR> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial">Sarab.dcf File:</FONT> </P> <P><FONT SIZE=3D2 = FACE=3D"Arial">##########################################################= #################</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># sarab.dcf</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># ---------</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># This file describes WHAT will be = backed up, and HOW it will be backed up.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># This file is formated as a Dar = configuration file. Read the Dar docs</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># for more detailed information on the = settings.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">#</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># NOTE: Do NOT use the options = "--create" and "--ref", because SaraB </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># automatically generates these during = run-time.</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">##########################################################= #################</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"># --verbose</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Use verbose output. Note: This = creates a tremendous amount of output, and</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># the SaraB logfile will become = enormous very quickly.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Example:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--verbose</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial"># --slice <number></FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># DAR can divide an archive into = slices, so that you can burn it to a CD/DVD</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># (or for other reasons). Use this = option to specify the size of a slice,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># in bytes. Add the letter k (or K), = M, or G, to represent kilobytes, </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># megabytes, and gigabytes. For = example, "-s 20M" means 20 megabytes and it</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># is the same as using "-s = 20971520".</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># If the --slice option is ommitted, = then the backup will be written to a </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># single slice, whatever the size of = the backup may be.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Example:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># --slice 650M</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--slice 5046586572</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial"># --fs-root <path></FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Root directory of files to be backed = up.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># This path points to the directory = tree containing all the</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># files that will be enrolled in the = backup. </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># All other paths used must be = relative to this path.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Example:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># --fs-root /</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--fs-root /</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial"> </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># [list of paths]</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># List directories to back up = (relative to fs-root).</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># If none are given, everything under = root is backed up.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># If directories are listed, only = those directories</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># will be backed up. Be sure to add = quotes around tricky paths.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Example:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># etc</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># "mnt/win_d/My = Documents/"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># root</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># home</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">[list of paths]</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">data</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial"># --prune <path></FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># You can exclude (prune) directories = and files with the --prune option</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Directory sub-trees or files named = <path> will not be backed up.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># --prune may be used multiple times. = By default, no sub-tree or</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># file is excluded from the = backup.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># The <path> statement may = contain wild-cards like * or ? .</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># NOTE: If the backup destination in = sarab.conf is a sub-directory of</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># = fs-root, you MUST --prune the destination directory.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># = If you don't, Dar will detect an infinite loop and exit.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Example:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># --prune home/john</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># --prune home/philip</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--prune sys</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--prune proc</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--prune dev/pts</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--prune mnt/backup/</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--prune backup</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial"># --empty-dir</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Use this option to create empty = directories for all directories that </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># are excluded from the backup. = This is usefull if you are pruning a </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># mount point, During a restore, = Dar will recreate the missing directories.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Example:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># --empty-dir</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--empty-dir</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial"># Compression options (--gzip or = --bzip2)</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Choose "--gzip" to = compress the archive using the gzip algorithm, and </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># "--bzip2" to use bzip2. If = left blank, no compression is performed.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Example:</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># --bzip2</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--bzip2</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial"># --exclude-compression = <mask></FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Preventing compressed files from = being compressed again will increase speed. </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Filenames specified by this option = will not be compressed. It is only useful</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># if compression is enabled. This = option can be used multiple times.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.mp3" </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.avi" </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.mpg" </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.mpeg"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.divx"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.rm"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.wmv"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.wma"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.asf"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.ra"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.gif"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.jpg" </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.jpeg"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.png"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.zip"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.dar"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.tgz"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.gzip"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.bzip"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.bzip2"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.rar" </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.Z"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.vox"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.bup"</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">--exclude-compression = "*.ifo"</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial"># --key <string></FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># This option will scramble the = archive using <string> as the pass-phrase.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># A scrambled archive can only be read = if the same pass-phrase is given.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># This should not be considered a = secure solution, that is why we say </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># "scramble" instead of = "encrypt". Still, this option can prevent </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># unexperienced people from looking at = your data.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Example: (But create your own = key!)</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># --key = "My_CompleX_key_ADDS_some_Security-Easy_as_123"</FONT> </P> <BR> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial"># Many of the more complex and advanced = options of Dar are not listed above.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># For experienced users, all valid Dar = options may be used in this file,</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># except what is noted below.</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># Refer to the Dar documentation for = more information ("man dar"). </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># NOTE: Do NOT use the options = "--create" and "--ref", because SaraB </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># automatically generates these during = run-time. If you mistakenly add</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># them to this file, Dar generate an = error about duplicate arguments.</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial">/var/log/Sarab.log File</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">...error reading inode of = /data/home/samba-ntprof/administrator/PrintHood : Permission = denied</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading inode of = /data/home/samba-ntprof/administrator/Templates : Permission = denied</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading inode of = /data/home/samba-ntprof/administrator/PUTTY.RND : Permission = denied</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Adding file to archive: = /data/home/samba-ntprof/administrator/ErrorLog.txt</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading inode of = /data/home/samba-ntprof/administrator/WINDOWS : Permission denied</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading inode of = /data/home/samba-ntprof/administrator/NetHood : Permission denied</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading inode of = /data/home/samba-ntprof/administrator/My Documents : Permission = denied</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading inode of = /data/home/samba-ntprof/administrator/NTUSER.DAT.LOG : Permission = denied</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Adding file to archive: = /data/home/samba-ntprof/l_waweru</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading inode of = /data/home/samba-ntprof/d_aggarwal : Permission denied</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading inode of = /data/home/samba-ntprof/s_powell : Permission denied</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading inode of = /data/home/samba-ntprof/k_powell : Permission denied</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/home/administrator : Input/output error . = Ignoring file or directory</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/home/l_waweru : Input/output error . = Ignoring file or directory</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/home/d_aggarwal : Input/output error . = Ignoring file or directory</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/home/s_powell : Input/output error . = Ignoring file or directory</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/home/k_powell : Input/output error . = Ignoring file or directory</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/software : Input/output error . Ignoring = file or directory</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/audio : Input/output error . Ignoring file = or directory</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Adding file to archive: = /data/video</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/accounts : Input/output error . Ignoring = file or directory</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/pinkfish : Input/output error . Ignoring = file or directory</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/images : Input/output error . Ignoring file = or directory</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">error reading directory contents : = Cannot read inode for /data/shared : Input/output error . Ignoring file = or directory</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">Writing archive contents...</FONT> </P> <BR> <P><FONT SIZE=3D2 = FACE=3D"Arial"> --------------------------------------------</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"> 16446 inode(s) saved</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"> with 0 hard link(s) = recorded</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"> 0 inode(s) not saved (no file = change)</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"> 2 inode(s) failed to save = (filesystem error)</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"> 23 files(s) ignored (excluded by = filters)</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"> 0 files(s) recorded as deleted = from reference backup</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial"> --------------------------------------------</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial"> --------------------------------------------</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"> Total number of file considered: = 16471</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial"> --------------------------------------------</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"> EA saved for 0 file(s)</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial"> --------------------------------------------</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">ERROR: Error when executing the backup = with DAR. The attempted command was... </FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">/usr/bin/dar --batch = /etc/sarab/sarab.dcf -c /backup/.sarab_temp_workdir/09-29-2005_0000 = --noconf</FONT> </P> <BR> <P><FONT SIZE=3D2 FACE=3D"Arial">Crontab Entry:</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">SHELL=3D/bin/sh</FONT> <BR><FONT SIZE=3D2 = FACE=3D"Arial">PATH=3D/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin</FO= NT> <BR><FONT SIZE=3D2 FACE=3D"Arial">MAILTO=3Droot</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">#</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"># check scripts in cron.hourly, = cron.daily, cron.weekly, and cron.monthly</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">#</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">-*/15 * * * * root = test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons = >/dev/null 2>&1</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">59 * * * = * root rm -f = /var/spool/cron/lastrun/cron.hourly</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">14 4 * * = * root rm -f = /var/spool/cron/lastrun/cron.daily</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">29 4 * * = 6 root rm -f = /var/spool/cron/lastrun/cron.weekly</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">44 4 1 * = * root rm -f = /var/spool/cron/lastrun/cron.monthly</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial">0 00 * * = * root /sarab/sarab.sh</FONT> </P> </BODY> </HTML> ------=_NextPart_000_0001_01C5C858.6C5CB760-- ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl