dbTalk Databases Forums  

failed to loading a dump

sybase.public.ase.backup+recovery sybase.public.ase.backup+recovery


Discuss failed to loading a dump in the sybase.public.ase.backup+recovery forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
alexander
 
Posts: n/a

Default Re: failed to loading a dump - 10-07-2009 , 03:03 PM






Thanks a lot for the answers!

Quote:
Hello,

As Mark said, there may be valid carriage return/line feed
sequences in the dump data so I would be very hesitant
using a utility like "dos2unix" to strip them out.

You can see if there were carriage return line feeds by
using the "od" command.
od -c pubs2.dmp | grep "\\r \\n" | more

Notice the size of my original dump file on Solaris:
% ls -l pubs2.dmp
-rw-r--r-- 1 nstack sybase 3371008 Oct 6 13:58
pubs2.dmp

After I transfer it to my PC in "ascii" mode the size
increases due to the added CR/LF: C:\Temp>dir pubs2.dmp
Volume in drive C is Drive_C
Volume Serial Number is 70AA-7A9D

Directory of C:\Temp

10/06/2009 01:45 PM 3,376,842 pubs2.dmp

Depending on the FTP program you are using and it's
settings, it may or may not add the CR/LF: ftp> help cr
cr toggle carriage return stripping on ascii
gets


Regards,
Neal

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.