bash-backup | Simple backup script for GNU/Linux servers | Continuous Backup library
kandi X-RAY | bash-backup Summary
kandi X-RAY | bash-backup Summary
Simple backup script for GNU/Linux servers
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of bash-backup
bash-backup Key Features
bash-backup Examples and Code Snippets
Community Discussions
Trending Discussions on bash-backup
QUESTION
Im doing a Bash-Backup Script with 3 Options:
- Do fullbackup
- Do fullbackup at a specific time with cron
First I want to ask for the path like: Path of directory: /home
Then i want the hour for the backup: Hour for the backup (0:00-23:59) : 2:00
Then a simple question like: The backup will execute at 2:00. Do you agree(y/n)
I know how to do a crontab
but I have no idea how to include that in my script so that I choose option 2 and then the script asks me for the directory and time and set then the crontab
.
Any ideas or help would be appreciated!
...ANSWER
Answered 2017-Dec-20 at 11:07You can get the existing crontab with
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install bash-backup
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page