James Knott wrote: > Hylton Conacher (ZR1HPC) wrote: >> I have a 32-bit 10.2 install running as a caching mailserver/workstation. >> >> >From time to time I would like to take backups of the mail in the >> mailserver and therefore need to stop the mailserver from fetching any >> email from my ISP. >> >> I thought that the easiest would be to stop/temporarily disable the >> Ethernet connection the box uses to retrieve email on. I agree that I >> could just stop fetchmail but I am choosing to learn about stopping and >> starting the Ethernet device. >> >> I thought of ipdown and then issuing ipup when the backup is complete. >> The syntax I have managed to decipher from the man page on ip is: >> >> #> ip link set /dev/eth0 down >> >> Complete the backup >> >> #> ip link set /dev/eth0 up >> >> where I assume that /dev/eth0 would be the network device used? The >> mailserver does have an on board NIC as well but I have never used it >> and do not know if it even is identified or works as I inserted a >> Realtek card into the box from day 1. >> >> What else could I use besides having to physically unplug the box from >> the network in downtime? >> >> TIA >> > My cable modem has a push button, that disconnects my local network from > the internet. Does your modem have similar?
Nope, not here. > Also, why not just stop the server and restart when done? See, that's is where my confusion(read fear) comes in ie stop which service? Could the running of the service not be a dependency for another service ie will errors not be added to the messages file if, for example, Postfix finds the Fetchmail service not running, and therefore also restarts it. How can I identify exactly which servers are running? Surely cutting the ethernet cnx would be easiest and is the least trouble as then when Fetchmail tries to collect mail, it is not going to find a cnx to the internet. Yes, it will right a line in the logs but no other services are affected. When the Eithernet cnx is restored, all services operate normally as though there had never been an outage. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
