I'm out of ideas. You can specify a list of filenames to add to the archive from a directory tree -- using find, but I've never tried it.
Note: AFAIK this works only in cpio mode, which already allows you to specify file types to include anyway. Try cpio mode.
This is why I specifically mentioned tar. It has an exclude option that is an exclude file, which lists actual file names to exclude - you populate it with the find command I gave above.
I am taking a backup of area with the following command:-
tar -cf -./* |/usr/contrin/bin/gzip >xxx.tar.gz.
The area contains following files :-
xxxx
yyyy
zzzzz
asdaD
DASdD
WQWEE
I want to backup all the files except yyyy from the following area.
I checked manual page of tar but I... (2 Replies)
Hi,
I want to get the disk usage of a directory. But I want it to ignore a particular directory within it.
Lets say I want disk usage of all files/dirs within dir1 except those that are named .snapshot
Does du have the option of excluding a particular directory. (1 Reply)
If I execute the command "ls -l /export/home/abcde/dev/proj/code/* | awk -F' ' '{print $9}' | cut -d'/' -f6-8" it will list all the files in /export/home/abcde/dev/proj/code/ directory as well as the files in subdirectories also
proj/code/test.sh
proj/code/test1.c
proj/code/unix... (8 Replies)
HI,
I have upgraded nim master and client to TL8,SP6. Now when the mksysb backup ran from master,it is not excluding directories specified in /etc/exclude.rootvg in the client.Instead,mksysb is getting created for all the file systems in the rootvg. This problem only appeared after the TL... (3 Replies)
Dear all experts online,
In my environment of AIX 5300-07, I am currently using "pax" command to backup all filesystems that I need to backup and it will take me around 4 hours time with LTO3 tape drive.
When I need to verify the tape after backup, I am using "pax" command to list all files in... (2 Replies)
Dear all experts,
I would like to know if a pax command backup of AIX files can be restored into Linux environment run in Wintel server?
Currently I have a Full database backup using "pax" command in AIX box(IBM pSeries), the new management decison of the new server is on Wintel server which is... (5 Replies)
I am familiar with using tar and exclude/include files:
tar zcf backup.dirs.tgz --files-from=include.mydirs --exclude-from=exclude.mydirs --no-recursion
but was wondering if I could use find in the same way. I know that you can just specify the directories to exclude but my list is... (2 Replies)
I am new to Shell Scripting and need some help.
The following batch job has been failing for me due to the .nfsxxx files in use. I need to know how to modify the following script to exclude the .nfsxxx files so this batch job will not fail on me. I have done lots of googling and keep coming back... (2 Replies)
Hello AIX experts,
I have a file system called /bossapp
Its size = 77.5 GB
I want to take a File Systems backup for this one using smitty, it is very easy, but the problem is I want to exclude one directory called (ORIGIN).
How?
The steps are very easy to take a File Systems backup,... (2 Replies)
Hi,
I need to exlucde the files which are present in exclude.txt from a directory
exlcude.txt
AUZ.txt
AUZ.chk
NZ.txt
NZ.chk
tried with below code but not working
ls -ltr | grep -v `cat exclude.lst` (9 Replies)
Discussion started by: rohit_shinez
9 Replies
LEARN ABOUT DEBIAN
storebackupcheckbackup
STOREBACKUPCHECKBACKUP(1) User Contributed Perl Documentation STOREBACKUPCHECKBACKUP(1)NAME
storeBackupCheckBackup.pl - checks if a file in the backup is missing or corrupted
SYNOPSIS
storeBackupCheckBackup.pl -c backupDir [-v level] [-p number] [-i]
DESCRIPTION
This program calculates md5 sums from the files in the backup and compares them with md5 sums stored by storeBackup.pl. It so will
recognize, if a file in the backup is missing or currupted. It only checks plain files, not special files or symbolic links.
OPTIONS --print
print configuration parameters and stop
--checkDir, -c
backup or top of backups to check
--backupRoot, -b
root of storeBackup tree, normally not needed
--verbose, -v
generate statistics
--parJobs, -p
number of parallel jobs, default = chosen automatically
-i, <--includeRenamedBackups>
include renamed backups into the check
renamed backups must follow the convention <backupDir>-<something>
COPYRIGHT
Copyright (c) 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 STOREBACKUPCHECKBACKUP(1)