Hello Guys:
Would like to know how to take an entire system backup.. Here is the entire scenario.. I am working on a system that is AIX RS6000 M80 Server. We have loaded the OS and installed all the patches and then we took an entire system backup. We also verified by restoring the same... (2 Replies)
I want to write a script that tells me if the tape device is ready, if the answer is not yes ($?is not 0) i get an answer that the tape_device is not ready. If the tape is ready i can do a
tar -cvf $tape1 * .
How can i write a script to control if the tapedevice is ready or not?
How can i... (1 Reply)
Friends, while taking backup on /dev/rmt/0cn it is showing device does not exists.
I have checked /dev/rmt 0cn is present there with link file created in /devices/pci@8,700000/scsi@5/st@5,0:cn
I have checked cd /devices/pci@8,700000/scsi@5 but st@5,0:cn is not there. But I found st@3,0:cn.
... (3 Replies)
Hi,
I wrote a simple script to backup of index.php and index.html in my box. So, I wrote a script which take a copy of the index page as 1Mar09: but it does not comes up..
#! /bin/bash
find . -name index.* > domains.txt
for i in `cat domains.txt` ; do cp index* index*.1Mar09 $i; done
But... (6 Replies)
Im working on a shell script that uses three parameters, a string to replace, the string replacing, and a file name.
In this script it makes a back up file before the replacement occurs. However I want to be able to either search the file to see if it has the string and if it doesnt dont create... (5 Replies)
Hi Experts,
When i taking backup of my servers in Tape Library simultaneously the Temp folder is getting full...... these file like OB2DBG*.txt (2 Replies)
Hi Guys,
I'm very new to bash scripting. Please help me on this.
I'm in need of a backup script which does the ff.
1. If a file is larger than 5GB. split it and tar the file.
2. Weekly backup file to amazon s3 using s3rsync
3. If a file is unchanged it doesn't need to copy to amazon s3
... (4 Replies)
Hi ,
I am a newbie!!!
I want to develop a script for deleting files older than x days from multiple paths. Now I could reach upto this piece of code which deletes files older than x days from a particular path. How do I enhance it to have an input from a .txt file or a .dat file? For eg:... (12 Replies)
we want to backup all opened files by vi before editing also with version information. i wrote below alias to backup crontab file content with version info. What i want know is to make this opened files by vi. We want to prevent user mistakes by adding this alias.
alias crontab='DATE=$(date... (4 Replies)
HI,
I want to remove my backup files keeping last 30 days.
Now i am doing it manually.
Does anyone have a script to automate this process?
Thanks in advance (5 Replies)
Discussion started by: ElizabethPJ
5 Replies
LEARN ABOUT DEBIAN
path2listing
PATH2LISTING(1) General Commands Manual PATH2LISTING(1)NAME
path2listing - script facilitating the conversion to managing gconf configuration sources with desktop-profiles
SYNOPSIS
path2listing [options]
DESCRIPTION
This script takes a single gconf path file (the systemwide one, i.e. /etc/gconf/2/path, when not told otherwise) and reads through it in
order to create an ordered list of known configuration sources (it will recurse into included path files when necessary). Using that
ordered list it will then create a desktop-profiles_path2listing.listing file containing metadata for all known configuration sources,
assigning a precedence value to each encountered configuration source so that:
a) the order of sources is the same
b) there is space between the precedence values of the various sources to allow for inclusion of additional profiles in the future.
c) all mandatory sources have a positive precedence value, and all non-mandatory sources have a negative precedence value
In addition to generating the desktop-profiles_path2listing.listing file, this script will also replace the converted path file by one that
assumes that desktop-profiles manages all configuration sources (NOTE: a backup copy of all changed files is made, so you can always go
back to the previous situation).
OPTIONS -d,--distance
distance between the precedence values of each successive pair of configuration sources (defaults to 50), the idea being that you
leave some space to insert future sources.
-f, --file
path file to convert (defaults to /etc/gconf/2/path)
-h, --help
display the help message
-o, --output-file
file to put the generated metadata in (defaults to /etc/desktop-profiles/desktop-profiles_path2listing.listing). If this file exists
a backup copy will be made prior to overwriting it.
--no-replace-file
don't replace the path file we're converted with one assuming desktop-profiles manages activation
FILES
/etc/gconf/2/path - systemwide gconf path file, default path file to convert
/etc/desktop-profiles/desktop-profiles_path2listing.listing - default name for the file containing the generated metadata
AUTHOR
This manual page was written by Bart Cornelis <cobaco@skolelinux.no>.
SEE ALSO desktop-profiles(7)desktop-profiles May 07, 2005 PATH2LISTING(1)