Login/Register

How to: Backup Crontabs on any Linux Distro

created by BasicSysAdmin

Tags: Linux, Ubuntu 16.04, CentOS, CentOS 7, Debian, Debian 6, Debian 7, Ubuntu 14.04, Ubuntu 15.04

Jun 01, 2016

Introduction

This is going to be a quick guide to show you how you can create a backup/export of your crontab file.

Prerequisites


In order to follow this tutorial, you will need the following
  • Access to a Linux Terminal


  • Exporting the Crontab

    You can export the crontab using this command
    crontab -l > CrontabBackup

    You can then back this up however you like!