Howdy
I have this directory structure ...
eep
eepaptest
eepfatest
eepgltest
eep.old
eeppoptest
ehf
ehfaptest
ehfgltest
ehp
ehpgltest
I want to find files in these directories, but I want to exclude eep, ehf & ehp.
Cany anyone help with the correct command ?? (1 Reply)
We need to allow ordinary users to preform NFS mounts on a AIX server without giving them root access to the server. Is there a way to give an ordinary users root access on a tem basis or a script to allow them to preform NFS mounts? (4 Replies)
Hi Forum.
I'm trying to write a script that finds and deletes files that are older than 300 days. The script will read a table that contains the following 3 columns:
1st col: “Y” means sub-directory scan; "N" means no subdirectory scan
2nd col: sub-directory location
3rd col: File prefix... (7 Replies)
Hi,
I was wondering, whether there is a limit regarding the max number of nfs mounts in
Oracle Solaris 10 (newest update).
The data center plans to migrate from a fibre channel based storage environment (hitachi) to a nfs based storage environment (netapp). Regarding the Solaris 10 database... (1 Reply)
I had a Shell script that removes the files that are in a directory older than the specified days.
find /test/files -mtime +10
I would like to add another condition to the find command above that is to exclude any file starting with ‘CGU'
Thanks (1 Reply)
We have 2 servers in cluster. Node1 has an ext3 mount for backups and the other connects using NFS to this node1.
I believe the reason it is configured in this manner is to not duplicate backups since this is a Database server. Not sure this was the reason though. Right now if node1 goes down all... (5 Replies)
I have several Solaris 11.2 zones. when I reboot them I have to go in and do mountall to mount the NFS mounts.
any ideas where to troubleshoot why they are not automounting? (2 Replies)
How can i tweak the below find command to exclude directory/s -> "/tmp/logs"
find . -type f \( ! -name "*.log*" ! -name "*.jar*" \) -printNote: -path option/argument does not work with the version of find that i have.
bash-3.2$ uname -a
SunOS mymac 5.10 Generic_150400-26 sun4v sparc sun4v (7 Replies)
Can you please help tweak the below command to exclude all directories with the name "logs" and "tmp"
find . -type f \( ! -name "*.tar*" ! -name "*.bkp*" \) -exec /usr/xpg4/bin/grep -i "user_1" /dev/null {} + >result.out
bash-3.2$ uname -a
SunOS mymac 5.10 Generic_150400-26 sun4v sparc sun4v... (9 Replies)
Hello all,
I'm working to fix a two-node SysMirror cluster that uses NFS mounts from a NetApp appliance as the data repository. Currently all the NFS mounts/unmounts are called from the application controller scripts, and since file collection isn't currently working, (One fight at at time... (3 Replies)
Discussion started by: ZekesGarage
3 Replies
LEARN ABOUT DEBIAN
storebackupmount
STOREBACKUPMOUNT(1) User Contributed Perl Documentation STOREBACKUPMOUNT(1)NAME
storeBackupMount.pl - runs storeBackup backing up to an nfs mount
SYNOPSIS
storeBackupMount.pl -c configFile [-s server] [-l logFile] [-d]
[-p pathToStoreBackup] [-k killTime] [-m] mountPoints...
DESCRIPTION
This script does the following:
- checks an nfs server with ping
- mounts that server via a list of mount points
- starts storeBackup (with a config file)
- umounts that server
OPTIONS --server, -s
name or ip address of the nfs server
default is localhost
--configFile, -c
configuration file for storeBackup.
if option 'logFile' is set in the configration file,
that log file is read online, if it is different from -l
--logFile, -l
logFile for this process.
default is STDOUT.
you can log into the same logfile as storeBackup
--debug, -d
generate some debug messages
--pathStbu, -p
path to storeBackup.pl
--killTime -k
time until storeBackup.pl will be killed.
default is 365 days.
the time range has to be specified in format 'dhms', e.g.
10d4h means 10 days and 4 hours
--keepExistingMounts, -m
if a mount already exists, do not umount after
running storeBackup
mountPoints
List of mount points needed to perform the backup.
This must be a list of paths which have to be
defined in /etc/fstab.
-
if you add 'ro,' or 'rw,' to the beginning of a mount
point, you can overwrite that option set in /etc/fstab
example:
ro,/filesSystemToRead
will mount /fileSystemToRead read only, even if the
corresponding entry in /etc/fstab mounts it read write
only root is allowed to use this feature!
EXIT STATUS
0 -> everything is ok
1 -> error from storeBackup
2 -> error from storeBackupMount
3 -> error from both programs
COPYRIGHT
Copyright (c) 2004-2008,2012 by Heinz-Josef Claes (see README). Published under the GNU General Public License v3 or any later version
perl v5.14.2 2012-03-03 STOREBACKUPMOUNT(1)