> Thanks for all the responses, it looks like I'll be building a bash script
> alright. I have the bulk of the mails backed up onto the new machine so
> won't need to be doing a big transfer across the network. Any mails since
> the backup will be brought across by modifying the script to only include
> mails from a certain date.
> I'll delve into the manuals for find and cpio to see what I can come up
That's why I suggested rsync. It's very good at only pulling changed
files. And it will deal with the cases where one of your users moves
a mail from one folder to another (which might not change the mod time)
or deletes an old mail, etc.
Many's the time I've migrated data from one place to another
by using rsync to move the bulk of the data during an off-peak
time (like evening or night time) without stopping the services.
Then, take down the service (samba, email, webserver, whatever),
and re-run rsync for a very quick sync and bring up the service(s)
on the new machine. Downtime kept to a minimum and no worries
about handling file deletes, renames, date or permission changes.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!