danaxenjoy.blogg.se

Backup exec 16 schedule and occurrences
Backup exec 16 schedule and occurrences











Note: Crontab Schedulers perform their task at specified schedule given the machine is on power at that time. Here, Crontab Scheduler is used to automatically take backup of specified folder using backup.sh shell script every day at 12 O'Clock in the afternoon. Scheduling Shell Scripts using Crontab SchedulerĬrontab Scheduler is inbuilt tool in Linux that automatically executes defined task at specified schedule.

backup exec 16 schedule and occurrences

Syntax: tar -cvf / fetches all the matching files of find command and serves input to rm command one by one.ĥ. Tar -cvf /backupfolder/backup.tar /home/nishkarshraj/Desktop/Automation-using-Shell-Scripts The backup.sh file is created and it is highlighted in green color meaning it has executable permissions. Provide executable permission to the Shell Script # chmod +x

  • Move the compressed copy to the backup folder.Ĭreates a file named filename.sh.
  • Create a compressed copy of the folder of which backup is to be taken using TAR.
  • Shell Script for backup of defined folderĪ shell script is to be written for following tasks: The Shell prompt changes from $ to # for root user.īy using the ls command to list the contents of the specified folder, it can be seen the backupfolder/ is created at the root directory. Here, the backup folder is created on the Root of the Linux Machine in sudo priviliges which provides security but it can be easily deployed in remote repository. Generally, it is preferred to take backup in remote repositories.
  • Scheduling the scripts using Crontab SchedulerĬreate a folder where backup will be taken.
  • Shell Script to automatically delete backup after certain days.
  • backup exec 16 schedule and occurrences

  • Shell Script to take backup with date filter.
  • Shell Script for backup of multiple folder.
  • Shell Script for backup of a defined folder.
  • Our main objective in this article is to take backup of a specified folder in Linux by compressing it and storing it in a backup directory.įor Compression we use the TAR (Tape Archive) tool.įor Scheduling the backup process, we use Crontab Scheduler. Since data and information is valuable, we must have a secure backup of it for easy recovery in case of data loss. For example, large E-commerce companies like Amazon track our activity on their website and generate advertisements and recommendation according to our previous choices. Every action on the computing devices generates data from which value can be derived.

    backup exec 16 schedule and occurrences

    Reading time: 40 minutes | Coding time: 10 minutes













    Backup exec 16 schedule and occurrences