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?
Also, why not just stop the server and restart when done? -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
