Linux Today: Linux News On Internet Time.

Linux Journal: A Linux-Based Automatic Backup System

Nov 23, 2000, 21:07 (2 Talkback[s])
(Other stories by Michael O'Brien)

"A step-by-step procedure for establishing a backup system that will save time and money. ... Assuming you have a networked Linux machine ready, you should be able to use this article to set up your own automatic backup system in a short time."

"All the tools that are needed for the automatic backup system are included with most Linux distributions. The first is Samba, an excellent open-source package that allows UNIX-type systems to communicate with Windows-based systems over a TCP/IP network. The Linux version includes a utility called smbmount. It uses the smb file system kernel support unique to Linux, allowing any directories on Windows computers to be mounted to the Linux file system and manipulated as if they were on the Linux machine's hard disk. This will allow the archiving programs (in their update mode) to check to see if a file on the Windows machine needs to be backed up before it is transferred through the network, thereby reducing the network bandwidth requirements, CPU load and hard disk wear dramatically."

"There are numerous archiving programs available for Linux, including tar, bzip2, and even the simple cp command. However, I chose to use tools from the open-source Info-ZIP project. These tools are included with most Linux distributions are available for various other platforms, are fast and small, and use an established file standard for Windows systems. Furthermore, the compression abilities of the Info-ZIP tools allow one to significantly reduce the size of the file archives on the Linux backup system."

Complete Story

Related Stories: