LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cron job to automate backup????
#1
OK.....so I am trying to automate a weekly backup of my home folder. I did try the built in backup option in LL, but simply do not like the tons of zip files created during backup. I really only want mirror copies of the home folder on my NAS.

I installed grsync to setup the backup......and the backup works fine. I then created a backup.sh file to run the grsync backup session, made it executable, and tested it......it works fine as well.

Now I tried to add the script to a crontab job......this is where it all fails. I cannot get the file to run at all. I have tried MANY options.....I have added the path to the script to crontab.....tried adding the path in the script.......tried copying the script to the /bin folder.......tried standing on one foot while patting my head. I simply cannot get the file to launch using crontab. I have spent a number of hours looking up the correct formatting on google to get this right and it still fails to run.

I also tried installing gnome-scheduler to do this in a gui and it fails to run as well. Soooooo, what in the world am I missing to get this function to run automagically????

Any help would be great......thanks.

Reply


Messages In This Thread
Cron job to automate backup???? - by kjacobs - 12-14-2015, 06:09 AM
Re: Cron job to automate backup???? - by kjacobs - 12-14-2015, 04:34 PM
Re: Cron job to automate backup???? - by kjacobs - 12-14-2015, 04:55 PM
Re: Cron job to automate backup???? - by kjacobs - 12-15-2015, 04:51 PM
Re: Cron job to automate backup???? - by kpanic - 06-12-2018, 01:11 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)