Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Exclude socket files from PAX backup


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Exclude socket files from PAX backup

I am working to move my production backups to PAX and have just about everything working. However, when generating a verbose log there is a high number of 'errors' logged regarding socket files:

pax_enh: /var/opt/dce/rpc/local/s-3/135 : Skipped socket file.

Is there a way to tell PAX to not log these skipped files? Or is there a better way to exclude these types of files? I'm trying to make it easier to find a real error when one exists.

Thanks,
Joe
# 3  
Did you try the
Code:
invalid=bypass

setting? PAX has implementation defined settings and restrictions. This should stop logging, since HPUX does not allow socket files.
# 4  
Jim,
Thanks for the response. I'm using the fs_backup script in a cron job for the backup. Would I use the invalid=bypass key in the script or in the command line in the cron?

Thanks!
Joe
# 6  
Jim,
I'm finding the MAN pages to be a bit obtuse on this. I've modified my command line as follows:
/usr/bin/pax -w -a -x pax $verbose_option invalid=bypass -f $device_file_name -o graph=$graph_file_name " 2
>&1 >> $log_file
But now I get the error:
pax: invalid=bypass : No such file or directory
pax: -f : No such file or directory
/dev/rtape/tape2_BEST.old
pax: -o : No such file or directory
pax: graph=/var/sam/my_files_to_backup : No such file or directory
000000000000000000003000000000000006455xustar00rootsys/dev/rtape/tape2_BEST.old00006660000002000000200000000000133012131
5200147323ustar00binbin00000160000014

So I must be using the option in the wrong place or the wrong way. Any ideas?
Thanks,
Joe
# 7  
Okay:
Code:
/usr/bin/pax -w -a -x -o invalid=bypass -o graph=$graph_file_name  -f $device_file_name  2>&1 >> $log_file

you already have a -o section.

Edit: remove a spurious double quote. oops.

Last edited by jim mcnamara; 05-23-2018 at 03:54 PM..
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Exclude files in ls

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

2. AIX

How to exclude directory from (File Systems) backup?

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)
Discussion started by: Mohannad
2 Replies

3. Shell Programming and Scripting

Need to exclude .NFSxxx files in clear old files batch script

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)
Discussion started by: kimberlyg2007
2 Replies

4. Ubuntu

[Solved] Using Find with an exclude/exclude file

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)
Discussion started by: metallica1973
2 Replies

5. AIX

Can a pax backup in AIX be restored into Linux?

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)
Discussion started by: kwliew999
5 Replies

6. AIX

Backup with Pax command. How to verify tape?

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)
Discussion started by: kwliew999
2 Replies

7. AIX

exclude files not working

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)
Discussion started by: to_bsr
3 Replies

8. UNIX for Dummies Questions & Answers

list the files but exclude the files in subdirectories

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)
Discussion started by: shyjuezy
8 Replies

9. UNIX for Advanced & Expert Users

du (exclude files)

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)
Discussion started by: the_learner
1 Replies

10. Shell Programming and Scripting

How to exclude file in tar backup?

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)
Discussion started by: kamlesh_p
2 Replies

Featured Tech Videos