[Last Call] Learn how to a build a cloud-first strategyRegister Now


Crontab -e options to perform groupwise sync or Dbcopy

Posted on 2011-10-20
Medium Priority
Last Modified: 2013-11-12
We have a Suse Linux 10 SP3 server running OES3 with Groupwise 8 running on it.  We have be able to sync files between it and a remote server using rsync.  Now we would like to completely automate the Groupwise sync.  How can enter options into crontab to down the agents (I know how to start and stop, thats not the issue) so that it is done automatically and the copy the files to another temp directory via rsync which is then copied over the internet to a backup server.  Our main concern is simply automatic stopping of agents and starting.  Also is it better to do a backup with Dbcopy and then use rsync to perform the remote syncing>
Question by:Peterson50
1 Comment
LVL 20

Accepted Solution

carlmd earned 2000 total points
ID: 37001675
Create a script that stops the  agents, then runs rsync, and starts them again. Execute this script from crontab.

If the time to copy the data to the remote server is too long, you could use rsync to make a second local copy (disk to disk, if you have the room), then resume using the data. Then use rsync to copy the "copy" to the remote server. After that, backup the local copy as well.

This will minimize your downtime.

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month18 days, 13 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question