- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: could not restore file from backup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2010 04:45 AM
тАО01-15-2010 04:45 AM
could not restore file from backup
we are performing a daily backup of our rp5440 server using SAM.
Today I tried to restore a single file, but it was interrupted with the following message.
тАЬThe restore of the file was not possible because when making the backup the variable LANG and LC_COLLATE was not set. Please reset the variable and try it again.тАЭ
The command printenv doesn┬┤t show the variables.
What can I do to get the file restored.
Thank you and best regards
Ruediger
- Tags:
- frecover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2010 05:04 AM
тАО01-15-2010 05:04 AM
Re: could not restore file from backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2010 05:04 AM
тАО01-15-2010 05:04 AM
Re: could not restore file from backup
You could "export LANG=C" and retry running SAM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2010 05:05 AM
тАО01-15-2010 05:05 AM
Re: could not restore file from backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2010 05:13 AM
тАО01-15-2010 05:13 AM
Re: could not restore file from backup
1. Issue the following command to obtain information on all the public locales that are accessible to your System:
# locale -a
2. Choose a value for your system from the output that is displayed and export the:
[LANG ,LC_ALL ,LC_COLLATE ,LC_CTYPE, LC_MESSAGES ,LC_MONETARY ,LC_NUMERIC ,LC_TIME ]environment variables to this value. Here is an example command that sets the values to en_US.iso88591:
LANG=en_US.iso88591
LC_ALL=en_US.iso88591
LC_COLLATE=en_US.iso88591
LC_CTYPE=en_US.iso88591
LC_MESSAGES=en_US.iso88591
LC_MONETARY=en_US.iso88591
LC_NUMERIC=en_US.iso88591
LC_TIME=en_US.iso88591
if it works ;put the above lines in /etc/profile
Good Luck,
Nafez ALNajjar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2010 06:27 AM
тАО01-15-2010 06:27 AM
Re: could not restore file from backup
@Dennis Handly
what does "export LANG=C" mean, I couldn├В┬┤t find the command export
@ Nafez ALNajjar
do I export the variable using ├в setenv LANG= en_US.iso88591├в
Sorry for these questions
Best regards
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2010 06:58 AM
тАО01-15-2010 06:58 AM
Re: could not restore file from backup
# setlocale(LC_COLLATE, "C");
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2010 11:57 AM
тАО01-15-2010 11:57 AM
Re: could not restore file from backup
to export the variable run the command:
#export LANG=en_US.iso88591
Regards,
Nafez ALNajjar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2010 12:05 AM
тАО01-16-2010 12:05 AM
Re: could not restore file from backup
This is a shell command that exports the variable LANG with the value "C", the default locale.
>do I export the variable using "setenv LANG= en_US.iso88591"?
Only if you are using the scummy C shell and then you leave out the "=".
>Jupinder: setlocale(LC_COLLATE, "C");
This is a function call that you would use for C, not a shell command.
- Tags:
- scummy C shell