Home » Infrastructure » Unix » How I can backup crontab
icon6.gif  How I can backup crontab [message #167254] Wed, 12 April 2006 02:26 Go to next message
Sanad
Messages: 2
Registered: April 2006
Location: Yemen
Junior Member

Hello!
I need to backup crontab in Unix , is there way? Please help me.
Re: How I can backup crontab [message #167310 is a reply to message #167254] Wed, 12 April 2006 06:58 Go to previous messageGo to next message
aciolac
Messages: 242
Registered: February 2006
Senior Member
In my AIX 5.1 crontab files of users are in /var/spool/cron/crontabs
Re: How I can backup crontab [message #167378 is a reply to message #167310] Wed, 12 April 2006 14:33 Go to previous messageGo to next message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
for your own crontab:
crontab -l > my_crontab.bak
Re: How I can backup crontab [message #167379 is a reply to message #167254] Wed, 12 April 2006 14:37 Go to previous message
adrianp
Messages: 6
Registered: April 2006
Junior Member
Try this

$ crontab -l > /path/to/your/backup/file

(replace the path with a valid one)

Adrian
Previous Topic: error in loadin oracle 9i on Tru64 unix
Next Topic: O/S Migration
Goto Forum:
  


Current Time: Thu Mar 28 10:40:25 CDT 2024