Operating System - HP-UX
1748169 Members
4159 Online
108758 Solutions
New Discussion

Re: Ignite backup not working

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor

Re: Ignite backup not working

>But where to change these directory name?

 

As I said above:

mv "tntabhome/dat " tntabhome/dat

 

>Will it not change the full directory name /tntabhome/dat? I have many other directory inside ...

 

None of the files there will be backed up.  When were they last accessed and modified?

 

>This is a production server

 

You may just want to exclude /tntabhome from your ignite backup because of the unmutual name.

Syedfurquan
Trusted Contributor

Re: Ignite backup not working

Hello Expert,

Got one more server again on which ignite backup is failing since long time. Here also I find one directory in /.java named _!':!bw"t!#4!a!"w!#4!bw"2  . I tried to rename this directory as you suggested above but unable to do so. Is there any pattern to rename these types of directory?

Can you please provide what renaming I should do for this directory?

 

Appreciate your continous support.

 

regards

Regards,
Syed
Dennis Handly
Acclaimed Contributor

Re: Ignite backup not working

>I find one directory in /.java named _!':!bw"t!#4!a!"w!#4!bw"2

 

The above mv should work.

 

>I tried to rename this directory as you suggested above but unable to do so.

 

Did it work before?

 

>Is there any pattern to rename these types of directory?

 

Just standard shell quoting rules:

1) If the string doesn't have any single quotes, quote the whole string by single quotes.

2) If the string has only single quotes, quote the whole string by double quotes.

3) If there are also double quotes or "$" in 2), then prefix each by a backslash.

4) If there are evil backslashes in the string, you need to double them.

5) In the case of 4), if in double quotes, sometimes you need more than one backslash.

6) Files that start with a "#" need to be quoted or you can use: ./#name

 

You can also stutter quotes:

7) Multiple quoted strings:

    " _!'"':!bw"t!#4!a!"w!#4!bw"2'

Syedfurquan
Trusted Contributor

Re: Ignite backup not working

Hello Expert,

 

root@dbnode1 /.java/.userPrefs #ll
total 0
-rw-------   1 root       sys              0 Nov 19  2006 .user.lock.root
-rw-------   1 root       sys              0 Nov 19  2006 .userRootModFile.root
drwxr-xr-x   2 root       sys             96 Jul 13  2011 _!':!bw"t!#4!a!"w!#4!bw"2
root@dbnode1 /.java/.userPrefs #

 

I tried with the following command but can't rename it:

 

mv "_!':!bw"t!#4!a!"w!#4!bw"2" _!S:!bwQt!#4!a!Qw!#4!bwQ2

 

Where I am missing?

 

Regards,

Regards,
Syed
Matti_Kurkela
Honored Contributor

Re: Ignite backup not working

> Where I am missing?

 

You missed step 3) in Dennis's post.

 

Your command contains a total of 5 unescaped double quotes, so the shell is going to assume that you forgot to close  one set of double quotes. The shell has no way of knowing that the double quotes within the first parameter are actually part of the parameter.

 

Try this:

mv "_!':!bw\"t!#4!a!\"w!#4!bw\"2" _!S:!bwQt!#4!a!Qw!#4!bwQ2

 

MK
Dennis Handly
Acclaimed Contributor

Re: Ignite backup not working

>What I am missing?

 

The exact command that I provided with both types of quoting?  ;-)

Syedfurquan
Trusted Contributor

Re: Ignite backup not working

Hello MK,

 

Thanks for correcting me. It works for me now.

 

Thanks to Dennis for his continous support. Appreciate your support Dennis.

 

Regards,

 

 

Regards,
Syed