Sponsored Content
Full Discussion: Log Management
Top Forums Shell Programming and Scripting Log Management Post 302447725 by Yogesh Sawant on Tuesday 24th of August 2010 05:36:17 AM
Old 08-24-2010
you may move the four log files in a directory, and then create a tar-zipped file as:
Code:
tar -czvf logs.tgz /nas/archive/four_logs/

then copy the tar-zipped file to remote location using scp / ftp / sftp

this could be done in a script, with further enhancements such as adding date and time in the name of the tar-zipped file, check for failures etc.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help with directory management

Hey guys.... I'm new to the unix environment. I'm trying to formulate a code with which I'm clueless. I want to write a code to save file(s) which were copied into a separate directory in my home directory with copied files having the same permissions both before and after they were copied. If... (5 Replies)
Discussion started by: richardspence2
5 Replies

2. Solaris

sar log management

Im trying to manage solaris sar files, where are the log files kept, and do I need to delete them or are they cicular log files? Essentially do I need to manage them... (1 Reply)
Discussion started by: csaunders
1 Replies

3. HP-UX

Software management HP/UX 9.00

Hello, all! I'm newbie in HP/UX and at my job I'm dealing with HP/UX 9.00. Due this OS is an old one, I couldn't find some info, concretely, about software management on it. Can you please help me? (5 Replies)
Discussion started by: Che_G
5 Replies

4. UNIX and Linux Applications

Password management / centralized password management

Hello all, I need help for build server call as Password management / centralized password management server. My situation and example: I have 600 server in my server room running on Linux then I need 1 server only can create login/password and then user can login to all 600 server no... (2 Replies)
Discussion started by: sheikh76
2 Replies

5. IP Networking

IP Management

Hello all, I was wondering which way do you use to manage you IPs? For example in our case we have excel sheets and we export them in html first and import it to a server running apache, so to be visible from all. But i was wondering if there are any way (prefer a way running in web server)... (2 Replies)
Discussion started by: @dagio
2 Replies

6. Red Hat

Audit.log Management

Hi, I'm fairly new to administering RedHat (or any Linux system for that matter), and was wondering if someone could help me work out how to best manage audit logs. In a nutshell, this is what I need to do: - Compress audit.log file(s) once a month and delete the originals - The... (0 Replies)
Discussion started by: Seonix
0 Replies

7. UNIX for Advanced & Expert Users

Password management

You know those lists of "the most common passwords"? I was looking at one of those because I actually want to use a really common password or two on occasion. The thing is I'm skeptical that these are legitimate lists. Most things these days require at least 8 chars with a numeral. But these lists... (1 Reply)
Discussion started by: jutnobs
1 Replies

8. What is on Your Mind?

Individual Risk Management (Personal IT Security) and Browser Cache Management

Original post from this thread on browser caching. To add to this, it is an effective security measure to clear absolutely all cached data (cookies, web content, ....) when closing the browser - i.e. in case of a shutdown. It takes a bit of work to re-login to all the sites but websites will not... (7 Replies)
Discussion started by: bakunin
7 Replies
cimreparchive(8)					      System Manager's Manual						  cimreparchive(8)

NAME
cimreparchive - create an archive copy of the CIM Server repository SYNOPSIS
cimreparchive archive_file cimreparchive --help cimreparchive --version DESCRIPTION
The cimreparchive command creates an archive copy of the CIM Server repository in the specified archive_file. The archive copy is assured to contain a consistent repository state even if it is created while the CIM Server is running. The archive_file is created using the tar(1) command. To restore the repository from the archive_file, stop the cimserver, move the active repository files to a different location, use tar(2) to extract the archived repository files, and restart the cimserver. (Note that the repository location is printed when an archive file is created.) Options cimreparchive recognizes the following options: --help Displays the command help message. --version Displays the CIM Server version number. EXIT STATUS
When an error occurs, an error message is written to the standard error stream and a non-zero exit status value is returned. The following exit status values are defined: 0 Success 1 General error 2 Failed to initiate archive operation 3 Archive operation failed SEE ALSO
cimserver(8), tar(1). cimreparchive(8)
All times are GMT -4. The time now is 04:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy