-e switch is used to define one executable block of sed. You can simply ignore this in this case; however, it's very useful when you want to process a text multiple times with different regular expression. For an example:
This replaces spaces with new line as well as deletes any empty line in file. You could do this with help of pipe and running sed (without -e switch) two times (takes more time than the above one):
You can use the -p switch to enter encrypted password for the new user. So, if you are simply entering the password with the -p switch, it's not going to work.
I have a file that contains a list of names.
I need a loop that creates user accounts to all the names in the list
where username = names in file
password = username
Another question: how can i validate that a particular var is of 6 characters length
I need an if statement that will... (8 Replies)
Can anybody know that how to automate backup the /home directory using the own shell script especially crontab job.
How to script the code in starting process of the sun sparc server in /etc/init.d/
Thank's a lot. (1 Reply)
I know that how to backup the home directories in sun sparc server.
Firstly, umount the filesystem,
Secondly, fsck the filesystem,
Thirdly, ufsdump the filesystem.
Anybody know how to type the full command line backup the /home directory? (1 Reply)
Hi All,
I am not one of the super users / root for AIX 5.3 system.
There is a filesystem
Say
/DIR1 and its has several subdirs in it say SUBDIR1, SUBDIR2, SUBDIR3.
Can I create a tar file for all files under DIR1 and SUBDIR1, SUBDIR3. Excluding SIBDIR2?
Also how can I preserve... (2 Replies)
Hi all
i am using solaris 10, i am creating user with
useradd -d/home/user -m -s /bin/sh user
user is created with in the following path
/export/home/user (auto mount)
i need the user to be created like this
(/home as default home directory )
useradd -d /home/user -m -s /bin/sh... (2 Replies)
Hi all
i am struggling in creating a restore of env files while doing applications clone.
the first file i created for copying the important configurations file
which is running perfect
now for reverting the changes i mean when i am restoring these files to its original places
i have to do... (7 Replies)
Hi Team,
I want to write a script which will take a backup of my home directory. But will only backup the changes made in files not whole home directory. I want to upload that on server. I don't have any idea. please help me. (3 Replies)
Hi,
I have a script which generate a HTML file from a unix user.
Script spool the data extracted from DB using sqlplus.
Problem is html file which gets generated is automatically assigned/owned with oracle user so my unix user just having read only permission to that HTML file.
So I want... (1 Reply)
Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user.
How to fix this? (1 Reply)
Discussion started by: syncmaster
1 Replies
LEARN ABOUT HPUX
vxconfigbackupd
vxconfigbackupd(1M)vxconfigbackupd(1M)NAME
vxconfigbackupd - disk group configuration backup daemon
SYNOPSIS
vxconfigbackupd [-l]
DESCRIPTION
The vxconfigbackupd daemon automatically backs up information about a disk group's new configuration whenever the configuration is changed.
OPTIONS -l Logs backup daemon activities to the file /etc/vx/cbr/bkdaemonLog.
FILES
/sbin/init.d/vxvm-recover
Startup file for vxconfigbackupd.
/etc/vx/cbr/bk/dgname.dgid/dgid.dginfo
Location of backup file for disk group information.
/etc/vx/cbr/bk/dgname.dgid/dgid.diskinfo
Location of backup file for disk attributes.
/etc/vx/cbr/bk/dgname.dgid/dgid.binconfig
Location of backup file for binary configuration copy.
/etc/vx/cbr/bk/dgname.dgid/dgid.cfgrec
Location of backup file for configuration records in vxprint -m format.
NOTES
The vxconfigbackup command can be used to back up a disk group's configuration manually at any desired time.
The disk group configuration backup and restore utilities do not save any data in the public region. This includes file system or other
application data that is configured within VxVM objects.
When a disk group is destroyed, its configuration backup information (including the backup directory) is also removed. The only exception
to this behavior is when the disk group is in the precommit state of restoration.
The backup directory should be large enough to accommodate copies of all the currently imported disk groups. The minimum recommended size
of the backup directory is P * (N + 1) megabytes, where P is the private region in megabytes (by default, 32MB), and N is the number of
disk groups. The additional P megabytes is required to hold a temporary copy of the disk group configuration when a disk group is imported
or a configuration change is made.
The default backup directory is /etc/vx/cbr/bk. The location of the backup directory can be configured by using the vxconfigbackup -l
backup_directory_path command.
SEE ALSO vxconfigbackup(1M), vxconfigrestore(1M)VxVM 5.0.31.1 24 Mar 2008 vxconfigbackupd(1M)