Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stean202020/crontab_backup
Crontab Backup is a simple tool for backing up and restoring crontab entries on Unix-like systems. This project provides a straightforward way to ensure your scheduled tasks are not lost, making it easy to create backups and restore them when needed.
https://github.com/stean202020/crontab_backup
backup bash-script crontab log shell
Last synced: about 2 months ago
JSON representation
Crontab Backup is a simple tool for backing up and restoring crontab entries on Unix-like systems. This project provides a straightforward way to ensure your scheduled tasks are not lost, making it easy to create backups and restore them when needed.
- Host: GitHub
- URL: https://github.com/stean202020/crontab_backup
- Owner: stean202020
- License: gpl-2.0
- Created: 2024-05-08T17:47:14.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T23:51:16.000Z (3 months ago)
- Last Synced: 2024-11-12T06:13:25.381Z (about 2 months ago)
- Topics: backup, bash-script, crontab, log, shell
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crontab Backup
Crontab Backup is a simple tool for backing up and restoring crontab entries on Unix-like systems. This project provides a straightforward way to ensure your scheduled tasks are not lost, making it easy to create backups and restore them when needed.
## Features
- **Backup Crontab Entries:** Easily create backups of your current crontab entries to a specified file.
- **Restore Crontab Entries:** Restore crontab entries from a backup file, ensuring your scheduled tasks are quickly reinstated.
- **User-Friendly Interface:** Simple command-line interface for performing backup and restore operations.
- **Cross-Platform Compatibility:** Works on various Unix-like systems, including Linux and macOS.## Requirements
- Unix-like operating system (Linux, macOS)
- Bash shell
- `crontab` command available## Installation
To use Crontab Backup, you can clone the repository to your local machine:
```bash
git clone https://github.com/OddRefrigerator/crontab_backup.git
cd crontab_backup
```You can also copy the `crontab_backup.sh` script to a directory in your `$PATH` for easier access.
## Usage
### Backup Crontab
To create a backup of your current crontab, run the following command:
```bash
./crontab_backup.sh backup /path/to/backup/file
```Replace `/path/to/backup/file` with the desired path for your backup file.
##