# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]


 Backups using hardlinks and rsync

This is a great trick and a well written article describing it. Kevin Korb put this together for the Greater Orlando Linux User Group.

"Rsync doesn't do incremental backups itself (actually it has recently gained that ability but I still prefer this method). In order to get incremental backups we will use a special feature of the cp command that will copy an entire directory tree by making hard links of each file instead of actually duplicating them. First you count up how many existing backups there are and decide if there are too many. If so delete the oldest until you are happy. Then you use cp -al to duplicate the most recent backup into a new directory with the current time stamp. Here is a demonstration:"
Backups using rsync

 (Submitted by Noel Wed Aug 10, 2005 )

  


Linux kernel advances
Using PHP directly from the command line on Linux
Tiny Core Linux
Using GPG with GMail
Unix turns 40
Upgrading MySQL with Replication
Powerful and flexable Python Multiprocessing
Build a faster and more secure UNIX file system
Five network tricks for Linux on S/390 systems

Our content can be syndicated: Main page Mac Page

Copyright 1999-2005 Noel Davis. Noel also runs web sites about World of Warcraft, sailing, and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author